🔧 Update kwin settings ui

This commit is contained in:
Simon Schneegans
2022-06-10 11:04:03 +02:00
parent 15a622d7b7
commit d7859145c3
2 changed files with 165 additions and 154 deletions
+31 -14
View File
@@ -6,11 +6,11 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>498</width> <width>562</width>
<height>451</height> <height>365</height>
</rect> </rect>
</property> </property>
<layout class="QFormLayout" name="formLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
@@ -24,7 +24,7 @@
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>&amp;Color:</string> <string>Color:</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -44,25 +44,42 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Scale:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>kcfg_Color</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="kcfg_Scale">
<property name="minimum">
<double>0.100000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QSpinBox" name="kcfg_Duration"> <widget class="QSpinBox" name="kcfg_Duration">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="specialValueText">
<string>Default</string>
</property>
<property name="suffix"> <property name="suffix">
<string> milliseconds</string> <string> milliseconds</string>
</property> </property>
<property name="minimum">
<number>100</number>
</property>
<property name="maximum"> <property name="maximum">
<number>9999</number> <number>9999</number>
</property> </property>
<property name="singleStep"> <property name="singleStep">
<number>5</number> <number>100</number>
</property> </property>
</widget> </widget>
</item> </item>
+29 -35
View File
@@ -6,31 +6,24 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>498</width> <width>562</width>
<height>451</height> <height>365</height>
</rect> </rect>
</property> </property>
<layout class="QFormLayout" name="formLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0"> <item row="0" column="1">
<widget class="QLabel" name="label"> <widget class="QSpinBox" name="kcfg_Duration">
<property name="text"> <property name="suffix">
<string>Duration:</string> <string> milliseconds</string>
</property> </property>
<property name="alignment"> <property name="minimum">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> <number>100</number>
</property> </property>
</widget> <property name="maximum">
</item> <number>9999</number>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>&amp;Color:</string>
</property> </property>
<property name="alignment"> <property name="singleStep">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> <number>100</number>
</property>
<property name="buddy">
<cstring>kcfg_Color</cstring>
</property> </property>
</widget> </widget>
</item> </item>
@@ -44,25 +37,26 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="0">
<widget class="QSpinBox" name="kcfg_Duration"> <widget class="QLabel" name="label">
<property name="sizePolicy"> <property name="text">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <string>Duration:</string>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="specialValueText"> <property name="alignment">
<string>Default</string> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property> </property>
<property name="suffix"> </widget>
<string> milliseconds</string> </item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Color:</string>
</property> </property>
<property name="maximum"> <property name="alignment">
<number>9999</number> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property> </property>
<property name="singleStep"> <property name="buddy">
<number>5</number> <cstring>kcfg_Color</cstring>
</property> </property>
</widget> </widget>
</item> </item>