src/EditRecipe.h

changeset 143
8414844c9f8b
parent 142
1caa15a0eefc
child 144
c4b107bf153a
equal deleted inserted replaced
142:1caa15a0eefc 143:8414844c9f8b
283 void misc_amount_changed(double val); 283 void misc_amount_changed(double val);
284 void misc_time_changed(int val); 284 void misc_time_changed(int val);
285 void misc_select_changed(int val); 285 void misc_select_changed(int val);
286 void misc_instock_changed(bool val); 286 void misc_instock_changed(bool val);
287 void misc_useat_changed(int val); 287 void misc_useat_changed(int val);
288 void yeast_amount_changed(double val);
289 void yeast_select_changed(int val);
290 void yeast_instock_changed(bool val);
291 void yeast_useat_changed(int val);
288 void addFermentRow_clicked(); 292 void addFermentRow_clicked();
289 void deleteFermentRow_clicked(); 293 void deleteFermentRow_clicked();
290 void editFermentRow_clicked(); 294 void editFermentRow_clicked();
291 void addHopRow_clicked(); 295 void addHopRow_clicked();
292 void deleteHopRow_clicked(); 296 void deleteHopRow_clicked();
348 bool ignoreChanges = false; 352 bool ignoreChanges = false;
349 Recipe *recipe; 353 Recipe *recipe;
350 /* 354 /*
351 * Variables for popup ingredients editing. 355 * Variables for popup ingredients editing.
352 */ 356 */
353 QComboBox *fselectEdit, *faddedEdit, *hselectEdit,*haddedEdit, *useatEdit, *mselectEdit; 357 QComboBox *fselectEdit, *faddedEdit, *hselectEdit,*haddedEdit, *useatEdit, *mselectEdit, *yselectEdit;
354 QLineEdit *fnameEdit, *fsupplierEdit, *hnameEdit, *horiginEdit, *mnameEdit; 358 QLineEdit *fnameEdit, *fsupplierEdit, *hnameEdit, *horiginEdit, *mnameEdit, *ynameEdit, *ylaboratoryEdit, *yproduct_idEdit;
355 QDoubleSpinBox *famountEdit, *pctEdit, *fmaxEdit, *hamountEdit, *ibuEdit, *mamountEdit; 359 QDoubleSpinBox *famountEdit, *pctEdit, *fmaxEdit, *hamountEdit, *ibuEdit, *mamountEdit, *yamountEdit;
356 QSpinBox *htimeEdit, *mtimeEdit; 360 QSpinBox *htimeEdit, *mtimeEdit;
357 QCheckBox *to100Edit, *finstockEdit, *hinstockEdit, *minstockEdit; 361 QCheckBox *to100Edit, *finstockEdit, *hinstockEdit, *minstockEdit, *yinstockEdit;
358 QLabel *htimeLabel, *mtimeLabel, *mamountLabel; 362 QLabel *htimeLabel, *mtimeLabel, *mamountLabel;
359 363
360 void to100Fermentables(int row); 364 void to100Fermentables(int row);
361 static bool ferment_sort_test(const Fermentables &D1, const Fermentables &D2); 365 static bool ferment_sort_test(const Fermentables &D1, const Fermentables &D2);
362 static bool hop_sort_test(const Hops &D1, const Hops &D2); 366 static bool hop_sort_test(const Hops &D1, const Hops &D2);

mercurial