src/EditRecipe.h

changeset 144
c4b107bf153a
parent 143
8414844c9f8b
child 145
fd4f0de86fd9
--- a/src/EditRecipe.h	Mon Apr 18 21:56:11 2022 +0200
+++ b/src/EditRecipe.h	Tue Apr 19 11:17:16 2022 +0200
@@ -113,14 +113,14 @@
 {
     QString	step_name;
     int		step_type;
-    double	step_volume;		// May not be present
-    double	step_infuse_amount;	// May not be present
-    double	step_infuse_temp;	// May not be present
-    double	step_temp;
-    double	step_time;
-    double	ramp_time;
-    double	end_temp;
-    double	step_wg_ratio;		// May not be present
+    double	step_volume;		///< The water volume upto this step.
+    double	step_infuse_amount;	///< Infuse/decoction volume this step.
+    double	step_infuse_temp;	///< Infuse/decoction temperature.
+    double	step_temp;		///< Start tmperature this step.
+    double	step_time;		///< Step rest time.
+    double	ramp_time;		///< Estimated ramp time to this step.
+    double	end_temp;		///< End temperature this step.
+    double	step_wg_ratio;		///< Current water/grain ratio.
 };
 
 
@@ -301,6 +301,11 @@
     void addYeastRow_clicked();
     void deleteYeastRow_clicked();
     void editYeastRow_clicked();
+    void addMashRow_clicked();
+    void deleteMashRow_clicked();
+    void editMashRow_clicked();
+    void upMashRow_clicked();
+    void downMashRow_clicked();
 
     void w2_volume_changed(double val);
     void wb_cacl2_changed(double val);
@@ -339,6 +344,7 @@
     QStringList y_forms = { tr("Liquid"), tr("Dry"), tr("Slant"), tr("Culture"), tr("Frozen"), tr("Bottle"), tr("Dried") };
     QStringList y_use = { tr("Primary"), tr("Secondary"), tr("Tertiary"), tr("Bottle") };
     QStringList starters = { tr("Stirred"), tr("Shaken"), tr("Simple") };
+    QStringList step_types = { tr("Infusion"), tr("Temperature"), tr("Decoction") };
     QString bar_red = "QProgressBar::chunk {background: #FF0000;}";
     QString bar_orange = "QProgressBar::chunk {background: #EB7331;}";
     QString bar_green = "QProgressBar::chunk {background: #008C00;}";

mercurial