summaryrefslogtreecommitdiffstats
path: root/src/brightnesschooser.ui
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-08-21 21:26:05 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-08-21 21:26:05 +0200
commit29b50d195f91ee5131805a0ca9fe45ab77655c8a (patch)
tree2ccda3f73a19fa8f03e6c02f9113728e5aad1d44 /src/brightnesschooser.ui
downloadklcddimmer-29b50d195f91ee5131805a0ca9fe45ab77655c8a.tar.gz
klcddimmer-29b50d195f91ee5131805a0ca9fe45ab77655c8a.zip
Initial import of klcddimmer 0.3
Diffstat (limited to 'src/brightnesschooser.ui')
-rw-r--r--src/brightnesschooser.ui154
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>&amp;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>