config: add presetWidths
This commit is contained in:
@@ -322,13 +322,31 @@
|
|||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item row="8" column="0">
|
<item row="8" column="0">
|
||||||
|
<widget class="QLabel" name="label_presetWidths">
|
||||||
|
<property name="text">
|
||||||
|
<string>Preset widths:</string>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Widths used for cycling through widths</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="8" column="1">
|
||||||
|
<widget class="QLineEdit" name="kcfg_presetWidths">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Comma-separated list of widths. Supported units: "px" and "%".</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item row="9" column="0">
|
||||||
<widget class="QLabel" name="label_offScreenOpacity">
|
<widget class="QLabel" name="label_offScreenOpacity">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Obscured window opacity:</string>
|
<string>Obscured window opacity:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="8" column="1">
|
<item row="9" column="1">
|
||||||
<widget class="QSpinBox" name="kcfg_offScreenOpacity">
|
<widget class="QSpinBox" name="kcfg_offScreenOpacity">
|
||||||
<property name="suffix">
|
<property name="suffix">
|
||||||
<string> %</string>
|
<string> %</string>
|
||||||
|
|||||||
@@ -85,6 +85,11 @@ const configDef = [
|
|||||||
type: "UInt",
|
type: "UInt",
|
||||||
default: 600,
|
default: 600,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "presetWidths",
|
||||||
|
type: "String",
|
||||||
|
default: "100%, 50%",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "offScreenOpacity",
|
name: "offScreenOpacity",
|
||||||
type: "UInt",
|
type: "UInt",
|
||||||
|
|||||||
Reference in New Issue
Block a user