src/EditRecipe.h

changeset 144
c4b107bf153a
parent 143
8414844c9f8b
child 145
fd4f0de86fd9
equal deleted inserted replaced
143:8414844c9f8b 144:c4b107bf153a
111 111
112 struct Mashs 112 struct Mashs
113 { 113 {
114 QString step_name; 114 QString step_name;
115 int step_type; 115 int step_type;
116 double step_volume; // May not be present 116 double step_volume; ///< The water volume upto this step.
117 double step_infuse_amount; // May not be present 117 double step_infuse_amount; ///< Infuse/decoction volume this step.
118 double step_infuse_temp; // May not be present 118 double step_infuse_temp; ///< Infuse/decoction temperature.
119 double step_temp; 119 double step_temp; ///< Start tmperature this step.
120 double step_time; 120 double step_time; ///< Step rest time.
121 double ramp_time; 121 double ramp_time; ///< Estimated ramp time to this step.
122 double end_temp; 122 double end_temp; ///< End temperature this step.
123 double step_wg_ratio; // May not be present 123 double step_wg_ratio; ///< Current water/grain ratio.
124 }; 124 };
125 125
126 126
127 /* 127 /*
128 * The main recipe record stored in the database. 128 * The main recipe record stored in the database.
299 void deleteMiscRow_clicked(); 299 void deleteMiscRow_clicked();
300 void editMiscRow_clicked(); 300 void editMiscRow_clicked();
301 void addYeastRow_clicked(); 301 void addYeastRow_clicked();
302 void deleteYeastRow_clicked(); 302 void deleteYeastRow_clicked();
303 void editYeastRow_clicked(); 303 void editYeastRow_clicked();
304 void addMashRow_clicked();
305 void deleteMashRow_clicked();
306 void editMashRow_clicked();
307 void upMashRow_clicked();
308 void downMashRow_clicked();
304 309
305 void w2_volume_changed(double val); 310 void w2_volume_changed(double val);
306 void wb_cacl2_changed(double val); 311 void wb_cacl2_changed(double val);
307 void wb_caso4_changed(double val); 312 void wb_caso4_changed(double val);
308 void wb_mgso4_changed(double val); 313 void wb_mgso4_changed(double val);
337 QStringList m_uses = { tr("Starter"), tr("Mash"), tr("Boil"), tr("Primary"), tr("Secondary"), tr("Bottling") }; 342 QStringList m_uses = { tr("Starter"), tr("Mash"), tr("Boil"), tr("Primary"), tr("Secondary"), tr("Bottling") };
338 //QStringList y_types = { tr("Lager"), tr("Ale"), tr("Wheat"), tr("Wine"), tr("Champagne"), tr("Brett"), tr("Kveik"), tr("Hybrid") }; 343 //QStringList y_types = { tr("Lager"), tr("Ale"), tr("Wheat"), tr("Wine"), tr("Champagne"), tr("Brett"), tr("Kveik"), tr("Hybrid") };
339 QStringList y_forms = { tr("Liquid"), tr("Dry"), tr("Slant"), tr("Culture"), tr("Frozen"), tr("Bottle"), tr("Dried") }; 344 QStringList y_forms = { tr("Liquid"), tr("Dry"), tr("Slant"), tr("Culture"), tr("Frozen"), tr("Bottle"), tr("Dried") };
340 QStringList y_use = { tr("Primary"), tr("Secondary"), tr("Tertiary"), tr("Bottle") }; 345 QStringList y_use = { tr("Primary"), tr("Secondary"), tr("Tertiary"), tr("Bottle") };
341 QStringList starters = { tr("Stirred"), tr("Shaken"), tr("Simple") }; 346 QStringList starters = { tr("Stirred"), tr("Shaken"), tr("Simple") };
347 QStringList step_types = { tr("Infusion"), tr("Temperature"), tr("Decoction") };
342 QString bar_red = "QProgressBar::chunk {background: #FF0000;}"; 348 QString bar_red = "QProgressBar::chunk {background: #FF0000;}";
343 QString bar_orange = "QProgressBar::chunk {background: #EB7331;}"; 349 QString bar_orange = "QProgressBar::chunk {background: #EB7331;}";
344 QString bar_green = "QProgressBar::chunk {background: #008C00;}"; 350 QString bar_green = "QProgressBar::chunk {background: #008C00;}";
345 QString bar_20 = "QProgressBar::chunk {background: #004D00;}"; 351 QString bar_20 = "QProgressBar::chunk {background: #004D00;}";
346 QString bar_40 = "QProgressBar::chunk {background: #008C00;}"; 352 QString bar_40 = "QProgressBar::chunk {background: #008C00;}";

mercurial