25ac108a76
If the decoration package contains a ui file in ui/config.ui and and KConfigXT xml file in config/main.xml the configure dialog is extended by the custom values. For this the ui file is loaded and included in the dialog's layout. To make this possible the AuroraeConfigForm is changed to a VBoxLayout containing the so far used FormLayout. The configuration settings are loaded using Plasma's ConfigLoader and attached to the widget through a KConfigDialogManager. Marking this commit as the one which implements QML support for Aurorae themes: REVIEW: 105751 REVIEW: 105768 BUG: 303810 FIXED-IN: 4.10
137 lines
3.9 KiB
XML
137 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>KWinAuroraeConfigForm</class>
|
|
<widget class="QWidget" name="KWinAuroraeConfigForm">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>384</width>
|
|
<height>95</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Border size:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>borderSizesCombo</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="KComboBox" name="borderSizesCombo">
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Border size:">Tiny</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Border size:">Normal</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Border size:">Large</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Border size:">Very Large</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Border size:">Huge</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Border size:">Very Huge</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Border size:">Oversized</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Button size:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>buttonSizesCombo</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="KComboBox" name="buttonSizesCombo">
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Button size:">Tiny</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Button size:">Normal</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Button size:">Large</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Button size:">Very Large</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Button size:">Huge</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Button size:">Very Huge</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string comment="@item:inlistbox Button size:">Oversized</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="closeWindowsDoubleClick">
|
|
<property name="toolTip">
|
|
<string extracomment="Check this option if you want windows to be closed when you double click the menu button."/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Close windows by double clicking the menu button</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>KComboBox</class>
|
|
<extends>QComboBox</extends>
|
|
<header>kcombobox.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|