ui/EditProfileStyle.ui

changeset 56
eb6c564192f4
equal deleted inserted replaced
55:2d8dbbc1ffab 56:eb6c564192f4
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>EditProfileStyle</class>
4 <widget class="QDialog" name="EditProfileStyle">
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="styleLabel">
20 <property name="geometry">
21 <rect>
22 <x>20</x>
23 <y>10</y>
24 <width>121</width>
25 <height>20</height>
26 </rect>
27 </property>
28 <property name="text">
29 <string>Beer style:</string>
30 </property>
31 <property name="alignment">
32 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
33 </property>
34 </widget>
35 <widget class="QLineEdit" name="styleEdit">
36 <property name="geometry">
37 <rect>
38 <x>150</x>
39 <y>10</y>
40 <width>311</width>
41 <height>23</height>
42 </rect>
43 </property>
44 <property name="maxLength">
45 <number>128</number>
46 </property>
47 <property name="placeholderText">
48 <string>Name of the beer style</string>
49 </property>
50 </widget>
51 <widget class="QPlainTextEdit" name="notesEdit">
52 <property name="geometry">
53 <rect>
54 <x>150</x>
55 <y>130</y>
56 <width>791</width>
57 <height>81</height>
58 </rect>
59 </property>
60 <property name="placeholderText">
61 <string>Remarks about this style.</string>
62 </property>
63 </widget>
64 <widget class="QPushButton" name="quitButton">
65 <property name="geometry">
66 <rect>
67 <x>90</x>
68 <y>510</y>
69 <width>80</width>
70 <height>23</height>
71 </rect>
72 </property>
73 <property name="sizePolicy">
74 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
75 <horstretch>0</horstretch>
76 <verstretch>0</verstretch>
77 </sizepolicy>
78 </property>
79 <property name="text">
80 <string>Quit</string>
81 </property>
82 <property name="icon">
83 <iconset>
84 <normaloff>:icons/silk/door_out.png</normaloff>:icons/silk/door_out.png</iconset>
85 </property>
86 </widget>
87 <widget class="QPushButton" name="saveButton">
88 <property name="enabled">
89 <bool>false</bool>
90 </property>
91 <property name="geometry">
92 <rect>
93 <x>850</x>
94 <y>510</y>
95 <width>80</width>
96 <height>23</height>
97 </rect>
98 </property>
99 <property name="text">
100 <string>Save</string>
101 </property>
102 <property name="icon">
103 <iconset>
104 <normaloff>:icons/silk/disk.png</normaloff>:icons/silk/disk.png</iconset>
105 </property>
106 </widget>
107 <widget class="QPushButton" name="deleteButton">
108 <property name="enabled">
109 <bool>false</bool>
110 </property>
111 <property name="geometry">
112 <rect>
113 <x>463</x>
114 <y>510</y>
115 <width>80</width>
116 <height>23</height>
117 </rect>
118 </property>
119 <property name="text">
120 <string>Delete</string>
121 </property>
122 <property name="icon">
123 <iconset>
124 <normaloff>:icons/silk/delete.png</normaloff>:icons/silk/delete.png</iconset>
125 </property>
126 </widget>
127 <widget class="QLabel" name="groupLabel">
128 <property name="geometry">
129 <rect>
130 <x>500</x>
131 <y>10</y>
132 <width>121</width>
133 <height>20</height>
134 </rect>
135 </property>
136 <property name="text">
137 <string>Beer group:</string>
138 </property>
139 <property name="alignment">
140 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
141 </property>
142 </widget>
143 <widget class="QLineEdit" name="groupEdit">
144 <property name="geometry">
145 <rect>
146 <x>630</x>
147 <y>10</y>
148 <width>311</width>
149 <height>23</height>
150 </rect>
151 </property>
152 <property name="maxLength">
153 <number>128</number>
154 </property>
155 <property name="placeholderText">
156 <string>Name of the beer group</string>
157 </property>
158 </widget>
159 <widget class="QLabel" name="catLabel">
160 <property name="geometry">
161 <rect>
162 <x>20</x>
163 <y>40</y>
164 <width>121</width>
165 <height>20</height>
166 </rect>
167 </property>
168 <property name="text">
169 <string>Category:</string>
170 </property>
171 <property name="alignment">
172 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
173 </property>
174 </widget>
175 <widget class="QLabel" name="catnrLabel">
176 <property name="geometry">
177 <rect>
178 <x>500</x>
179 <y>40</y>
180 <width>121</width>
181 <height>20</height>
182 </rect>
183 </property>
184 <property name="text">
185 <string>Category number:</string>
186 </property>
187 <property name="alignment">
188 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
189 </property>
190 </widget>
191 <widget class="QLineEdit" name="catEdit">
192 <property name="geometry">
193 <rect>
194 <x>150</x>
195 <y>40</y>
196 <width>311</width>
197 <height>23</height>
198 </rect>
199 </property>
200 <property name="maxLength">
201 <number>128</number>
202 </property>
203 <property name="placeholderText">
204 <string>BJCP beer category</string>
205 </property>
206 </widget>
207 <widget class="QSpinBox" name="catnrEdit">
208 <property name="geometry">
209 <rect>
210 <x>630</x>
211 <y>40</y>
212 <width>101</width>
213 <height>24</height>
214 </rect>
215 </property>
216 <property name="alignment">
217 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
218 </property>
219 <property name="accelerated">
220 <bool>true</bool>
221 </property>
222 </widget>
223 <widget class="QLabel" name="profileLabel">
224 <property name="geometry">
225 <rect>
226 <x>20</x>
227 <y>70</y>
228 <width>121</width>
229 <height>20</height>
230 </rect>
231 </property>
232 <property name="text">
233 <string>Profile:</string>
234 </property>
235 <property name="alignment">
236 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
237 </property>
238 </widget>
239 <widget class="QPlainTextEdit" name="profileEdit">
240 <property name="geometry">
241 <rect>
242 <x>150</x>
243 <y>70</y>
244 <width>791</width>
245 <height>51</height>
246 </rect>
247 </property>
248 <property name="placeholderText">
249 <string>Profile description.</string>
250 </property>
251 </widget>
252 <widget class="QLabel" name="notesLabel">
253 <property name="geometry">
254 <rect>
255 <x>20</x>
256 <y>130</y>
257 <width>121</width>
258 <height>20</height>
259 </rect>
260 </property>
261 <property name="text">
262 <string>Remarks:</string>
263 </property>
264 <property name="alignment">
265 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
266 </property>
267 </widget>
268 <widget class="QLabel" name="typeLabel">
269 <property name="geometry">
270 <rect>
271 <x>20</x>
272 <y>220</y>
273 <width>121</width>
274 <height>20</height>
275 </rect>
276 </property>
277 <property name="text">
278 <string>Type:</string>
279 </property>
280 <property name="alignment">
281 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
282 </property>
283 </widget>
284 <widget class="QComboBox" name="typeEdit">
285 <property name="geometry">
286 <rect>
287 <x>150</x>
288 <y>220</y>
289 <width>201</width>
290 <height>23</height>
291 </rect>
292 </property>
293 </widget>
294 <widget class="QLabel" name="guideLabel">
295 <property name="geometry">
296 <rect>
297 <x>500</x>
298 <y>220</y>
299 <width>121</width>
300 <height>20</height>
301 </rect>
302 </property>
303 <property name="text">
304 <string>Style guide:</string>
305 </property>
306 <property name="alignment">
307 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
308 </property>
309 </widget>
310 <widget class="QLineEdit" name="guideEdit">
311 <property name="geometry">
312 <rect>
313 <x>630</x>
314 <y>220</y>
315 <width>311</width>
316 <height>23</height>
317 </rect>
318 </property>
319 <property name="maxLength">
320 <number>128</number>
321 </property>
322 <property name="placeholderText">
323 <string>The name of the style guide</string>
324 </property>
325 </widget>
326 <widget class="QLabel" name="ogLabel">
327 <property name="geometry">
328 <rect>
329 <x>20</x>
330 <y>250</y>
331 <width>121</width>
332 <height>20</height>
333 </rect>
334 </property>
335 <property name="text">
336 <string>Original Gravity:</string>
337 </property>
338 <property name="alignment">
339 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
340 </property>
341 </widget>
342 <widget class="QLabel" name="fgLabel">
343 <property name="geometry">
344 <rect>
345 <x>20</x>
346 <y>280</y>
347 <width>121</width>
348 <height>20</height>
349 </rect>
350 </property>
351 <property name="text">
352 <string>Final Gravity:</string>
353 </property>
354 <property name="alignment">
355 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
356 </property>
357 </widget>
358 <widget class="QLabel" name="ibuLabel">
359 <property name="geometry">
360 <rect>
361 <x>20</x>
362 <y>310</y>
363 <width>121</width>
364 <height>20</height>
365 </rect>
366 </property>
367 <property name="text">
368 <string>IBU:</string>
369 </property>
370 <property name="alignment">
371 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
372 </property>
373 </widget>
374 <widget class="QDoubleSpinBox" name="ogminEdit">
375 <property name="geometry">
376 <rect>
377 <x>150</x>
378 <y>250</y>
379 <width>91</width>
380 <height>24</height>
381 </rect>
382 </property>
383 <property name="accelerated">
384 <bool>true</bool>
385 </property>
386 <property name="decimals">
387 <number>3</number>
388 </property>
389 <property name="minimum">
390 <double>1.000000000000000</double>
391 </property>
392 <property name="maximum">
393 <double>2.000000000000000</double>
394 </property>
395 <property name="singleStep">
396 <double>0.001000000000000</double>
397 </property>
398 </widget>
399 <widget class="QDoubleSpinBox" name="ogmaxEdit">
400 <property name="geometry">
401 <rect>
402 <x>260</x>
403 <y>250</y>
404 <width>91</width>
405 <height>24</height>
406 </rect>
407 </property>
408 <property name="accelerated">
409 <bool>true</bool>
410 </property>
411 <property name="decimals">
412 <number>3</number>
413 </property>
414 <property name="minimum">
415 <double>1.000000000000000</double>
416 </property>
417 <property name="maximum">
418 <double>2.000000000000000</double>
419 </property>
420 <property name="singleStep">
421 <double>0.001000000000000</double>
422 </property>
423 </widget>
424 <widget class="QDoubleSpinBox" name="fgminEdit">
425 <property name="geometry">
426 <rect>
427 <x>150</x>
428 <y>280</y>
429 <width>91</width>
430 <height>24</height>
431 </rect>
432 </property>
433 <property name="accelerated">
434 <bool>true</bool>
435 </property>
436 <property name="decimals">
437 <number>3</number>
438 </property>
439 <property name="minimum">
440 <double>1.000000000000000</double>
441 </property>
442 <property name="maximum">
443 <double>2.000000000000000</double>
444 </property>
445 <property name="singleStep">
446 <double>0.001000000000000</double>
447 </property>
448 </widget>
449 <widget class="QDoubleSpinBox" name="fgmaxEdit">
450 <property name="geometry">
451 <rect>
452 <x>260</x>
453 <y>280</y>
454 <width>91</width>
455 <height>24</height>
456 </rect>
457 </property>
458 <property name="accelerated">
459 <bool>true</bool>
460 </property>
461 <property name="decimals">
462 <number>3</number>
463 </property>
464 <property name="minimum">
465 <double>1.000000000000000</double>
466 </property>
467 <property name="maximum">
468 <double>2.000000000000000</double>
469 </property>
470 <property name="singleStep">
471 <double>0.001000000000000</double>
472 </property>
473 </widget>
474 <widget class="QSpinBox" name="ibuminEdit">
475 <property name="geometry">
476 <rect>
477 <x>150</x>
478 <y>310</y>
479 <width>91</width>
480 <height>24</height>
481 </rect>
482 </property>
483 <property name="accelerated">
484 <bool>true</bool>
485 </property>
486 <property name="maximum">
487 <number>999</number>
488 </property>
489 </widget>
490 <widget class="QSpinBox" name="ibumaxEdit">
491 <property name="geometry">
492 <rect>
493 <x>260</x>
494 <y>310</y>
495 <width>91</width>
496 <height>24</height>
497 </rect>
498 </property>
499 <property name="accelerated">
500 <bool>true</bool>
501 </property>
502 <property name="maximum">
503 <number>999</number>
504 </property>
505 </widget>
506 <widget class="QLabel" name="ebcLabel">
507 <property name="geometry">
508 <rect>
509 <x>500</x>
510 <y>250</y>
511 <width>121</width>
512 <height>20</height>
513 </rect>
514 </property>
515 <property name="text">
516 <string>EBC:</string>
517 </property>
518 <property name="alignment">
519 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
520 </property>
521 </widget>
522 <widget class="QLabel" name="co2Label">
523 <property name="geometry">
524 <rect>
525 <x>500</x>
526 <y>280</y>
527 <width>121</width>
528 <height>20</height>
529 </rect>
530 </property>
531 <property name="text">
532 <string>Co2:</string>
533 </property>
534 <property name="alignment">
535 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
536 </property>
537 </widget>
538 <widget class="QLabel" name="abvLabel">
539 <property name="geometry">
540 <rect>
541 <x>500</x>
542 <y>310</y>
543 <width>121</width>
544 <height>20</height>
545 </rect>
546 </property>
547 <property name="text">
548 <string>ABV:</string>
549 </property>
550 <property name="alignment">
551 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
552 </property>
553 </widget>
554 <widget class="QSpinBox" name="ebcminEdit">
555 <property name="geometry">
556 <rect>
557 <x>630</x>
558 <y>250</y>
559 <width>91</width>
560 <height>24</height>
561 </rect>
562 </property>
563 <property name="accelerated">
564 <bool>true</bool>
565 </property>
566 <property name="maximum">
567 <number>999</number>
568 </property>
569 </widget>
570 <widget class="QSpinBox" name="ebcmaxEdit">
571 <property name="geometry">
572 <rect>
573 <x>740</x>
574 <y>250</y>
575 <width>91</width>
576 <height>24</height>
577 </rect>
578 </property>
579 <property name="accelerated">
580 <bool>true</bool>
581 </property>
582 <property name="maximum">
583 <number>999</number>
584 </property>
585 </widget>
586 <widget class="QDoubleSpinBox" name="co2minEdit">
587 <property name="geometry">
588 <rect>
589 <x>630</x>
590 <y>280</y>
591 <width>91</width>
592 <height>24</height>
593 </rect>
594 </property>
595 <property name="accelerated">
596 <bool>true</bool>
597 </property>
598 <property name="decimals">
599 <number>1</number>
600 </property>
601 <property name="singleStep">
602 <double>0.100000000000000</double>
603 </property>
604 </widget>
605 <widget class="QDoubleSpinBox" name="co2maxEdit">
606 <property name="geometry">
607 <rect>
608 <x>740</x>
609 <y>280</y>
610 <width>91</width>
611 <height>24</height>
612 </rect>
613 </property>
614 <property name="accelerated">
615 <bool>true</bool>
616 </property>
617 <property name="decimals">
618 <number>1</number>
619 </property>
620 <property name="singleStep">
621 <double>0.100000000000000</double>
622 </property>
623 </widget>
624 <widget class="QDoubleSpinBox" name="abvminEdit">
625 <property name="geometry">
626 <rect>
627 <x>630</x>
628 <y>310</y>
629 <width>91</width>
630 <height>24</height>
631 </rect>
632 </property>
633 <property name="accelerated">
634 <bool>true</bool>
635 </property>
636 <property name="decimals">
637 <number>1</number>
638 </property>
639 <property name="singleStep">
640 <double>0.100000000000000</double>
641 </property>
642 </widget>
643 <widget class="QDoubleSpinBox" name="abvmaxEdit">
644 <property name="geometry">
645 <rect>
646 <x>740</x>
647 <y>310</y>
648 <width>91</width>
649 <height>24</height>
650 </rect>
651 </property>
652 <property name="accelerated">
653 <bool>true</bool>
654 </property>
655 <property name="decimals">
656 <number>1</number>
657 </property>
658 <property name="singleStep">
659 <double>0.100000000000000</double>
660 </property>
661 </widget>
662 <widget class="QLabel" name="ingredientsLabel">
663 <property name="geometry">
664 <rect>
665 <x>20</x>
666 <y>340</y>
667 <width>121</width>
668 <height>20</height>
669 </rect>
670 </property>
671 <property name="text">
672 <string>Ingredients:</string>
673 </property>
674 <property name="alignment">
675 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
676 </property>
677 </widget>
678 <widget class="QLabel" name="examplesLabel">
679 <property name="geometry">
680 <rect>
681 <x>20</x>
682 <y>400</y>
683 <width>121</width>
684 <height>20</height>
685 </rect>
686 </property>
687 <property name="text">
688 <string>Examples:</string>
689 </property>
690 <property name="alignment">
691 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
692 </property>
693 </widget>
694 <widget class="QPlainTextEdit" name="ingredientsEdit">
695 <property name="geometry">
696 <rect>
697 <x>150</x>
698 <y>340</y>
699 <width>791</width>
700 <height>51</height>
701 </rect>
702 </property>
703 <property name="placeholderText">
704 <string>Ingredients used in this style.</string>
705 </property>
706 </widget>
707 <widget class="QPlainTextEdit" name="examplesEdit">
708 <property name="geometry">
709 <rect>
710 <x>150</x>
711 <y>400</y>
712 <width>791</width>
713 <height>81</height>
714 </rect>
715 </property>
716 <property name="placeholderText">
717 <string>Examples of this style.</string>
718 </property>
719 </widget>
720 </widget>
721 </item>
722 </layout>
723 </widget>
724 <tabstops>
725 <tabstop>styleEdit</tabstop>
726 <tabstop>notesEdit</tabstop>
727 <tabstop>quitButton</tabstop>
728 <tabstop>deleteButton</tabstop>
729 <tabstop>saveButton</tabstop>
730 </tabstops>
731 <resources>
732 <include location="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"/>
733 </resources>
734 <connections/>
735 </ui>

mercurial