371 QString bar_60 = "QProgressBar::chunk {background: #00BF00;}"; |
371 QString bar_60 = "QProgressBar::chunk {background: #00BF00;}"; |
372 QString bar_80 = "QProgressBar::chunk {background: #00FF00;}"; |
372 QString bar_80 = "QProgressBar::chunk {background: #00FF00;}"; |
373 QString bar_100 = "QProgressBar::chunk {background: #80FF80;}"; |
373 QString bar_100 = "QProgressBar::chunk {background: #80FF80;}"; |
374 int recno; |
374 int recno; |
375 bool textIsChanged = false; |
375 bool textIsChanged = false; |
376 bool ignoreChanges = false; |
|
377 Recipe *recipe; |
376 Recipe *recipe; |
378 /* |
377 /* |
379 * Variables for popup ingredients editing. |
378 * Variables for popup ingredients editing. |
380 */ |
379 */ |
381 QComboBox *fselectEdit, *faddedEdit, *hselectEdit,*haddedEdit, *useatEdit, *mselectEdit, *yselectEdit; |
380 QComboBox *fselectEdit, *faddedEdit, *hselectEdit,*haddedEdit, *useatEdit, *mselectEdit, *yselectEdit; |
382 QLineEdit *fnameEdit, *fsupplierEdit, *hnameEdit, *horiginEdit, *mnameEdit, *ynameEdit, *ylaboratoryEdit, *yproduct_idEdit, *stepnameEdit; |
381 QLineEdit *fnameEdit, *fsupplierEdit, *hnameEdit, *horiginEdit, *mnameEdit, *ynameEdit, *ylaboratoryEdit, *yproduct_idEdit, *stepnameEdit; |
383 QDoubleSpinBox *famountEdit, *pctEdit, *fmaxEdit, *hamountEdit, *ibuEdit, *mamountEdit, *yamountEdit; |
382 QDoubleSpinBox *famountEdit, *pctEdit, *fmaxEdit, *hamountEdit, *ibuEdit, *mamountEdit, *yamountEdit; |
384 QDoubleSpinBox *steptempEdit, *endtempEdit, *steptimeEdit, *ramptimeEdit, *stepivolEdit, *stepitmpEdit; |
383 QDoubleSpinBox *steptempEdit, *endtempEdit, *steptimeEdit, *ramptimeEdit, *stepivolEdit, *stepitmpEdit; |
385 QSpinBox *htimeEdit, *mtimeEdit; |
384 QSpinBox *htimeEdit, *mtimeEdit; |
386 QCheckBox *to100Edit, *finstockEdit, *hinstockEdit, *minstockEdit, *yinstockEdit; |
385 QCheckBox *to100Edit, *finstockEdit, *hinstockEdit, *minstockEdit, *yinstockEdit; |
387 QLabel *htimeLabel, *mtimeLabel, *mamountLabel, *ivolLabel, *itmpLabel; |
386 QLabel *htimeLabel, *mtimeLabel, *mamountLabel, *yamountLabel, *ivolLabel, *itmpLabel; |
388 |
387 |
389 void to100Fermentables(int row); |
388 void to100Fermentables(int row); |
390 static bool ferment_sort_test(const Fermentables &D1, const Fermentables &D2); |
389 static bool ferment_sort_test(const Fermentables &D1, const Fermentables &D2); |
391 static bool hop_sort_test(const Hops &D1, const Hops &D2); |
390 static bool hop_sort_test(const Hops &D1, const Hops &D2); |
392 static bool misc_sort_test(const Miscs &D1, const Miscs &D2); |
391 static bool misc_sort_test(const Miscs &D1, const Miscs &D2); |