🔧 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
+94 -77
View File
@@ -1,80 +1,97 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>BMWConfigForm</class> <class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm"> <widget class="QWidget" name="BMWConfigForm">
<property name="geometry"> <property name="geometry">
<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">
<string>Duration:</string> <string>Duration:</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>
</property> </property>
</widget> </widget>
</item> </item>
<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>
</property> </property>
<property name="buddy"> <property name="buddy">
<cstring>kcfg_Color</cstring> <cstring>kcfg_Color</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="KColorCombo" name="kcfg_Color"> <widget class="KColorCombo" name="kcfg_Color">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="2" column="0">
<widget class="QSpinBox" name="kcfg_Duration"> <widget class="QLabel" name="label_3">
<property name="sizePolicy"> <property name="text">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <string>Scale:</string>
<horstretch>0</horstretch> </property>
<verstretch>0</verstretch> <property name="alignment">
</sizepolicy> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property> </property>
<property name="specialValueText"> <property name="buddy">
<string>Default</string> <cstring>kcfg_Color</cstring>
</property> </property>
<property name="suffix"> </widget>
<string> milliseconds</string> </item>
</property> <item row="2" column="1">
<property name="maximum"> <widget class="QDoubleSpinBox" name="kcfg_Scale">
<number>9999</number> <property name="minimum">
</property> <double>0.100000000000000</double>
<property name="singleStep"> </property>
<number>5</number> <property name="maximum">
</property> <double>10.000000000000000</double>
</widget> </property>
</item> </widget>
</layout> </item>
</widget> <item row="0" column="1">
<customwidgets> <widget class="QSpinBox" name="kcfg_Duration">
<customwidget> <property name="suffix">
<class>KColorCombo</class> <string> milliseconds</string>
<extends>QComboBox</extends> </property>
<header>kcolorcombo.h</header> <property name="minimum">
</customwidget> <number>100</number>
</customwidgets> </property>
<resources /> <property name="maximum">
<connections /> <number>9999</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KColorCombo</class>
<extends>QComboBox</extends>
<header>kcolorcombo.h</header>
</customwidget>
</customwidgets>
<resources />
<connections />
</ui> </ui>
+71 -77
View File
@@ -1,80 +1,74 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>BMWConfigForm</class> <class>BMWConfigForm</class>
<widget class="QWidget" name="BMWConfigForm"> <widget class="QWidget" name="BMWConfigForm">
<property name="geometry"> <property name="geometry">
<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"> </property>
<widget class="QLabel" name="label_2"> <property name="singleStep">
<property name="text"> <number>100</number>
<string>&amp;Color:</string> </property>
</property> </widget>
<property name="alignment"> </item>
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> <item row="1" column="1">
</property> <widget class="KColorCombo" name="kcfg_Color">
<property name="buddy"> <property name="sizePolicy">
<cstring>kcfg_Color</cstring> <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
</property> <horstretch>0</horstretch>
</widget> <verstretch>0</verstretch>
</item> </sizepolicy>
<item row="1" column="1"> </property>
<widget class="KColorCombo" name="kcfg_Color"> </widget>
<property name="sizePolicy"> </item>
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <item row="0" column="0">
<horstretch>0</horstretch> <widget class="QLabel" name="label">
<verstretch>0</verstretch> <property name="text">
</sizepolicy> <string>Duration:</string>
</property> </property>
</widget> <property name="alignment">
</item> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<item row="0" column="1"> </property>
<widget class="QSpinBox" name="kcfg_Duration"> </widget>
<property name="sizePolicy"> </item>
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <item row="1" column="0">
<horstretch>0</horstretch> <widget class="QLabel" name="label_2">
<verstretch>0</verstretch> <property name="text">
</sizepolicy> <string>Color:</string>
</property> </property>
<property name="specialValueText"> <property name="alignment">
<string>Default</string> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property> </property>
<property name="suffix"> <property name="buddy">
<string> milliseconds</string> <cstring>kcfg_Color</cstring>
</property> </property>
<property name="maximum"> </widget>
<number>9999</number> </item>
</property> </layout>
<property name="singleStep"> </widget>
<number>5</number> <customwidgets>
</property> <customwidget>
</widget> <class>KColorCombo</class>
</item> <extends>QComboBox</extends>
</layout> <header>kcolorcombo.h</header>
</widget> </customwidget>
<customwidgets> </customwidgets>
<customwidget> <resources />
<class>KColorCombo</class> <connections />
<extends>QComboBox</extends>
<header>kcolorcombo.h</header>
</customwidget>
</customwidgets>
<resources />
<connections />
</ui> </ui>