diff options
Diffstat (limited to 'src/brightnesschooser.ui')
-rw-r--r-- | src/brightnesschooser.ui | 154 |
1 files changed, 154 insertions, 0 deletions
diff --git a/src/brightnesschooser.ui b/src/brightnesschooser.ui new file mode 100644 index 0000000..4f6524f --- /dev/null +++ b/src/brightnesschooser.ui @@ -0,0 +1,154 @@ +<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> +<class>BrightnessChooser</class> +<widget class="QWidget"> + <property name="name"> + <cstring>BrightnessChooser</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>124</width> + <height>163</height> + </rect> + </property> + <property name="caption"> + <string>Form1</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLayoutWidget" row="0" column="0"> + <property name="name"> + <cstring>layout9</cstring> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLayoutWidget" row="0" column="0"> + <property name="name"> + <cstring>layout7</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <property name="spacing"> + <number>0</number> + </property> + <spacer> + <property name="name"> + <cstring>spacer1</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Minimum</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>layout5</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>valueLabel</cstring> + </property> + <property name="text"> + <string>0</string> + </property> + <property name="alignment"> + <set>AlignCenter</set> + </property> + </widget> + <widget class="QSlider"> + <property name="name"> + <cstring>brightnessSlider</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="toolTip" stdset="0"> + <string>set the brightness and click OK or press ENTER</string> + </property> + </widget> + </vbox> + </widget> + <spacer> + <property name="name"> + <cstring>spacer1_2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Minimum</enum> + </property> + <property name="sizeHint"> + <size> + <width>16</width> + <height>20</height> + </size> + </property> + </spacer> + </hbox> + </widget> + <widget class="QPushButton" row="1" column="0"> + <property name="name"> + <cstring>okButton</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>1</hsizetype> + <vsizetype>1</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>&OK</string> + </property> + <property name="accel"> + <string>Alt+O</string> + </property> + </widget> + </grid> + </widget> + </grid> +</widget> +<connections> + <connection> + <sender>okButton</sender> + <signal>clicked()</signal> + <receiver>BrightnessChooser</receiver> + <slot>updateBrightness()</slot> + </connection> + <connection> + <sender>brightnessSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>BrightnessChooser</receiver> + <slot>updateValue(int)</slot> + </connection> +</connections> +<slots> + <slot>updateBrightness()</slot> + <slot>updateValue(int)</slot> +</slots> +<layoutdefaults spacing="6" margin="11"/> +</UI> |