Commit graph

19 commits

Author SHA1 Message Date
derrod dcc07cfe4e clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
tytan652 e6873d3278 UI: Refactor integration and browser docks
Use the QAction provided by QDockWidget with new Qt connection rather
than creating a new one for each dock.

Separate extra browser docks from extra docks, the latter is meant for
plugin/integration docks.
2023-03-17 20:21:08 +11:00
gxalpha 97f76f99e5 UI: Remove separate trash icon themeID
The removeIconSmall is now also a trash icon, so we don't need a
separate (now duplicate) themeID for it anymore.
The icon itself of course needs to stay as it's still needed.
2022-08-20 16:46:02 -07:00
tytan652 2a0e3c0c9b UI: Save custom browser docks with docks data
When saving custom browser docks, docks properties are used rather
than actions properties.
2022-03-22 22:24:23 -07:00
tytan652 b4b1b4c5d3 UI: Remove UUID from ExtraBrowsersModel
This attribute is completely unused.
2022-03-22 22:24:23 -07:00
tytan652 ed8ed0ce3f UI: Fix custom browser docks UUID
When those docks get updated, an empty string is applied to the UUID
property.
2022-03-22 22:24:23 -07:00
cg2121 7b418d5be3 UI: Use std::unique_ptr for ui variables
Most ui variables were using std::unique_ptr, but not all.
Went through all of the UI code to find where they were manually
deleted.
2022-02-20 00:30:37 -08:00
Matt Gajownik 0b67dc0285 UI: Uniquely identify Custom Browser Docks 2021-12-04 15:08:46 -08:00
Matt Gajownik bc9911f5a6 UI: Pass parent QWidget to Browser Docks 2021-11-30 23:28:20 -08:00
Matt Gajownik ab5d41c445 UI: Add separator before Custom Browser Docks in Dock menu 2021-11-26 18:06:51 +11:00
waffeln 46dcc9c2fb UI: Lower minimum dock size
Closes obsproject/obs-studio#2448
2020-03-04 22:25:39 -08:00
Matt Gajownik c988f6487d UI: Allow custom browser delete button to fill the cell 2020-02-21 22:05:37 +11:00
jp9000 d41536cf02 UI: Fix invalid escape sequences in regex string 2019-11-17 20:29:53 -08:00
Matt Gajownik 59e274f623 UI: Add support for Custom Twitch Dashboard Docks 2019-10-15 21:38:18 +11:00
jp9000 3f28d44d00 UI: Fix extra browser panels always creating on startup
The extra browser panels would always create on startup due to the
visibility change.  This fixes that by ensuring that this call blocks
signals, and ensures that the call only happens on first creation by the
user and not when the user is loading on startup.
2019-09-15 13:18:13 -07:00
jp9000 5d19786e04 UI: Fix browser docks being unchecked when created
In the view -> Docks menu, when a user first creates a custom browser
dock, the menu item associated with them used to hide/show them will be
unchecked in the menu by mistake.  This ensures they're checked when
first created.
2019-09-14 19:37:37 -07:00
jp9000 7dd465cae1 UI: Refactor all browser dock classes in to one
Refactors all cases where a window class was created to show a browser
dock in to one class: BrowserDock.  Removes some unnecessary code
duplication.
2019-09-03 19:12:36 -07:00
Clayton Groeneveld 1e033aadca UI: Fix look of extra panels trash icon 2019-08-13 00:58:04 -05:00
jp9000 0759652cee UI: Add the ability to create custom browser docks
Allows the ability for users to add custom browser widget docks that
they can use for their third party services if they feel the need,
mostly as a convenience tool so they don't have to open extra browsers
alongside the program.
2019-08-08 03:31:31 -07:00