Commit Graph

16 Commits

Author SHA1 Message Date
Warchamp7
99d7d134a7 frontend: Clip source names when dock too small 2025-04-28 16:18:07 -04:00
Norihiro Kamae
1643470a85 frontend: Add dedicated translation of remaining time 2025-04-28 13:06:03 -04:00
Warchamp7
f62b13957c frontend: Remove unused item delegate parameters 2025-04-25 14:01:23 -04:00
gxalpha
76e1818866 frontend: Highlight control dock buttons using style class
Checkable buttons are troublesome because QAccessible interprets them as
checkboxes, and doesn't pass the "clicked" signal to them (see
QTBUG-110737). Instead, we only get the "toggled" signal, which also
gets triggered by things other than user input (i.e., the button getting
changed by the program).

Making them uncheckable means that they behave like normal buttons
again. To style them, we can just add a class and address them that way.
Note that uncheckable here means *actually* not checkable - unlike the
cursed NonCheckableButton class previously used that makes a button
that *is* checkable ignore the user input (and only allow check state
changes via code, effectively making it solely a styling tool).
2025-04-24 15:37:50 -04:00
Lain
9b0ac7c01c frontend/widgets: Optimize preview primitive rendering
Certain draw calls were creating/destroying vertex buffers. Every call.
That's kind of not a great thing to do, so instead use the new
gs_draw_quadf() function to optimize rendering and reduce the need for
swapping vertex buffers.

Also uses a shader for DrawStripedLine so it does not have to split it
up into separate draw calls.
2025-04-23 15:23:29 -04:00
Warchamp7
13b3c8d033 frontend: Clean up various strings 2025-04-23 14:46:51 -04:00
Warchamp7
c0c77071b5 frontend: Add new appearance options 2025-04-22 15:04:49 -04:00
Warchamp7
69ecfcd9f6 frontend: Reorganize Preview/Source context menu 2025-04-15 15:00:43 -07:00
Sebastian Beckmann
33cec16f56 frontend/themes: Re-add transparent border
It appears that in conjunction with other changes that happened around
the time the removal of the transparent border got merged, it became
necessary again due to those other changes. Without it, only the
selected and focussed changes have a border, making the content jump
around when selected and focussed.

Reverts part of 5fa4ea44d0.
2025-04-09 16:09:26 -07:00
Warchamp7
c942731aaf frontend: Adjust styling for SourceTree 2025-04-03 14:18:46 -04:00
Warchamp7
cd6bb523ae frontend: Adjust scene collection importer 2025-04-03 13:49:58 -04:00
Warchamp7
3906fece61 frontend: Unify appearance of menus 2025-04-02 15:29:06 -04:00
cg2121
86f7475f14 frontend: Add preview zoom controls 2025-04-01 17:31:09 -04:00
cg2121
5fa4ea44d0 frontend: Make list spacing consistent
This makes all list widget spacing set to 1.
2025-04-01 16:39:53 -04:00
gxalpha
a562b8bf52 frontend: Add Input Monitoring to permissions dialog
The previous commit switched global hotkeys from requiring Accessibility
to just Input Monitoring permissions. This adds the matching changes to
the permissions dialog, also accounting for the fact that Accessibility
includes Input Monitoring.
2025-02-05 14:33:06 -05:00
PatTheMav
5abfc7c565 frontend: Migrate OBS Studio data directory 2025-01-08 17:33:13 +01:00