UI: Add pause support
Adds support for pausing recordings. When settings are eligible for recordings, a pause button will appear next to the recording button. If the settings are not eligible, it will warn the user in the output settings that they cannot pause recordings if those settings are used.
This commit is contained in:
@@ -353,6 +353,10 @@ QToolButton:pressed {
|
||||
qproperty-icon: url(./Dark/down.svg);
|
||||
}
|
||||
|
||||
* [themeID="pauseIconSmall"] {
|
||||
qproperty-icon: url(./Dark/media-pause.svg);
|
||||
}
|
||||
|
||||
/* Tab Widget */
|
||||
|
||||
QTabWidget::pane { /* The tab widget frame */
|
||||
|
@@ -253,6 +253,10 @@ QToolButton:pressed {
|
||||
qproperty-icon: url(./Dark/down.svg);
|
||||
}
|
||||
|
||||
* [themeID="pauseIconSmall"] {
|
||||
qproperty-icon: url(./Dark/media-pause.svg);
|
||||
}
|
||||
|
||||
|
||||
/* Tab Widget */
|
||||
|
||||
@@ -577,6 +581,19 @@ OBSHotkeyLabel[hotkeyPairHover=true] {
|
||||
color: red;
|
||||
}
|
||||
|
||||
/* Pause */
|
||||
PauseCheckBox {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
PauseCheckBox::indicator:checked {
|
||||
image: url(:/res/images/media-pause.svg);
|
||||
}
|
||||
|
||||
PauseCheckBox::indicator:unchecked {
|
||||
image: url(:/res/images/media-play.svg);
|
||||
}
|
||||
|
||||
/* Group Collapse Checkbox */
|
||||
|
||||
SourceTreeSubItemCheckBox {
|
||||
|
3
UI/data/themes/Dark/media-pause.svg
Normal file
3
UI/data/themes/Dark/media-pause.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8" fill="#d2d2d2">
|
||||
<path d="M0 0v6h2v-6h-2zm4 0v6h2v-6h-2z" transform="translate(1 1)" />
|
||||
</svg>
|
After Width: | Height: | Size: 154 B |
@@ -507,6 +507,10 @@ QToolButton:pressed {
|
||||
qproperty-icon: url(./Dark/down.svg);
|
||||
}
|
||||
|
||||
* [themeID="pauseIconSmall"] {
|
||||
qproperty-icon: url(./Dark/media-pause.svg);
|
||||
}
|
||||
|
||||
/***********************/
|
||||
/* --- Combo boxes --- */
|
||||
/***********************/
|
||||
|
@@ -39,6 +39,10 @@
|
||||
qproperty-icon: url(:/res/images/down.svg);
|
||||
}
|
||||
|
||||
* [themeID="pauseIconSmall"] {
|
||||
qproperty-icon: url(:/res/images/media-pause.svg);
|
||||
}
|
||||
|
||||
MuteCheckBox {
|
||||
outline: none;
|
||||
}
|
||||
|
Reference in New Issue
Block a user