292 void deleteHopRow_clicked(); |
292 void deleteHopRow_clicked(); |
293 void editHopRow_clicked(); |
293 void editHopRow_clicked(); |
294 void addMiscRow_clicked(); |
294 void addMiscRow_clicked(); |
295 void deleteMiscRow_clicked(); |
295 void deleteMiscRow_clicked(); |
296 void editMiscRow_clicked(); |
296 void editMiscRow_clicked(); |
|
297 void addYeastRow_clicked(); |
|
298 void deleteYeastRow_clicked(); |
|
299 void editYeastRow_clicked(); |
297 |
300 |
298 void w2_volume_changed(double val); |
301 void w2_volume_changed(double val); |
299 void wb_cacl2_changed(double val); |
302 void wb_cacl2_changed(double val); |
300 void wb_caso4_changed(double val); |
303 void wb_caso4_changed(double val); |
301 void wb_mgso4_changed(double val); |
304 void wb_mgso4_changed(double val); |
326 QStringList h_types = { tr("Bittering"), tr("Aroma"), tr("Both") }; |
329 QStringList h_types = { tr("Bittering"), tr("Aroma"), tr("Both") }; |
327 QStringList h_forms = { tr("Pellet"), tr("Plug"), tr("Leaf"), tr("Leaf wet"), tr("Cryo") }; |
330 QStringList h_forms = { tr("Pellet"), tr("Plug"), tr("Leaf"), tr("Leaf wet"), tr("Cryo") }; |
328 QStringList h_useat = { tr("Mash"), tr("First wort"), tr("Boil"), tr("Aroma"), tr("Whirlpool"), tr("Dry hop") }; |
331 QStringList h_useat = { tr("Mash"), tr("First wort"), tr("Boil"), tr("Aroma"), tr("Whirlpool"), tr("Dry hop") }; |
329 QStringList m_types = { tr("Spice"), tr("Herb"), tr("Flavor"), tr("Fining"), tr("Water agent"), tr("Yeast nutrient"), tr("Other") }; |
332 QStringList m_types = { tr("Spice"), tr("Herb"), tr("Flavor"), tr("Fining"), tr("Water agent"), tr("Yeast nutrient"), tr("Other") }; |
330 QStringList m_uses = { tr("Starter"), tr("Mash"), tr("Boil"), tr("Primary"), tr("Secondary"), tr("Bottling") }; |
333 QStringList m_uses = { tr("Starter"), tr("Mash"), tr("Boil"), tr("Primary"), tr("Secondary"), tr("Bottling") }; |
|
334 QStringList y_types = { tr("Liquid"), tr("Dry"), tr("Slant"), tr("Culture"), tr("Frozen"), tr("Bottle"), tr("Dried") }; |
|
335 QStringList y_use = { tr("Primary"), tr("Secondary"), tr("Tertiary"), tr("Bottle") }; |
331 QString bar_red = "QProgressBar::chunk {background: #FF0000;}"; |
336 QString bar_red = "QProgressBar::chunk {background: #FF0000;}"; |
332 QString bar_orange = "QProgressBar::chunk {background: #EB7331;}"; |
337 QString bar_orange = "QProgressBar::chunk {background: #EB7331;}"; |
333 QString bar_green = "QProgressBar::chunk {background: #008C00;}"; |
338 QString bar_green = "QProgressBar::chunk {background: #008C00;}"; |
334 QString bar_20 = "QProgressBar::chunk {background: #004D00;}"; |
339 QString bar_20 = "QProgressBar::chunk {background: #004D00;}"; |
335 QString bar_40 = "QProgressBar::chunk {background: #008C00;}"; |
340 QString bar_40 = "QProgressBar::chunk {background: #008C00;}"; |
352 |
357 |
353 void to100Fermentables(int row); |
358 void to100Fermentables(int row); |
354 static bool ferment_sort_test(const Fermentables &D1, const Fermentables &D2); |
359 static bool ferment_sort_test(const Fermentables &D1, const Fermentables &D2); |
355 static bool hop_sort_test(const Hops &D1, const Hops &D2); |
360 static bool hop_sort_test(const Hops &D1, const Hops &D2); |
356 static bool misc_sort_test(const Miscs &D1, const Miscs &D2); |
361 static bool misc_sort_test(const Miscs &D1, const Miscs &D2); |
|
362 static bool yeast_sort_test(const Yeasts &D1, const Yeasts &D2); |
357 void WindowTitle(); |
363 void WindowTitle(); |
358 void brewing_salt_sub(QString salt, double val); |
364 void brewing_salt_sub(QString salt, double val); |
359 void set_brewing_salt(QString salt, double val); |
365 void set_brewing_salt(QString salt, double val); |
360 void calcFermentables(); |
366 void calcFermentables(); |
361 void calcIBUs(); |
367 void calcIBUs(); |