src/EditProduct.h

changeset 219
fa7cad488e27
parent 214
641540dc6ef2
child 220
7792a410a277
equal deleted inserted replaced
218:725da10db56c 219:fa7cad488e27
172 void brew_aerspeed_changed(double val); 172 void brew_aerspeed_changed(double val);
173 void brew_aertime_changed(double val); 173 void brew_aertime_changed(double val);
174 void brew_trubloss_changed(double val); 174 void brew_trubloss_changed(double val);
175 void brew_topupwater_changed(double val); 175 void brew_topupwater_changed(double val);
176 void brew_log_button(); 176 void brew_log_button();
177 void brix_changed(double val);
178 void primary_start_changed(double val);
179 void primary_peak_changed(double val);
180 void primary_end_changed(double val);
181 void primary_sg_changed(double val);
182 void primary_sg_button();
183 void primary_date_changed(QDate val);
184 void primary_date_button();
185 void primary_date_ack();
186 void secondary_temp_changed(double val);
187 void secondary_sg_changed(double val);
188 void secondary_sg_button();
189 void secondary_date_changed(QDate val);
190 void secondary_date_button();
191 void secondary_date_ack();
192 void tertiary_temp_changed(double val);
193 void tertiary_sg_changed(double val);
194 void tertiary_sg_button();
195 void ferm_log1_button();
196 void ferm_log2_button();
177 197
178 /* Modified progress bars */ 198 /* Modified progress bars */
179 void ferment_perc_mash_valueChanged(int value); 199 void ferment_perc_mash_valueChanged(int value);
180 void ferment_perc_sugars_valueChanged(int value); 200 void ferment_perc_sugars_valueChanged(int value);
181 void ferment_perc_cara_valueChanged(int value); 201 void ferment_perc_cara_valueChanged(int value);
193 QString bar_60 = "QProgressBar::chunk {background: #00BF00;}"; 213 QString bar_60 = "QProgressBar::chunk {background: #00BF00;}";
194 QString bar_80 = "QProgressBar::chunk {background: #00FF00;}"; 214 QString bar_80 = "QProgressBar::chunk {background: #00FF00;}";
195 QString bar_100 = "QProgressBar::chunk {background: #80FF80;}"; 215 QString bar_100 = "QProgressBar::chunk {background: #80FF80;}";
196 int recno; 216 int recno;
197 bool textIsChanged = false; 217 bool textIsChanged = false;
218 double ret_fg;
198 /* 219 /*
199 * Variables for popup ingredients editing. 220 * Variables for popup ingredients editing.
200 */ 221 */
201 QComboBox *fselectEdit, *faddedEdit, *hselectEdit,*haddedEdit, *useatEdit, *mselectEdit, *yselectEdit; 222 QComboBox *fselectEdit, *faddedEdit, *hselectEdit,*haddedEdit, *useatEdit, *mselectEdit, *yselectEdit;
202 QLineEdit *fnameEdit, *fsupplierEdit, *hnameEdit, *horiginEdit, *mnameEdit, *ynameEdit, *ylaboratoryEdit, *yproduct_idEdit, *stepnameEdit; 223 QLineEdit *fnameEdit, *fsupplierEdit, *hnameEdit, *horiginEdit, *mnameEdit, *ynameEdit, *ylaboratoryEdit, *yproduct_idEdit, *stepnameEdit;
247 void adjustWaters(double factor); 268 void adjustWaters(double factor);
248 void updateBrewday(); 269 void updateBrewday();
249 void calcEfficiencyBeforeBoil(); 270 void calcEfficiencyBeforeBoil();
250 void calcEfficiencyAfterBoil(); 271 void calcEfficiencyAfterBoil();
251 void brew_volume_calc(double volume, double kettle_volume, double kettle_height, double est_volume, bool aboil); 272 void brew_volume_calc(double volume, double kettle_volume, double kettle_height, double est_volume, bool aboil);
273 double get_fg(double gravity);
252 }; 274 };
253 275
254 #endif 276 #endif

mercurial