Wed, 18 May 2022 22:21:16 +0200
Added first part of the package tab.
175
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
1 | /** |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
2 | * EditProduct.cpp is part of bmsapp. |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
3 | * |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
4 | * Tab 11, package |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
5 | * |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
6 | * bmsapp is free software: you can redistribute it and/or modify |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
7 | * it under the terms of the GNU General Public License as published by |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
8 | * the Free Software Foundation, either version 3 of the License, or |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
9 | * (at your option) any later version. |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
10 | * |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
11 | * bmsapp is distributed in the hope that it will be useful, |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
14 | * GNU General Public License for more details. |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
15 | * |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
16 | * You should have received a copy of the GNU General Public License |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
18 | */ |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
19 | |
f1ed3a2a94e9
Initial import of EditProduct, the part from EditRecipe is ported.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
20 | |
220
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
21 | void EditProduct::calcPack() |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
22 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
23 | // qDebug() << "calcPack()" << product->package_volume << product->package_abv << "inf" << product->package_infuse_amount << product->package_infuse_abv; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
24 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
25 | double bvol = product->package_volume - (product->package_abv * product->package_volume) / 100.0; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
26 | double balc = product->package_volume - bvol; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
27 | double mvol = product->package_infuse_amount - (product->package_infuse_abv * product->package_infuse_amount) / 100.0; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
28 | double malc = product->package_infuse_amount - mvol; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
29 | double talc = balc + malc; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
30 | double tvol = bvol + mvol; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
31 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
32 | product->final_abv = round(talc / (tvol + talc) * 10000.0) / 100.0; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
33 | ui->pack_finalabvShow->setValue(product->final_abv); |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
34 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
35 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
36 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
37 | /* |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
38 | * Triggered by writing to ui->pack_abvShow |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
39 | */ |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
40 | void EditProduct::pack_abv_changed(double val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
41 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
42 | calcPack(); |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
43 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
44 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
45 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
46 | void EditProduct::pack_date_changed(QDate val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
47 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
48 | qDebug() << "pack_date_changed" << val; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
49 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
50 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
51 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
52 | void EditProduct::pack_date_button() |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
53 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
54 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
55 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
56 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
57 | void EditProduct::pack_date_ack() |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
58 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
59 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
60 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
61 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
62 | void EditProduct::pack_volume_changed(double val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
63 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
64 | product->package_volume = val; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
65 | calcPack(); |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
66 | is_changed(); |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
67 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
68 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
69 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
70 | void EditProduct::pack_ph_changed(double val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
71 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
72 | if (product->package_ph == 0) { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
73 | product->package_ph = 4.0; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
74 | const QSignalBlocker blocker1(ui->pack_phEdit); |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
75 | ui->pack_phEdit->setValue(4.0); |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
76 | } else { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
77 | product->package_ph = val; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
78 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
79 | is_changed(); |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
80 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
81 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
82 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
83 | void EditProduct::pack_infusion_vol_changed(double val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
84 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
85 | product->package_infuse_amount = val; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
86 | calcPack(); |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
87 | is_changed(); |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
88 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
89 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
90 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
91 | void EditProduct::pack_infusion_abv_changed(double val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
92 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
93 | product->package_infuse_abv = val; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
94 | calcPack(); |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
95 | is_changed(); |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
96 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
97 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
98 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
99 | void EditProduct::pack_infusion_txt_changed(QString val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
100 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
101 | product->package_infuse_notes = val; |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
102 | is_changed(); |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
103 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
104 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
105 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
106 | void EditProduct::bottle_volume_changed(double val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
107 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
108 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
109 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
110 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
111 | void EditProduct::bottle_co2_changed(double val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
112 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
113 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
114 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
115 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
116 | void EditProduct::bottle_sugar_changed(int val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
117 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
118 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
119 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
120 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
121 | void EditProduct::bottle_water_changed(double val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
122 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
123 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
124 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
125 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
126 | void EditProduct::bottle_temp_changed(double val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
127 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
128 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
129 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
130 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
131 | void EditProduct::kegs_volume_changed(double val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
132 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
133 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
134 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
135 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
136 | void EditProduct::kegs_co2_changed(double val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
137 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
138 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
139 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
140 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
141 | void EditProduct::kegs_sugar_changed(int val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
142 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
143 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
144 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
145 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
146 | void EditProduct::kegs_water_changed(double val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
147 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
148 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
149 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
150 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
151 | void EditProduct::kegs_forced_changed(bool val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
152 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
153 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
154 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
155 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
156 | void EditProduct::kegs_temp_changed(double val) |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
157 | { |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
158 | } |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
159 | |
7792a410a277
Added first part of the package tab.
Michiel Broek <mbroek@mbse.eu>
parents:
175
diff
changeset
|
160 |