|
1 <ui version="4.0" > |
|
2 <class>WateringConfigDialog</class> |
|
3 <widget class="QDialog" name="WateringConfigDialog" > |
|
4 <property name="geometry" > |
|
5 <rect> |
|
6 <x>0</x> |
|
7 <y>0</y> |
|
8 <width>334</width> |
|
9 <height>550</height> |
|
10 </rect> |
|
11 </property> |
|
12 <property name="windowTitle" > |
|
13 <string>Watering Configuration</string> |
|
14 </property> |
|
15 <layout class="QVBoxLayout" > |
|
16 <item> |
|
17 <layout class="QGridLayout" > |
|
18 <item row="0" column="0" > |
|
19 <widget class="QLabel" name="label_3" > |
|
20 <property name="text" > |
|
21 <string>Plant:</string> |
|
22 </property> |
|
23 </widget> |
|
24 </item> |
|
25 <item row="0" column="1" colspan="3" > |
|
26 <widget class="QComboBox" name="plantComboBox" > |
|
27 <property name="sizePolicy" > |
|
28 <sizepolicy vsizetype="Fixed" hsizetype="Preferred" > |
|
29 <horstretch>0</horstretch> |
|
30 <verstretch>0</verstretch> |
|
31 </sizepolicy> |
|
32 </property> |
|
33 <item> |
|
34 <property name="text" > |
|
35 <string>Squash</string> |
|
36 </property> |
|
37 </item> |
|
38 <item> |
|
39 <property name="text" > |
|
40 <string>Bean</string> |
|
41 </property> |
|
42 </item> |
|
43 <item> |
|
44 <property name="text" > |
|
45 <string>Carrot</string> |
|
46 </property> |
|
47 </item> |
|
48 <item> |
|
49 <property name="text" > |
|
50 <string>Strawberry</string> |
|
51 </property> |
|
52 </item> |
|
53 <item> |
|
54 <property name="text" > |
|
55 <string>Raspberry</string> |
|
56 </property> |
|
57 </item> |
|
58 <item> |
|
59 <property name="text" > |
|
60 <string>Blueberry</string> |
|
61 </property> |
|
62 </item> |
|
63 </widget> |
|
64 </item> |
|
65 <item row="1" column="0" > |
|
66 <spacer> |
|
67 <property name="orientation" > |
|
68 <enum>Qt::Vertical</enum> |
|
69 </property> |
|
70 <property name="sizeType" > |
|
71 <enum>QSizePolicy::Fixed</enum> |
|
72 </property> |
|
73 <property name="sizeHint" > |
|
74 <size> |
|
75 <width>67</width> |
|
76 <height>16</height> |
|
77 </size> |
|
78 </property> |
|
79 </spacer> |
|
80 </item> |
|
81 <item row="2" column="0" > |
|
82 <widget class="QLabel" name="label_2" > |
|
83 <property name="text" > |
|
84 <string>Water when:</string> |
|
85 </property> |
|
86 </widget> |
|
87 </item> |
|
88 <item row="3" column="1" colspan="3" > |
|
89 <widget class="QCheckBox" name="temperatureCheckBox" > |
|
90 <property name="text" > |
|
91 <string>Temperature is higher than:</string> |
|
92 </property> |
|
93 </widget> |
|
94 </item> |
|
95 <item row="4" column="1" > |
|
96 <spacer> |
|
97 <property name="orientation" > |
|
98 <enum>Qt::Horizontal</enum> |
|
99 </property> |
|
100 <property name="sizeType" > |
|
101 <enum>QSizePolicy::Fixed</enum> |
|
102 </property> |
|
103 <property name="sizeHint" > |
|
104 <size> |
|
105 <width>16</width> |
|
106 <height>20</height> |
|
107 </size> |
|
108 </property> |
|
109 </spacer> |
|
110 </item> |
|
111 <item row="4" column="2" > |
|
112 <widget class="QSpinBox" name="temperatureSpinBox" > |
|
113 <property name="enabled" > |
|
114 <bool>false</bool> |
|
115 </property> |
|
116 <property name="specialValueText" > |
|
117 <string/> |
|
118 </property> |
|
119 <property name="suffix" > |
|
120 <string>C</string> |
|
121 </property> |
|
122 <property name="minimum" > |
|
123 <number>10</number> |
|
124 </property> |
|
125 <property name="maximum" > |
|
126 <number>60</number> |
|
127 </property> |
|
128 <property name="value" > |
|
129 <number>20</number> |
|
130 </property> |
|
131 </widget> |
|
132 </item> |
|
133 <item row="4" column="3" > |
|
134 <spacer> |
|
135 <property name="orientation" > |
|
136 <enum>Qt::Horizontal</enum> |
|
137 </property> |
|
138 <property name="sizeHint" > |
|
139 <size> |
|
140 <width>40</width> |
|
141 <height>20</height> |
|
142 </size> |
|
143 </property> |
|
144 </spacer> |
|
145 </item> |
|
146 <item row="5" column="1" colspan="3" > |
|
147 <widget class="QCheckBox" name="rainCheckBox" > |
|
148 <property name="text" > |
|
149 <string>Rain less than:</string> |
|
150 </property> |
|
151 </widget> |
|
152 </item> |
|
153 <item row="6" column="1" > |
|
154 <spacer> |
|
155 <property name="orientation" > |
|
156 <enum>Qt::Horizontal</enum> |
|
157 </property> |
|
158 <property name="sizeType" > |
|
159 <enum>QSizePolicy::Fixed</enum> |
|
160 </property> |
|
161 <property name="sizeHint" > |
|
162 <size> |
|
163 <width>16</width> |
|
164 <height>20</height> |
|
165 </size> |
|
166 </property> |
|
167 </spacer> |
|
168 </item> |
|
169 <item row="6" column="2" > |
|
170 <widget class="QSpinBox" name="rainSpinBox" > |
|
171 <property name="enabled" > |
|
172 <bool>false</bool> |
|
173 </property> |
|
174 <property name="specialValueText" > |
|
175 <string/> |
|
176 </property> |
|
177 <property name="suffix" > |
|
178 <string>mm</string> |
|
179 </property> |
|
180 <property name="minimum" > |
|
181 <number>1</number> |
|
182 </property> |
|
183 </widget> |
|
184 </item> |
|
185 <item row="6" column="3" > |
|
186 <spacer> |
|
187 <property name="orientation" > |
|
188 <enum>Qt::Horizontal</enum> |
|
189 </property> |
|
190 <property name="sizeHint" > |
|
191 <size> |
|
192 <width>40</width> |
|
193 <height>20</height> |
|
194 </size> |
|
195 </property> |
|
196 </spacer> |
|
197 </item> |
|
198 <item row="7" column="2" > |
|
199 <spacer> |
|
200 <property name="orientation" > |
|
201 <enum>Qt::Vertical</enum> |
|
202 </property> |
|
203 <property name="sizeType" > |
|
204 <enum>QSizePolicy::Fixed</enum> |
|
205 </property> |
|
206 <property name="sizeHint" > |
|
207 <size> |
|
208 <width>20</width> |
|
209 <height>20</height> |
|
210 </size> |
|
211 </property> |
|
212 </spacer> |
|
213 </item> |
|
214 <item row="8" column="0" > |
|
215 <widget class="QLabel" name="label" > |
|
216 <property name="text" > |
|
217 <string>Starting Time:</string> |
|
218 </property> |
|
219 </widget> |
|
220 </item> |
|
221 <item row="8" column="1" colspan="3" > |
|
222 <widget class="QTimeEdit" name="startTimeEdit" /> |
|
223 </item> |
|
224 <item row="9" column="0" > |
|
225 <widget class="QLabel" name="label_4" > |
|
226 <property name="text" > |
|
227 <string>Amount:</string> |
|
228 </property> |
|
229 </widget> |
|
230 </item> |
|
231 <item row="9" column="1" colspan="3" > |
|
232 <widget class="QSpinBox" name="amountSpinBox" > |
|
233 <property name="suffix" > |
|
234 <string>l</string> |
|
235 </property> |
|
236 <property name="minimum" > |
|
237 <number>100</number> |
|
238 </property> |
|
239 <property name="maximum" > |
|
240 <number>10000</number> |
|
241 </property> |
|
242 <property name="singleStep" > |
|
243 <number>100</number> |
|
244 </property> |
|
245 <property name="value" > |
|
246 <number>1000</number> |
|
247 </property> |
|
248 </widget> |
|
249 </item> |
|
250 <item row="10" column="0" > |
|
251 <widget class="QLabel" name="label_5" > |
|
252 <property name="text" > |
|
253 <string>Source:</string> |
|
254 </property> |
|
255 </widget> |
|
256 </item> |
|
257 <item row="10" column="1" colspan="3" > |
|
258 <widget class="QComboBox" name="sourceComboBox" > |
|
259 <item> |
|
260 <property name="text" > |
|
261 <string>Foundain</string> |
|
262 </property> |
|
263 </item> |
|
264 <item> |
|
265 <property name="text" > |
|
266 <string>River</string> |
|
267 </property> |
|
268 </item> |
|
269 <item> |
|
270 <property name="text" > |
|
271 <string>Lake</string> |
|
272 </property> |
|
273 </item> |
|
274 <item> |
|
275 <property name="text" > |
|
276 <string>Public Water System</string> |
|
277 </property> |
|
278 </item> |
|
279 </widget> |
|
280 </item> |
|
281 <item row="11" column="0" > |
|
282 <widget class="QLabel" name="label_6" > |
|
283 <property name="text" > |
|
284 <string>Filter:</string> |
|
285 </property> |
|
286 </widget> |
|
287 </item> |
|
288 <item row="11" column="1" colspan="2" > |
|
289 <widget class="QCheckBox" name="filterCheckBox" > |
|
290 <property name="text" > |
|
291 <string/> |
|
292 </property> |
|
293 </widget> |
|
294 </item> |
|
295 <item row="12" column="0" > |
|
296 <spacer> |
|
297 <property name="orientation" > |
|
298 <enum>Qt::Vertical</enum> |
|
299 </property> |
|
300 <property name="sizeType" > |
|
301 <enum>QSizePolicy::Fixed</enum> |
|
302 </property> |
|
303 <property name="sizeHint" > |
|
304 <size> |
|
305 <width>20</width> |
|
306 <height>10</height> |
|
307 </size> |
|
308 </property> |
|
309 </spacer> |
|
310 </item> |
|
311 <item row="4" column="4" > |
|
312 <spacer> |
|
313 <property name="orientation" > |
|
314 <enum>Qt::Horizontal</enum> |
|
315 </property> |
|
316 <property name="sizeHint" > |
|
317 <size> |
|
318 <width>40</width> |
|
319 <height>20</height> |
|
320 </size> |
|
321 </property> |
|
322 </spacer> |
|
323 </item> |
|
324 </layout> |
|
325 </item> |
|
326 <item> |
|
327 <layout class="QGridLayout" > |
|
328 <item row="0" column="1" > |
|
329 <spacer> |
|
330 <property name="orientation" > |
|
331 <enum>Qt::Horizontal</enum> |
|
332 </property> |
|
333 <property name="sizeHint" > |
|
334 <size> |
|
335 <width>40</width> |
|
336 <height>20</height> |
|
337 </size> |
|
338 </property> |
|
339 </spacer> |
|
340 </item> |
|
341 <item row="1" column="0" colspan="2" > |
|
342 <widget class="HelpBrowser" name="helpBrowser" /> |
|
343 </item> |
|
344 <item row="0" column="0" > |
|
345 <widget class="QLabel" name="helpLabel" > |
|
346 <property name="text" > |
|
347 <string><a href="test">Show Details</a></string> |
|
348 </property> |
|
349 </widget> |
|
350 </item> |
|
351 </layout> |
|
352 </item> |
|
353 <item> |
|
354 <widget class="Line" name="line" > |
|
355 <property name="orientation" > |
|
356 <enum>Qt::Horizontal</enum> |
|
357 </property> |
|
358 </widget> |
|
359 </item> |
|
360 <item> |
|
361 <widget class="QDialogButtonBox" name="buttonBox" > |
|
362 <property name="orientation" > |
|
363 <enum>Qt::Horizontal</enum> |
|
364 </property> |
|
365 <property name="standardButtons" > |
|
366 <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> |
|
367 </property> |
|
368 </widget> |
|
369 </item> |
|
370 </layout> |
|
371 </widget> |
|
372 <customwidgets> |
|
373 <customwidget> |
|
374 <class>HelpBrowser</class> |
|
375 <extends>QTextBrowser</extends> |
|
376 <header>helpbrowser.h</header> |
|
377 </customwidget> |
|
378 </customwidgets> |
|
379 <resources/> |
|
380 <connections> |
|
381 <connection> |
|
382 <sender>buttonBox</sender> |
|
383 <signal>accepted()</signal> |
|
384 <receiver>WateringConfigDialog</receiver> |
|
385 <slot>accept()</slot> |
|
386 <hints> |
|
387 <hint type="sourcelabel" > |
|
388 <x>227</x> |
|
389 <y>372</y> |
|
390 </hint> |
|
391 <hint type="destinationlabel" > |
|
392 <x>157</x> |
|
393 <y>274</y> |
|
394 </hint> |
|
395 </hints> |
|
396 </connection> |
|
397 <connection> |
|
398 <sender>buttonBox</sender> |
|
399 <signal>rejected()</signal> |
|
400 <receiver>WateringConfigDialog</receiver> |
|
401 <slot>reject()</slot> |
|
402 <hints> |
|
403 <hint type="sourcelabel" > |
|
404 <x>286</x> |
|
405 <y>378</y> |
|
406 </hint> |
|
407 <hint type="destinationlabel" > |
|
408 <x>286</x> |
|
409 <y>274</y> |
|
410 </hint> |
|
411 </hints> |
|
412 </connection> |
|
413 <connection> |
|
414 <sender>temperatureCheckBox</sender> |
|
415 <signal>toggled(bool)</signal> |
|
416 <receiver>temperatureSpinBox</receiver> |
|
417 <slot>setEnabled(bool)</slot> |
|
418 <hints> |
|
419 <hint type="sourcelabel" > |
|
420 <x>132</x> |
|
421 <y>101</y> |
|
422 </hint> |
|
423 <hint type="destinationlabel" > |
|
424 <x>132</x> |
|
425 <y>125</y> |
|
426 </hint> |
|
427 </hints> |
|
428 </connection> |
|
429 <connection> |
|
430 <sender>rainCheckBox</sender> |
|
431 <signal>toggled(bool)</signal> |
|
432 <receiver>rainSpinBox</receiver> |
|
433 <slot>setEnabled(bool)</slot> |
|
434 <hints> |
|
435 <hint type="sourcelabel" > |
|
436 <x>110</x> |
|
437 <y>154</y> |
|
438 </hint> |
|
439 <hint type="destinationlabel" > |
|
440 <x>113</x> |
|
441 <y>169</y> |
|
442 </hint> |
|
443 </hints> |
|
444 </connection> |
|
445 </connections> |
|
446 </ui> |