src/EditProductTab9.cpp

changeset 210
b45bd6da5220
parent 209
19c50b1f58d3
child 212
8b84dd3579ef
--- a/src/EditProductTab9.cpp	Sun May 15 20:57:03 2022 +0200
+++ b/src/EditProductTab9.cpp	Sun May 15 23:10:15 2022 +0200
@@ -252,3 +252,90 @@
 }
 
 
+void EditProduct::brew_cooling_method_changed(int val)
+{
+    product->brew_cooling_method = val;
+    is_changed();
+}
+
+
+void EditProduct::brew_cooling_to_changed(double val)
+{
+    product->brew_cooling_to = val;
+    is_changed();
+}
+
+
+void EditProduct::brew_cooling_time_changed(double val)
+{
+    product->brew_cooling_time = val;
+    is_changed();
+}
+
+
+void EditProduct::brew_whirlpool9_changed(double val)
+{
+    product->brew_whirlpool9 = val;
+    is_changed();
+}
+
+
+void EditProduct::brew_whirlpool7_changed(double val)
+{
+    product->brew_whirlpool7 = val;
+    is_changed();
+}
+
+
+void EditProduct::brew_whirlpool6_changed(double val)
+{
+    product->brew_whirlpool6 = val;
+    is_changed();
+}
+
+
+void EditProduct::brew_whirlpool2_changed(double val)
+{
+    product->brew_whirlpool2 = val;
+    is_changed();
+}
+
+
+void EditProduct::brew_aerwith_changed(int val)
+{
+    product->brew_aeration_type = val;
+    is_changed();
+}
+
+
+void EditProduct::brew_aerspeed_changed(double val)
+{
+    product->brew_aeration_speed = val;
+    is_changed();
+}
+
+
+void EditProduct::brew_aertime_changed(double val)
+{
+    product->brew_aeration_time = val;
+    is_changed();
+}
+
+
+void EditProduct::brew_trubloss_changed(double val)
+{
+    product->brew_fermenter_tcloss = val;
+    is_changed();
+    calcFermentables(); // This will also recalculate all volumes.
+    calcIBUs();
+}
+
+
+void EditProduct::brew_topupwater_changed(double val)
+{
+    product->brew_fermenter_extrawater = val;
+    is_changed();
+    calcFermentables(); // This will also recalculate all volumes.
+    calcIBUs();
+}
+

mercurial