mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
UI: Remove replayBufferButton and vcamButton theme IDs
Those IDs were used on buttons that were programatically added to the controls dock, now those buttons are always present inside the UI file with their own object name. The use of theme IDs can be replaced by their object names.
This commit is contained in:
parent
511385891c
commit
3840ea0275
|
@ -985,7 +985,7 @@ QDoubleSpinBox::down-arrow {
|
||||||
|
|
||||||
#streamButton,
|
#streamButton,
|
||||||
#recordButton,
|
#recordButton,
|
||||||
QPushButton[themeID="replayBufferButton"],
|
#replayBufferButton,
|
||||||
#broadcastButton {
|
#broadcastButton {
|
||||||
padding: var(--padding_large);
|
padding: var(--padding_large);
|
||||||
}
|
}
|
||||||
|
@ -1001,8 +1001,8 @@ QPushButton[themeID="replayBufferButton"],
|
||||||
/* Primary Control Button Checked Coloring */
|
/* Primary Control Button Checked Coloring */
|
||||||
#streamButton:!hover:!pressed:checked,
|
#streamButton:!hover:!pressed:checked,
|
||||||
#recordButton:!hover:!pressed:checked,
|
#recordButton:!hover:!pressed:checked,
|
||||||
QPushButton[themeID="replayBufferButton"]:!hover:!pressed:checked,
|
#replayBufferButton:!hover:!pressed:checked,
|
||||||
QPushButton[themeID="vcamButton"]:!hover:!pressed:checked,
|
#virtualCamButton:!hover:!pressed:checked,
|
||||||
#modeSwitch:!hover:!pressed:checked,
|
#modeSwitch:!hover:!pressed:checked,
|
||||||
#broadcastButton:!hover:!pressed:checked {
|
#broadcastButton:!hover:!pressed:checked {
|
||||||
background: var(--primary);
|
background: var(--primary);
|
||||||
|
@ -1011,8 +1011,8 @@ QPushButton[themeID="vcamButton"]:!hover:!pressed:checked,
|
||||||
/* Primary Control Button Hover Coloring */
|
/* Primary Control Button Hover Coloring */
|
||||||
#streamButton:hover:!pressed:checked,
|
#streamButton:hover:!pressed:checked,
|
||||||
#recordButton:hover:!pressed:checked,
|
#recordButton:hover:!pressed:checked,
|
||||||
QPushButton[themeID="replayBufferButton"]:!pressed:checked,
|
#replayBufferButton:!pressed:checked,
|
||||||
QPushButton[themeID="vcamButton"]:!pressed:checked,
|
#virtualCamButton:!pressed:checked,
|
||||||
#modeSwitch:hover:!pressed:checked,
|
#modeSwitch:hover:!pressed:checked,
|
||||||
#broadcastButton:hover:!pressed:checked {
|
#broadcastButton:hover:!pressed:checked {
|
||||||
background: var(--primary_light);
|
background: var(--primary_light);
|
||||||
|
|
|
@ -147,8 +147,8 @@ QTabBar QToolButton {
|
||||||
/* Primary Control Button Checked Coloring */
|
/* Primary Control Button Checked Coloring */
|
||||||
#streamButton:!hover:!pressed:checked,
|
#streamButton:!hover:!pressed:checked,
|
||||||
#recordButton:!hover:!pressed:checked,
|
#recordButton:!hover:!pressed:checked,
|
||||||
QPushButton[themeID="replayBufferButton"]:!hover:!pressed:checked,
|
#replayBufferButton:!hover:!pressed:checked,
|
||||||
QPushButton[themeID="vcamButton"]:!hover:!pressed:checked,
|
#virtualCamButton:!hover:!pressed:checked,
|
||||||
#modeSwitch:!hover:!pressed:checked,
|
#modeSwitch:!hover:!pressed:checked,
|
||||||
#broadcastButton:!hover:!pressed:checked {
|
#broadcastButton:!hover:!pressed:checked {
|
||||||
background: var(--button_bg_red);
|
background: var(--button_bg_red);
|
||||||
|
@ -158,8 +158,8 @@ QPushButton[themeID="vcamButton"]:!hover:!pressed:checked,
|
||||||
/* Primary Control Button Hover Coloring */
|
/* Primary Control Button Hover Coloring */
|
||||||
#streamButton:hover:!pressed:checked,
|
#streamButton:hover:!pressed:checked,
|
||||||
#recordButton:hover:!pressed:checked,
|
#recordButton:hover:!pressed:checked,
|
||||||
QPushButton[themeID="replayBufferButton"]:!pressed:checked,
|
#replayBufferButton:hover:!pressed:checked,
|
||||||
QPushButton[themeID="vcamButton"]:!pressed:checked,
|
#virtualCamButton:hover:!pressed:checked,
|
||||||
#modeSwitch:hover:!pressed:checked,
|
#modeSwitch:hover:!pressed:checked,
|
||||||
#broadcastButton:hover:!pressed:checked {
|
#broadcastButton:hover:!pressed:checked {
|
||||||
background: var(--button_bg_red_hover);
|
background: var(--button_bg_red_hover);
|
||||||
|
@ -168,8 +168,8 @@ QPushButton[themeID="vcamButton"]:!pressed:checked,
|
||||||
/* Primary Control Button Checked + Pressed Coloring */
|
/* Primary Control Button Checked + Pressed Coloring */
|
||||||
#streamButton:pressed:checked,
|
#streamButton:pressed:checked,
|
||||||
#recordButton:pressed:checked,
|
#recordButton:pressed:checked,
|
||||||
QPushButton[themeID="replayBufferButton"]:pressed:checked,
|
#replayBufferButton:pressed:checked,
|
||||||
QPushButton[themeID="vcamButton"]:pressed:checked,
|
#virtualCamButton:pressed:checked,
|
||||||
#modeSwitch:pressed:checked,
|
#modeSwitch:pressed:checked,
|
||||||
#broadcastButton:pressed:checked {
|
#broadcastButton:pressed:checked {
|
||||||
background: var(--button_bg_red_down);
|
background: var(--button_bg_red_down);
|
||||||
|
|
|
@ -207,9 +207,6 @@
|
||||||
<property name="checkable">
|
<property name="checkable">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="themeID" stdset="0">
|
|
||||||
<string>replayBufferButton</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -276,9 +273,6 @@
|
||||||
<property name="checkable">
|
<property name="checkable">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="themeID" stdset="0">
|
|
||||||
<string>vcamButton</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|
Loading…
Reference in a new issue