2429 Commits

Author SHA1 Message Date
Warchamp7
2941c48dbe UI: Yami font adjustments
Removes font-family definition for now, and changes
other font sizes to pt units instead of px

Also adds a margin to the SceneTree/SourceTree line
edits to fix qss padding weirdness
2022-07-09 16:04:46 -07:00
gxalpha
2dd1a3fc6f UI: Fix compilation with browser disabled 2022-07-06 19:48:27 +02:00
Matt Gajownik
08cee21158 UI: Apply default stylesheet before applying theme
This significantly improves performance when switching themes.
The original intent was to "clear" customizations applied by the
previously selected theme. This change does not seem to achieve that goal.
2022-07-04 23:28:48 +10:00
Matt Gajownik
570c904977 UI: Don't re-apply theme when saving Settings
When the user changes theme, it is applied immediately. If the user
clicks Cancel, the previous theme is restored. This additional SetTheme
call was unnecessarily causing the existing theme to be re-applied,
resulting in a momentary hang without clear cause.
2022-07-04 23:00:15 +10:00
gxalpha
38ee4dea6e UI: Remove OBSBasic.ui.autosave 2022-07-03 01:55:31 +02:00
Warchamp7
936bd58874 UI: Add new theme Yami 2022-07-02 16:52:39 -07:00
tytan652
f2e6122881 UI: Fix network feature visibility after loading settings 2022-07-02 16:32:44 -07:00
Vainock
e053f9dd26 UI,mac-avcapture: Use consistent variables in locales 2022-07-02 14:02:40 +10:00
Vainock
e612a6bd66 UI: Remove unused undo/redo strings 2022-07-02 14:02:40 +10:00
gxalpha
31eb60f031 UI: Make properties window default to 50/50 split 2022-07-02 13:53:42 +10:00
Matt Gajownik
5fd4339c1d UI: Move HDR units for settings to suffix 2022-06-30 20:57:02 +10:00
gxalpha
cf0275e00d UI: Fix YouTube Chat build failure with Qt 6 2022-06-29 18:32:09 -04:00
gxalpha
3513c78be2 UI: Add ability to send messages to YouTube chat 2022-06-27 14:35:01 -04:00
gxalpha
49dfc113c1 UI: Add SendChatMessage to YouTube API wrappers 2022-06-27 14:35:01 -04:00
gxalpha
5a298106bc UI: Add vertically expanding LineEdit Widget
Meant to behave like a QLineEdit (disallowing newlines and having a
maximum length), but show multiple lines.
2022-06-27 14:35:01 -04:00
tytan652
bf985946a4 libobs,UI,docs: Add info as text property sub-type in the property API 2022-06-26 17:31:59 +10:00
gxalpha
cd900d7091 UI: Try closing remux before initiating shutdown
Makes OBS try to close the remux dialog before Clearing Scene data since
in case a remux might still be going on and the user does want to abort
closing OBS.
2022-06-25 21:44:58 -04:00
Clayton Groeneveld
3cfd30ae2a UI: Add ability to reset whole UI
Users for example disable all of the items in the view menu.
This allows them to easily reset them all.
2022-06-25 21:24:35 -04:00
tytan652
bc80d0ca95 UI: Hide network features if a non-RTMP service is set
Only rtmp_output has those features implemented.
2022-06-25 17:11:29 -07:00
tt2468
81003b2c64 UI: Change default reconnect values
- Base reconnect delay is now 2 seconds
- Max retry count is now 25
2022-06-25 17:06:00 -07:00
gxalpha
7475eff13a UI: Only offer ultrafast-fast x264 presets in Simple Mode 2022-06-25 16:30:27 -07:00
gxalpha
cc5e5cbb94 UI: Move Simple Mode encoder preset out of Advanced 2022-06-25 16:30:27 -07:00
gxalpha
b2895496c7 UI: Move Simple Mode audio bitrate above encoder 2022-06-25 16:30:27 -07:00
Norihiro Kamae
fcf6b24e44 UI: Fix crash if missing module in context bar
If a module is not found in context bar, it crashed when resolving
source type name. This is same change as 41367bb2b but fixes
window-capture and display-capture.
Also removes an unnecessary pair of braces.
2022-06-25 16:09:30 -07:00
tytan652
066f0defcf UI: Fix cut transition not being initialised
78bdd4cb01 removed it accidentally
2022-06-25 12:12:39 +02:00
Matt Gajownik
2bb780468c UI: Fix formatting 2022-06-25 14:46:05 +10:00
Matt Gajownik
76cc739c7f UI: Support pressing space to open MenuButton 2022-06-25 14:39:30 +10:00
Matt Gajownik
0135af9c34 UI: Use existing IsThemeDark() in more places 2022-06-25 14:33:52 +10:00
gxalpha
889ca0fc04 UI: Regroup and Reorder source right-click menus
Visually, the Scale Filtering, Blending Mode & Method, and Deinterlacing
menus are now grouped together, with "Hide in Mixer" being its own group
until a better place for it has been found.
Projector and Screenshot menus have been moved down.

