|
|
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
|
|
<class>BrightnessChooser</class>
|
|
|
|
<widget class="TQWidget">
|
|
|
|
<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="TQLayoutWidget" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>layout9</cstring>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLayoutWidget" 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="TQLayoutWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>layout5</cstring>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLabel">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>valueLabel</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>0</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQSlider">
|
|
|
|
<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="TQPushButton" 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>
|
|
|
|
</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>
|