1 | <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
---|
2 | <class>SmallDialog</class>
|
---|
3 | <widget class="QDialog">
|
---|
4 | <property name="name">
|
---|
5 | <cstring>SmallDialog</cstring>
|
---|
6 | </property>
|
---|
7 | <property name="geometry">
|
---|
8 | <rect>
|
---|
9 | <x>0</x>
|
---|
10 | <y>0</y>
|
---|
11 | <width>361</width>
|
---|
12 | <height>283</height>
|
---|
13 | </rect>
|
---|
14 | </property>
|
---|
15 | <property name="caption">
|
---|
16 | <string>Small Dialog</string>
|
---|
17 | </property>
|
---|
18 | <property name="sizeGripEnabled">
|
---|
19 | <bool>true</bool>
|
---|
20 | </property>
|
---|
21 | <grid>
|
---|
22 | <property name="name">
|
---|
23 | <cstring>unnamed</cstring>
|
---|
24 | </property>
|
---|
25 | <property name="margin">
|
---|
26 | <number>11</number>
|
---|
27 | </property>
|
---|
28 | <property name="spacing">
|
---|
29 | <number>6</number>
|
---|
30 | </property>
|
---|
31 | <widget class="QLayoutWidget" row="2" column="0">
|
---|
32 | <property name="name">
|
---|
33 | <cstring>Layout1</cstring>
|
---|
34 | </property>
|
---|
35 | <hbox>
|
---|
36 | <property name="name">
|
---|
37 | <cstring>unnamed</cstring>
|
---|
38 | </property>
|
---|
39 | <property name="margin">
|
---|
40 | <number>0</number>
|
---|
41 | </property>
|
---|
42 | <property name="spacing">
|
---|
43 | <number>6</number>
|
---|
44 | </property>
|
---|
45 | <widget class="QPushButton">
|
---|
46 | <property name="name">
|
---|
47 | <cstring>buttonHelp</cstring>
|
---|
48 | </property>
|
---|
49 | <property name="text">
|
---|
50 | <string>&Help</string>
|
---|
51 | </property>
|
---|
52 | <property name="autoDefault">
|
---|
53 | <bool>true</bool>
|
---|
54 | </property>
|
---|
55 | </widget>
|
---|
56 | <spacer>
|
---|
57 | <property name="name" stdset="0">
|
---|
58 | <cstring>Horizontal Spacing2</cstring>
|
---|
59 | </property>
|
---|
60 | <property name="orientation">
|
---|
61 | <enum>Horizontal</enum>
|
---|
62 | </property>
|
---|
63 | <property name="sizeType">
|
---|
64 | <enum>Expanding</enum>
|
---|
65 | </property>
|
---|
66 | <property name="sizeHint">
|
---|
67 | <size>
|
---|
68 | <width>20</width>
|
---|
69 | <height>20</height>
|
---|
70 | </size>
|
---|
71 | </property>
|
---|
72 | </spacer>
|
---|
73 | <widget class="QPushButton">
|
---|
74 | <property name="name">
|
---|
75 | <cstring>buttonOk</cstring>
|
---|
76 | </property>
|
---|
77 | <property name="text">
|
---|
78 | <string>OK</string>
|
---|
79 | </property>
|
---|
80 | <property name="accel">
|
---|
81 | <number>0</number>
|
---|
82 | </property>
|
---|
83 | <property name="autoDefault">
|
---|
84 | <bool>true</bool>
|
---|
85 | </property>
|
---|
86 | <property name="default">
|
---|
87 | <bool>true</bool>
|
---|
88 | </property>
|
---|
89 | </widget>
|
---|
90 | <widget class="QPushButton">
|
---|
91 | <property name="name">
|
---|
92 | <cstring>buttonCancel</cstring>
|
---|
93 | </property>
|
---|
94 | <property name="text">
|
---|
95 | <string>Cancel</string>
|
---|
96 | </property>
|
---|
97 | <property name="accel">
|
---|
98 | <number>0</number>
|
---|
99 | </property>
|
---|
100 | <property name="autoDefault">
|
---|
101 | <bool>true</bool>
|
---|
102 | </property>
|
---|
103 | </widget>
|
---|
104 | </hbox>
|
---|
105 | </widget>
|
---|
106 | <widget class="QLabel" row="0" column="0">
|
---|
107 | <property name="name">
|
---|
108 | <cstring>TextLabel1</cstring>
|
---|
109 | </property>
|
---|
110 | <property name="sizePolicy">
|
---|
111 | <sizepolicy>
|
---|
112 | <hsizetype>1</hsizetype>
|
---|
113 | <vsizetype>0</vsizetype>
|
---|
114 | </sizepolicy>
|
---|
115 | </property>
|
---|
116 | <property name="text">
|
---|
117 | <string>This is just a useless dialog.</string>
|
---|
118 | </property>
|
---|
119 | </widget>
|
---|
120 | <widget class="QFrame" row="1" column="0">
|
---|
121 | <property name="name">
|
---|
122 | <cstring>Frame4</cstring>
|
---|
123 | </property>
|
---|
124 | <property name="frameShape">
|
---|
125 | <enum>StyledPanel</enum>
|
---|
126 | </property>
|
---|
127 | <property name="frameShadow">
|
---|
128 | <enum>Raised</enum>
|
---|
129 | </property>
|
---|
130 | <grid>
|
---|
131 | <property name="name">
|
---|
132 | <cstring>unnamed</cstring>
|
---|
133 | </property>
|
---|
134 | <property name="margin">
|
---|
135 | <number>11</number>
|
---|
136 | </property>
|
---|
137 | <property name="spacing">
|
---|
138 | <number>6</number>
|
---|
139 | </property>
|
---|
140 | <widget class="QDial" row="0" column="1">
|
---|
141 | <property name="name">
|
---|
142 | <cstring>Dial1</cstring>
|
---|
143 | </property>
|
---|
144 | </widget>
|
---|
145 | <widget class="QLCDNumber" row="1" column="1">
|
---|
146 | <property name="name">
|
---|
147 | <cstring>LCDNumber1</cstring>
|
---|
148 | </property>
|
---|
149 | <property name="numDigits">
|
---|
150 | <number>2</number>
|
---|
151 | </property>
|
---|
152 | </widget>
|
---|
153 | <widget class="QSlider" row="0" column="0" rowspan="2" colspan="1">
|
---|
154 | <property name="name">
|
---|
155 | <cstring>Slider1</cstring>
|
---|
156 | </property>
|
---|
157 | <property name="orientation">
|
---|
158 | <enum>Vertical</enum>
|
---|
159 | </property>
|
---|
160 | </widget>
|
---|
161 | </grid>
|
---|
162 | </widget>
|
---|
163 | </grid>
|
---|
164 | </widget>
|
---|
165 | <connections>
|
---|
166 | <connection>
|
---|
167 | <sender>buttonOk</sender>
|
---|
168 | <signal>clicked()</signal>
|
---|
169 | <receiver>SmallDialog</receiver>
|
---|
170 | <slot>accept()</slot>
|
---|
171 | </connection>
|
---|
172 | <connection>
|
---|
173 | <sender>buttonCancel</sender>
|
---|
174 | <signal>clicked()</signal>
|
---|
175 | <receiver>SmallDialog</receiver>
|
---|
176 | <slot>reject()</slot>
|
---|
177 | </connection>
|
---|
178 | <connection>
|
---|
179 | <sender>Slider1</sender>
|
---|
180 | <signal>valueChanged(int)</signal>
|
---|
181 | <receiver>LCDNumber1</receiver>
|
---|
182 | <slot>display(int)</slot>
|
---|
183 | </connection>
|
---|
184 | <connection>
|
---|
185 | <sender>Slider1</sender>
|
---|
186 | <signal>valueChanged(int)</signal>
|
---|
187 | <receiver>Dial1</receiver>
|
---|
188 | <slot>setValue(int)</slot>
|
---|
189 | </connection>
|
---|
190 | <connection>
|
---|
191 | <sender>Dial1</sender>
|
---|
192 | <signal>valueChanged(int)</signal>
|
---|
193 | <receiver>Slider1</receiver>
|
---|
194 | <slot>setValue(int)</slot>
|
---|
195 | </connection>
|
---|
196 | </connections>
|
---|
197 | </UI>
|
---|