ui/EditWater.ui

changeset 29
76846c99f827
child 38
1c7f384d4b21
equal deleted inserted replaced
28:93a70b1502ca 29:76846c99f827
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>EditWater</class>
4 <widget class="QDialog" name="EditWater">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>1024</width>
10 <height>560</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Dialog</string>
15 </property>
16 <layout class="QGridLayout" name="gridLayout">
17 <item row="0" column="0">
18 <widget class="QWidget" name="topWidget" native="true">
19 <widget class="QLabel" name="nameLabel">
20 <property name="geometry">
21 <rect>
22 <x>60</x>
23 <y>10</y>
24 <width>91</width>
25 <height>20</height>
26 </rect>
27 </property>
28 <property name="text">
29 <string>Name:</string>
30 </property>
31 <property name="alignment">
32 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
33 </property>
34 </widget>
35 <widget class="QLabel" name="notesLabel">
36 <property name="geometry">
37 <rect>
38 <x>60</x>
39 <y>40</y>
40 <width>91</width>
41 <height>20</height>
42 </rect>
43 </property>
44 <property name="text">
45 <string>Notes:</string>
46 </property>
47 <property name="alignment">
48 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
49 </property>
50 </widget>
51 <widget class="QLabel" name="inventoryLabel">
52 <property name="geometry">
53 <rect>
54 <x>50</x>
55 <y>340</y>
56 <width>101</width>
57 <height>20</height>
58 </rect>
59 </property>
60 <property name="text">
61 <string>Inventory L:</string>
62 </property>
63 <property name="alignment">
64 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
65 </property>
66 </widget>
67 <widget class="QLabel" name="costLabel">
68 <property name="geometry">
69 <rect>
70 <x>610</x>
71 <y>340</y>
72 <width>101</width>
73 <height>20</height>
74 </rect>
75 </property>
76 <property name="text">
77 <string>Cost per L:</string>
78 </property>
79 <property name="alignment">
80 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
81 </property>
82 </widget>
83 <widget class="QLineEdit" name="nameEdit">
84 <property name="geometry">
85 <rect>
86 <x>160</x>
87 <y>10</y>
88 <width>691</width>
89 <height>23</height>
90 </rect>
91 </property>
92 <property name="maxLength">
93 <number>128</number>
94 </property>
95 <property name="placeholderText">
96 <string>Name of the brewing water</string>
97 </property>
98 </widget>
99 <widget class="QPlainTextEdit" name="notesEdit">
100 <property name="geometry">
101 <rect>
102 <x>160</x>
103 <y>40</y>
104 <width>691</width>
105 <height>81</height>
106 </rect>
107 </property>
108 <property name="placeholderText">
109 <string>Notes or the source of this water.</string>
110 </property>
111 </widget>
112 <widget class="QDoubleSpinBox" name="inventoryEdit">
113 <property name="geometry">
114 <rect>
115 <x>160</x>
116 <y>340</y>
117 <width>121</width>
118 <height>24</height>
119 </rect>
120 </property>
121 <property name="alignment">
122 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
123 </property>
124 <property name="readOnly">
125 <bool>false</bool>
126 </property>
127 <property name="buttonSymbols">
128 <enum>QAbstractSpinBox::UpDownArrows</enum>
129 </property>
130 <property name="accelerated">
131 <bool>true</bool>
132 </property>
133 <property name="decimals">
134 <number>1</number>
135 </property>
136 <property name="maximum">
137 <double>100000.000000000000000</double>
138 </property>
139 <property name="singleStep">
140 <double>0.500000000000000</double>
141 </property>
142 <property name="stepType">
143 <enum>QAbstractSpinBox::DefaultStepType</enum>
144 </property>
145 </widget>
146 <widget class="QDoubleSpinBox" name="costEdit">
147 <property name="geometry">
148 <rect>
149 <x>730</x>
150 <y>340</y>
151 <width>121</width>
152 <height>24</height>
153 </rect>
154 </property>
155 <property name="alignment">
156 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
157 </property>
158 <property name="accelerated">
159 <bool>true</bool>
160 </property>
161 <property name="decimals">
162 <number>5</number>
163 </property>
164 <property name="maximum">
165 <double>1000.000000000000000</double>
166 </property>
167 <property name="singleStep">
168 <double>0.010000000000000</double>
169 </property>
170 <property name="stepType">
171 <enum>QAbstractSpinBox::DefaultStepType</enum>
172 </property>
173 </widget>
174 <widget class="QPushButton" name="quitButton">
175 <property name="geometry">
176 <rect>
177 <x>90</x>
178 <y>510</y>
179 <width>80</width>
180 <height>23</height>
181 </rect>
182 </property>
183 <property name="sizePolicy">
184 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
185 <horstretch>0</horstretch>
186 <verstretch>0</verstretch>
187 </sizepolicy>
188 </property>
189 <property name="text">
190 <string>Quit</string>
191 </property>
192 <property name="icon">
193 <iconset>
194 <normaloff>:icons/silk/door_out.png</normaloff>:icons/silk/door_out.png</iconset>
195 </property>
196 </widget>
197 <widget class="QPushButton" name="saveButton">
198 <property name="enabled">
199 <bool>false</bool>
200 </property>
201 <property name="geometry">
202 <rect>
203 <x>850</x>
204 <y>510</y>
205 <width>80</width>
206 <height>23</height>
207 </rect>
208 </property>
209 <property name="text">
210 <string>Save</string>
211 </property>
212 <property name="icon">
213 <iconset>
214 <normaloff>:icons/silk/disk.png</normaloff>:icons/silk/disk.png</iconset>
215 </property>
216 </widget>
217 <widget class="QPushButton" name="deleteButton">
218 <property name="enabled">
219 <bool>false</bool>
220 </property>
221 <property name="geometry">
222 <rect>
223 <x>463</x>
224 <y>510</y>
225 <width>80</width>
226 <height>23</height>
227 </rect>
228 </property>
229 <property name="text">
230 <string>Delete</string>
231 </property>
232 <property name="icon">
233 <iconset>
234 <normaloff>:icons/silk/delete.png</normaloff>:icons/silk/delete.png</iconset>
235 </property>
236 </widget>
237 <widget class="QLabel" name="caLabel">
238 <property name="geometry">
239 <rect>
240 <x>10</x>
241 <y>150</y>
242 <width>141</width>
243 <height>20</height>
244 </rect>
245 </property>
246 <property name="text">
247 <string>Calcium (Ca) mg/L:</string>
248 </property>
249 <property name="alignment">
250 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
251 </property>
252 </widget>
253 <widget class="QLabel" name="mgLabel">
254 <property name="geometry">
255 <rect>
256 <x>10</x>
257 <y>180</y>
258 <width>141</width>
259 <height>20</height>
260 </rect>
261 </property>
262 <property name="text">
263 <string>Magnesium (Mg) mg/L:</string>
264 </property>
265 <property name="alignment">
266 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
267 </property>
268 </widget>
269 <widget class="QLabel" name="naLabel">
270 <property name="geometry">
271 <rect>
272 <x>20</x>
273 <y>210</y>
274 <width>131</width>
275 <height>20</height>
276 </rect>
277 </property>
278 <property name="text">
279 <string>Sodium (Na) mg/L:</string>
280 </property>
281 <property name="alignment">
282 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
283 </property>
284 </widget>
285 <widget class="QLabel" name="phLabel">
286 <property name="geometry">
287 <rect>
288 <x>60</x>
289 <y>290</y>
290 <width>91</width>
291 <height>20</height>
292 </rect>
293 </property>
294 <property name="text">
295 <string>Acid pH:</string>
296 </property>
297 <property name="alignment">
298 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
299 </property>
300 </widget>
301 <widget class="QLabel" name="unlimitedLabel">
302 <property name="geometry">
303 <rect>
304 <x>40</x>
305 <y>370</y>
306 <width>111</width>
307 <height>20</height>
308 </rect>
309 </property>
310 <property name="text">
311 <string>Unlimited stock:</string>
312 </property>
313 <property name="alignment">
314 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
315 </property>
316 </widget>
317 <widget class="QCheckBox" name="unlimitedEdit">
318 <property name="geometry">
319 <rect>
320 <x>160</x>
321 <y>370</y>
322 <width>85</width>
323 <height>21</height>
324 </rect>
325 </property>
326 <property name="text">
327 <string>Yes</string>
328 </property>
329 </widget>
330 <widget class="QDoubleSpinBox" name="caEdit">
331 <property name="geometry">
332 <rect>
333 <x>160</x>
334 <y>150</y>
335 <width>121</width>
336 <height>24</height>
337 </rect>
338 </property>
339 <property name="alignment">
340 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
341 </property>
342 <property name="accelerated">
343 <bool>true</bool>
344 </property>
345 <property name="decimals">
346 <number>1</number>
347 </property>
348 <property name="maximum">
349 <double>1000.000000000000000</double>
350 </property>
351 <property name="singleStep">
352 <double>0.100000000000000</double>
353 </property>
354 <property name="stepType">
355 <enum>QAbstractSpinBox::DefaultStepType</enum>
356 </property>
357 </widget>
358 <widget class="QDoubleSpinBox" name="mgEdit">
359 <property name="geometry">
360 <rect>
361 <x>160</x>
362 <y>180</y>
363 <width>121</width>
364 <height>24</height>
365 </rect>
366 </property>
367 <property name="alignment">
368 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
369 </property>
370 <property name="accelerated">
371 <bool>true</bool>
372 </property>
373 <property name="decimals">
374 <number>1</number>
375 </property>
376 <property name="maximum">
377 <double>1000.000000000000000</double>
378 </property>
379 <property name="singleStep">
380 <double>0.100000000000000</double>
381 </property>
382 <property name="stepType">
383 <enum>QAbstractSpinBox::DefaultStepType</enum>
384 </property>
385 </widget>
386 <widget class="QDoubleSpinBox" name="naEdit">
387 <property name="geometry">
388 <rect>
389 <x>160</x>
390 <y>210</y>
391 <width>121</width>
392 <height>24</height>
393 </rect>
394 </property>
395 <property name="alignment">
396 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
397 </property>
398 <property name="accelerated">
399 <bool>true</bool>
400 </property>
401 <property name="decimals">
402 <number>1</number>
403 </property>
404 <property name="maximum">
405 <double>1000.000000000000000</double>
406 </property>
407 <property name="singleStep">
408 <double>0.100000000000000</double>
409 </property>
410 <property name="stepType">
411 <enum>QAbstractSpinBox::DefaultStepType</enum>
412 </property>
413 </widget>
414 <widget class="QDoubleSpinBox" name="phEdit">
415 <property name="geometry">
416 <rect>
417 <x>160</x>
418 <y>290</y>
419 <width>121</width>
420 <height>24</height>
421 </rect>
422 </property>
423 <property name="alignment">
424 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
425 </property>
426 <property name="accelerated">
427 <bool>true</bool>
428 </property>
429 <property name="maximum">
430 <double>1000.000000000000000</double>
431 </property>
432 <property name="singleStep">
433 <double>0.010000000000000</double>
434 </property>
435 <property name="stepType">
436 <enum>QAbstractSpinBox::DefaultStepType</enum>
437 </property>
438 </widget>
439 <widget class="QDoubleSpinBox" name="so4Edit">
440 <property name="geometry">
441 <rect>
442 <x>730</x>
443 <y>150</y>
444 <width>121</width>
445 <height>24</height>
446 </rect>
447 </property>
448 <property name="alignment">
449 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
450 </property>
451 <property name="accelerated">
452 <bool>true</bool>
453 </property>
454 <property name="decimals">
455 <number>1</number>
456 </property>
457 <property name="maximum">
458 <double>1000.000000000000000</double>
459 </property>
460 <property name="singleStep">
461 <double>0.100000000000000</double>
462 </property>
463 <property name="stepType">
464 <enum>QAbstractSpinBox::DefaultStepType</enum>
465 </property>
466 </widget>
467 <widget class="QDoubleSpinBox" name="clEdit">
468 <property name="geometry">
469 <rect>
470 <x>730</x>
471 <y>180</y>
472 <width>121</width>
473 <height>24</height>
474 </rect>
475 </property>
476 <property name="alignment">
477 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
478 </property>
479 <property name="accelerated">
480 <bool>true</bool>
481 </property>
482 <property name="decimals">
483 <number>1</number>
484 </property>
485 <property name="maximum">
486 <double>1000.000000000000000</double>
487 </property>
488 <property name="singleStep">
489 <double>0.100000000000000</double>
490 </property>
491 <property name="stepType">
492 <enum>QAbstractSpinBox::DefaultStepType</enum>
493 </property>
494 </widget>
495 <widget class="QDoubleSpinBox" name="hcoEdit">
496 <property name="geometry">
497 <rect>
498 <x>730</x>
499 <y>210</y>
500 <width>121</width>
501 <height>24</height>
502 </rect>
503 </property>
504 <property name="alignment">
505 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
506 </property>
507 <property name="accelerated">
508 <bool>true</bool>
509 </property>
510 <property name="decimals">
511 <number>1</number>
512 </property>
513 <property name="maximum">
514 <double>1000.000000000000000</double>
515 </property>
516 <property name="singleStep">
517 <double>0.100000000000000</double>
518 </property>
519 <property name="stepType">
520 <enum>QAbstractSpinBox::DefaultStepType</enum>
521 </property>
522 </widget>
523 <widget class="QDoubleSpinBox" name="alkalinityEdit">
524 <property name="geometry">
525 <rect>
526 <x>730</x>
527 <y>240</y>
528 <width>121</width>
529 <height>24</height>
530 </rect>
531 </property>
532 <property name="alignment">
533 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
534 </property>
535 <property name="accelerated">
536 <bool>true</bool>
537 </property>
538 <property name="decimals">
539 <number>1</number>
540 </property>
541 <property name="maximum">
542 <double>1000.000000000000000</double>
543 </property>
544 <property name="singleStep">
545 <double>0.100000000000000</double>
546 </property>
547 <property name="stepType">
548 <enum>QAbstractSpinBox::DefaultStepType</enum>
549 </property>
550 </widget>
551 <widget class="QDoubleSpinBox" name="balanceEdit">
552 <property name="geometry">
553 <rect>
554 <x>730</x>
555 <y>290</y>
556 <width>121</width>
557 <height>24</height>
558 </rect>
559 </property>
560 <property name="alignment">
561 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
562 </property>
563 <property name="readOnly">
564 <bool>true</bool>
565 </property>
566 <property name="accelerated">
567 <bool>false</bool>
568 </property>
569 <property name="minimum">
570 <double>-100.000000000000000</double>
571 </property>
572 <property name="maximum">
573 <double>1000.000000000000000</double>
574 </property>
575 <property name="singleStep">
576 <double>0.010000000000000</double>
577 </property>
578 <property name="stepType">
579 <enum>QAbstractSpinBox::DefaultStepType</enum>
580 </property>
581 </widget>
582 <widget class="QLabel" name="so4Label">
583 <property name="geometry">
584 <rect>
585 <x>570</x>
586 <y>150</y>
587 <width>151</width>
588 <height>20</height>
589 </rect>
590 </property>
591 <property name="text">
592 <string>Sulfate (SO4) mg/L:</string>
593 </property>
594 <property name="alignment">
595 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
596 </property>
597 </widget>
598 <widget class="QLabel" name="clLabel">
599 <property name="geometry">
600 <rect>
601 <x>570</x>
602 <y>180</y>
603 <width>151</width>
604 <height>20</height>
605 </rect>
606 </property>
607 <property name="text">
608 <string>Chloride (Cl) mg/L:</string>
609 </property>
610 <property name="alignment">
611 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
612 </property>
613 </widget>
614 <widget class="QLabel" name="hcoLabel">
615 <property name="geometry">
616 <rect>
617 <x>540</x>
618 <y>210</y>
619 <width>181</width>
620 <height>20</height>
621 </rect>
622 </property>
623 <property name="text">
624 <string>Bicarbonate (HCO3) mg/L:</string>
625 </property>
626 <property name="alignment">
627 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
628 </property>
629 </widget>
630 <widget class="QLabel" name="alkalinityLabel">
631 <property name="geometry">
632 <rect>
633 <x>540</x>
634 <y>240</y>
635 <width>181</width>
636 <height>20</height>
637 </rect>
638 </property>
639 <property name="text">
640 <string>Alkalinity (CaCO3) mg/L:</string>
641 </property>
642 <property name="alignment">
643 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
644 </property>
645 </widget>
646 <widget class="QLabel" name="balanceLabel">
647 <property name="geometry">
648 <rect>
649 <x>570</x>
650 <y>290</y>
651 <width>151</width>
652 <height>20</height>
653 </rect>
654 </property>
655 <property name="text">
656 <string>Ion balance meq/L:</string>
657 </property>
658 <property name="alignment">
659 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
660 </property>
661 </widget>
662 <widget class="QLabel" name="balanceIcon">
663 <property name="geometry">
664 <rect>
665 <x>860</x>
666 <y>290</y>
667 <width>56</width>
668 <height>20</height>
669 </rect>
670 </property>
671 <property name="pixmap">
672 <pixmap resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc">:/icons/silk/tick.png</pixmap>
673 </property>
674 </widget>
675 </widget>
676 </item>
677 </layout>
678 </widget>
679 <tabstops>
680 <tabstop>nameEdit</tabstop>
681 <tabstop>notesEdit</tabstop>
682 <tabstop>inventoryEdit</tabstop>
683 <tabstop>costEdit</tabstop>
684 <tabstop>quitButton</tabstop>
685 <tabstop>deleteButton</tabstop>
686 <tabstop>saveButton</tabstop>
687 </tabstops>
688 <resources>
689 <include location="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"/>
690 </resources>
691 <connections/>
692 </ui>

mercurial