1
<?xml version="1.0" encoding="UTF-8"?>
3
<class>styleEditor</class>
4
<widget class="QDialog" name="styleEditor">
5
<property name="geometry">
13
<property name="windowTitle">
14
<string>Style Editor</string>
16
<layout class="QVBoxLayout" name="verticalLayout_7">
18
<layout class="QHBoxLayout" name="horizontalLayout">
20
<widget class="QLabel" name="label">
21
<property name="text">
22
<string>Style</string>
27
<widget class="StyleComboBox" name="styleComboBox">
28
<property name="sizePolicy">
29
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
30
<horstretch>0</horstretch>
31
<verstretch>0</verstretch>
34
<property name="minimumSize">
43
<widget class="QPushButton" name="pushButton_remove">
44
<property name="toolTip">
45
<string>Delete</string>
47
<property name="text">
50
<property name="icon">
51
<iconset resource="brewtarget.qrc">
52
<normaloff>:/images/smallMinus.png</normaloff>:/images/smallMinus.png</iconset>
57
<spacer name="horizontalSpacer">
58
<property name="orientation">
59
<enum>Qt::Horizontal</enum>
61
<property name="sizeHint" stdset="0">
72
<layout class="QHBoxLayout" name="horizontalLayout_21">
74
<layout class="QVBoxLayout" name="verticalLayout_6">
75
<property name="spacing">
79
<layout class="QHBoxLayout" name="horizontalLayout_19">
81
<widget class="QLabel" name="label_2">
82
<property name="sizePolicy">
83
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
84
<horstretch>0</horstretch>
85
<verstretch>0</verstretch>
88
<property name="text">
94
<widget class="QLineEdit" name="lineEdit_name">
95
<property name="sizePolicy">
96
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
97
<horstretch>100</horstretch>
98
<verstretch>0</verstretch>
101
<property name="minimumSize">
107
<property name="maximumSize">
110
<height>16777215</height>
118
<layout class="QHBoxLayout" name="horizontalLayout_18">
120
<widget class="QLabel" name="label_3">
121
<property name="sizePolicy">
122
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
123
<horstretch>0</horstretch>
124
<verstretch>0</verstretch>
127
<property name="text">
128
<string>Category</string>
133
<widget class="QLineEdit" name="lineEdit_category">
134
<property name="sizePolicy">
135
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
136
<horstretch>100</horstretch>
137
<verstretch>0</verstretch>
140
<property name="minimumSize">
146
<property name="maximumSize">
149
<height>16777215</height>
157
<layout class="QHBoxLayout" name="horizontalLayout_17">
159
<widget class="QLabel" name="label_4">
160
<property name="sizePolicy">
161
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
162
<horstretch>0</horstretch>
163
<verstretch>0</verstretch>
166
<property name="text">
167
<string>Category number</string>
172
<widget class="QLineEdit" name="lineEdit_categoryNumber">
173
<property name="sizePolicy">
174
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
175
<horstretch>100</horstretch>
176
<verstretch>0</verstretch>
179
<property name="minimumSize">
185
<property name="maximumSize">
188
<height>16777215</height>
196
<layout class="QHBoxLayout" name="horizontalLayout_16">
198
<widget class="QLabel" name="label_5">
199
<property name="sizePolicy">
200
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
201
<horstretch>0</horstretch>
202
<verstretch>0</verstretch>
205
<property name="text">
206
<string>Style letter</string>
211
<widget class="QLineEdit" name="lineEdit_styleLetter">
212
<property name="sizePolicy">
213
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
214
<horstretch>100</horstretch>
215
<verstretch>0</verstretch>
218
<property name="minimumSize">
224
<property name="maximumSize">
227
<height>16777215</height>
235
<layout class="QHBoxLayout" name="horizontalLayout_15">
237
<widget class="QLabel" name="label_6">
238
<property name="sizePolicy">
239
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
240
<horstretch>0</horstretch>
241
<verstretch>0</verstretch>
244
<property name="text">
245
<string>Style guide</string>
250
<widget class="QLineEdit" name="lineEdit_styleGuide">
251
<property name="sizePolicy">
252
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
253
<horstretch>100</horstretch>
254
<verstretch>0</verstretch>
257
<property name="minimumSize">
263
<property name="maximumSize">
266
<height>16777215</height>
274
<layout class="QHBoxLayout" name="horizontalLayout_14">
276
<widget class="QLabel" name="label_7">
277
<property name="sizePolicy">
278
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
279
<horstretch>0</horstretch>
280
<verstretch>0</verstretch>
283
<property name="text">
284
<string>Type</string>
289
<widget class="QComboBox" name="comboBox_type">
290
<property name="sizePolicy">
291
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
292
<horstretch>100</horstretch>
293
<verstretch>0</verstretch>
296
<property name="minimumSize">
302
<property name="maximumSize">
305
<height>16777215</height>
309
<property name="text">
310
<string>Lager</string>
314
<property name="text">
319
<property name="text">
320
<string>Mead</string>
324
<property name="text">
325
<string>Wheat</string>
329
<property name="text">
330
<string>Mixed</string>
334
<property name="text">
335
<string>Cider</string>
343
<layout class="QHBoxLayout" name="horizontalLayout_13">
345
<widget class="QLabel" name="label_8">
346
<property name="sizePolicy">
347
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
348
<horstretch>0</horstretch>
349
<verstretch>0</verstretch>
352
<property name="text">
353
<string>Min OG</string>
358
<widget class="QLineEdit" name="lineEdit_ogMin">
359
<property name="sizePolicy">
360
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
361
<horstretch>100</horstretch>
362
<verstretch>0</verstretch>
365
<property name="minimumSize">
371
<property name="maximumSize">
374
<height>16777215</height>
382
<layout class="QHBoxLayout" name="horizontalLayout_12">
384
<widget class="QLabel" name="label_9">
385
<property name="sizePolicy">
386
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
387
<horstretch>0</horstretch>
388
<verstretch>0</verstretch>
391
<property name="text">
392
<string>Max OG</string>
397
<widget class="QLineEdit" name="lineEdit_ogMax">
398
<property name="sizePolicy">
399
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
400
<horstretch>100</horstretch>
401
<verstretch>0</verstretch>
404
<property name="minimumSize">
410
<property name="maximumSize">
413
<height>16777215</height>
421
<layout class="QHBoxLayout" name="horizontalLayout_11">
423
<widget class="QLabel" name="label_10">
424
<property name="sizePolicy">
425
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
426
<horstretch>0</horstretch>
427
<verstretch>0</verstretch>
430
<property name="text">
431
<string>Min FG</string>
436
<widget class="QLineEdit" name="lineEdit_fgMin">
437
<property name="sizePolicy">
438
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
439
<horstretch>100</horstretch>
440
<verstretch>0</verstretch>
443
<property name="minimumSize">
449
<property name="maximumSize">
452
<height>16777215</height>
460
<layout class="QHBoxLayout" name="horizontalLayout_10">
462
<widget class="QLabel" name="label_11">
463
<property name="sizePolicy">
464
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
465
<horstretch>0</horstretch>
466
<verstretch>0</verstretch>
469
<property name="text">
470
<string>Max FG</string>
475
<widget class="QLineEdit" name="lineEdit_fgMax">
476
<property name="sizePolicy">
477
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
478
<horstretch>100</horstretch>
479
<verstretch>0</verstretch>
482
<property name="minimumSize">
488
<property name="maximumSize">
491
<height>16777215</height>
499
<layout class="QHBoxLayout" name="horizontalLayout_9">
501
<widget class="QLabel" name="label_12">
502
<property name="sizePolicy">
503
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
504
<horstretch>0</horstretch>
505
<verstretch>0</verstretch>
508
<property name="text">
509
<string>Min IBUs</string>
514
<widget class="QLineEdit" name="lineEdit_ibuMin">
515
<property name="sizePolicy">
516
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
517
<horstretch>100</horstretch>
518
<verstretch>0</verstretch>
521
<property name="minimumSize">
527
<property name="maximumSize">
530
<height>16777215</height>
538
<layout class="QHBoxLayout" name="horizontalLayout_8">
540
<widget class="QLabel" name="label_13">
541
<property name="sizePolicy">
542
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
543
<horstretch>0</horstretch>
544
<verstretch>0</verstretch>
547
<property name="text">
548
<string>Max IBUs</string>
553
<widget class="QLineEdit" name="lineEdit_ibuMax">
554
<property name="sizePolicy">
555
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
556
<horstretch>100</horstretch>
557
<verstretch>0</verstretch>
560
<property name="minimumSize">
566
<property name="maximumSize">
569
<height>16777215</height>
577
<layout class="QHBoxLayout" name="horizontalLayout_7">
579
<widget class="QLabel" name="label_14">
580
<property name="sizePolicy">
581
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
582
<horstretch>0</horstretch>
583
<verstretch>0</verstretch>
586
<property name="text">
587
<string>Min color (SRM)</string>
592
<widget class="QLineEdit" name="lineEdit_colorMin">
593
<property name="sizePolicy">
594
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
595
<horstretch>100</horstretch>
596
<verstretch>0</verstretch>
599
<property name="minimumSize">
605
<property name="maximumSize">
608
<height>16777215</height>
616
<layout class="QHBoxLayout" name="horizontalLayout_6">
618
<widget class="QLabel" name="label_15">
619
<property name="sizePolicy">
620
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
621
<horstretch>0</horstretch>
622
<verstretch>0</verstretch>
625
<property name="text">
626
<string>Max color (SRM)</string>
631
<widget class="QLineEdit" name="lineEdit_colorMax">
632
<property name="sizePolicy">
633
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
634
<horstretch>100</horstretch>
635
<verstretch>0</verstretch>
638
<property name="minimumSize">
644
<property name="maximumSize">
647
<height>16777215</height>
655
<layout class="QHBoxLayout" name="horizontalLayout_5">
657
<widget class="QLabel" name="label_16">
658
<property name="sizePolicy">
659
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
660
<horstretch>0</horstretch>
661
<verstretch>0</verstretch>
664
<property name="text">
665
<string>Min carb (vols)</string>
670
<widget class="QLineEdit" name="lineEdit_carbMin">
671
<property name="sizePolicy">
672
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
673
<horstretch>100</horstretch>
674
<verstretch>0</verstretch>
677
<property name="minimumSize">
683
<property name="maximumSize">
686
<height>16777215</height>
694
<layout class="QHBoxLayout" name="horizontalLayout_4">
696
<widget class="QLabel" name="label_17">
697
<property name="sizePolicy">
698
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
699
<horstretch>0</horstretch>
700
<verstretch>0</verstretch>
703
<property name="text">
704
<string>Max carb (vols)</string>
709
<widget class="QLineEdit" name="lineEdit_carbMax">
710
<property name="sizePolicy">
711
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
712
<horstretch>100</horstretch>
713
<verstretch>0</verstretch>
716
<property name="minimumSize">
722
<property name="maximumSize">
725
<height>16777215</height>
735
<layout class="QVBoxLayout" name="verticalLayout_5">
736
<property name="spacing">
740
<layout class="QHBoxLayout" name="horizontalLayout_3">
742
<widget class="QLabel" name="label_18">
743
<property name="sizePolicy">
744
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
745
<horstretch>0</horstretch>
746
<verstretch>0</verstretch>
749
<property name="text">
750
<string>Min ABV (pct)</string>
755
<widget class="QLineEdit" name="lineEdit_abvMin">
756
<property name="sizePolicy">
757
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
758
<horstretch>100</horstretch>
759
<verstretch>0</verstretch>
762
<property name="minimumSize">
768
<property name="maximumSize">
771
<height>16777215</height>
779
<layout class="QHBoxLayout" name="horizontalLayout_2">
781
<widget class="QLabel" name="label_19">
782
<property name="sizePolicy">
783
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
784
<horstretch>0</horstretch>
785
<verstretch>0</verstretch>
788
<property name="text">
789
<string>Max ABV (pct)</string>
794
<widget class="QLineEdit" name="lineEdit_abvMax">
795
<property name="sizePolicy">
796
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
797
<horstretch>100</horstretch>
798
<verstretch>0</verstretch>
801
<property name="minimumSize">
807
<property name="maximumSize">
810
<height>16777215</height>
818
<widget class="QGroupBox" name="groupBox_2">
819
<property name="maximumSize">
821
<width>16777215</width>
825
<property name="title">
826
<string>Profile</string>
828
<layout class="QVBoxLayout" name="verticalLayout_2">
830
<widget class="QTextEdit" name="textEdit_profile">
831
<property name="maximumSize">
833
<width>16777215</width>
834
<height>16777215</height>
843
<widget class="QGroupBox" name="groupBox_3">
844
<property name="maximumSize">
846
<width>16777215</width>
850
<property name="title">
851
<string>Ingredients</string>
853
<layout class="QVBoxLayout" name="verticalLayout_3">
855
<widget class="QTextEdit" name="textEdit_ingredients"/>
861
<widget class="QGroupBox" name="groupBox_4">
862
<property name="maximumSize">
864
<width>16777215</width>
868
<property name="title">
869
<string>Examples</string>
871
<layout class="QVBoxLayout" name="verticalLayout_4">
873
<widget class="QTextEdit" name="textEdit_examples"/>
879
<widget class="QGroupBox" name="groupBox">
880
<property name="maximumSize">
882
<width>16777215</width>
886
<property name="title">
887
<string>Notes</string>
889
<layout class="QVBoxLayout" name="verticalLayout">
891
<widget class="QTextEdit" name="textEdit_notes"/>
901
<layout class="QHBoxLayout" name="horizontalLayout_20">
903
<spacer name="horizontalSpacer_2">
904
<property name="orientation">
905
<enum>Qt::Horizontal</enum>
907
<property name="sizeHint" stdset="0">
916
<widget class="QPushButton" name="pushButton_new">
917
<property name="toolTip">
920
<property name="text">
923
<property name="icon">
924
<iconset resource="brewtarget.qrc">
925
<normaloff>:/images/smallPlus.png</normaloff>:/images/smallPlus.png</iconset>
930
<widget class="QPushButton" name="pushButton_save">
931
<property name="toolTip">
932
<string>Save</string>
934
<property name="text">
937
<property name="icon">
938
<iconset resource="brewtarget.qrc">
939
<normaloff>:/images/filesave.png</normaloff>:/images/filesave.png</iconset>
944
<widget class="QPushButton" name="pushButton_cancel">
945
<property name="toolTip">
946
<string>Cancel</string>
948
<property name="text">
951
<property name="icon">
952
<iconset resource="brewtarget.qrc">
953
<normaloff>:/images/exit.png</normaloff>:/images/exit.png</iconset>
964
<class>StyleComboBox</class>
965
<extends>QComboBox</extends>
966
<header>StyleComboBox.h</header>
970
<include location="brewtarget.qrc"/>