As a related code cleanup, the creation of sourceProjector and
sourceWindow has been moved down and partially inlined.
2022-06-20 19:31:31 -03:00
gxalpha
bb69883bd0 UI: Only show "Interact" menu for interactable sources
Most sources can't be interacted with, so always showing this menu only
takes up space and makes the menu stack bigger.
2022-06-20 19:31:31 -03:00
gxalpha
829e906ac2 UI: Remove "Resize output (source size)" menu 2022-06-20 19:31:31 -03:00
gxalpha
1c7062c3a4 UI: Move transition duration above Add/Remove buttons 2022-06-20 18:29:22 -03:00
gxalpha
78bdd4cb01 Revert "UI: Redesign transitions dock"
This reverts commit d5905039c90959444b93020615a63c82bce9b34a.
2022-06-20 18:29:22 -03:00
gxalpha
6b287dbcc1 Revert "UI: Fix "Add [transition]" not being translated"
This reverts commit 1a1430478479eaf6c93ccb1826da74d69541c4ec.
2022-06-20 18:29:22 -03:00
gxalpha
4feabf227f Revert "UI: Move "Add [transition]" to bottom of combo"
This reverts commit 6460579fb69c6b42db42f47aa6b94972ee0c49dc.
2022-06-20 18:29:22 -03:00
gxalpha
609acca161 Revert "UI: Fix non-default transitions going below add vals"
This reverts commit da8547c11293de41914edc373a66f945ee6215a0.
2022-06-20 18:29:22 -03:00
gxalpha
5fad651b2d Revert "UI: Fix selecting correct transition when deleting"
This reverts commit 3486c0b3633a8ff2b36170d56f37705fe7061349.
2022-06-20 18:29:22 -03:00
gxalpha
6188144cab Partly revert "UI: Fix Qt signal connection warnings"
This partly reverts commit 40f99da8a2be45976f3375555b491d5884a2cc34 so
that conflicts are gone.
2022-06-20 18:29:22 -03:00
gxalpha
0fa7834bfc UI: Use libobs rosetta detection 2022-06-19 01:37:15 +02:00
Clayton Groeneveld
295386781f UI: Cleanup advanced audio window
This converts the advanced audio window to use
a ui form, so it is easier to modify in the future.

This also fixes sizing issues with the control widgets,
as before the audio tracks would be clipped, because the
widgets in the window were too wide.
2022-06-18 23:13:13 +10:00
Clayton Groeneveld
fca727c191 UI: Add eventFilter to media slider
When pressing the up and down arrows or moving the mouse wheel
for the media slider, the slider would move.
2022-06-11 16:28:57 -07:00
Clayton Groeneveld
76660517d2 UI: Make transform dialog spinboxes consistant
The spinboxes in the transform dialog were different sizes.
2022-06-11 16:19:23 -07:00
Clayton Groeneveld
5c5861098b UI: Fix position of reset filters button
This removes the horizontal spacer that pushed the filters
reset button to the right.
2022-06-11 16:16:00 -07:00
OldBaldGeek
1f34b4e2ed UI: handle theme file names with "." characters
Use QFileInfo::completeBaseName() to get name up to .qss for use
as Theme name.
2022-06-11 16:15:11 -07:00
Norihiro Kamae
1c4bc6e735 UI: Fix multithread-unsafe GetCurrentScene
The function `OBSBasic::GetCurrentScene()` is also called from the
graphics thread and access to a QListWidget object, which is not
multithread-safe.
2022-06-06 10:20:00 -07:00
Yuriy Chumak
84e7db5059 UI: Simple Output Mode for NVENC HEVC 2022-06-05 16:02:58 -07:00
gxalpha
efd26b25ea UI: Mark YouTube window showEvent as override 2022-06-01 19:43:03 -04:00
gxalpha
e0472f5b9e UI: Fix unused parameter warnings 2022-06-01 19:43:03 -04:00
tuduweb
34e346a011 UI: Fix crash when pressing tab key in rename 2022-05-31 09:53:14 -04:00
Richard Stanway
34bbb94acd
UI: Use int return type in OBSIgnoreWheelProxyStyle 2022-05-30 22:55:36 +02:00