--- a/src/EditRecipe.h Mon Apr 11 22:32:04 2022 +0200 +++ b/src/EditRecipe.h Tue Apr 12 21:03:19 2022 +0200 @@ -267,6 +267,7 @@ void refreshMiscs(); void refreshYeasts(); void refreshMashs(); + void refreshWaters(); void refreshAll(); void ferment_amount_changed(double val); void ferment_pct_changed(double val); @@ -302,6 +303,8 @@ QStringList h_types = { tr("Bittering"), tr("Aroma"), tr("Both") }; QStringList h_forms = { tr("Pellet"), tr("Plug"), tr("Leaf"), tr("Leaf wet"), tr("Cryo") }; QStringList h_useat = { tr("Mash"), tr("First wort"), tr("Boil"), tr("Aroma"), tr("Whirlpool"), tr("Dry hop") }; + QStringList m_types = { tr("Spice"), tr("Herb"), tr("Flavor"), tr("Fining"), tr("Water agent"), tr("Yeast nutrient"), tr("Other") }; + QStringList m_uses = { tr("Starter"), tr("Mash"), tr("Boil"), tr("Primary"), tr("Secondary"), tr("Bottling") }; QString bar_red = "QProgressBar::chunk {background: #FF0000;}"; QString bar_orange = "QProgressBar::chunk {background: #EB7331;}"; QString bar_green = "QProgressBar::chunk {background: #008C00;}"; @@ -327,6 +330,7 @@ void to100Fermentables(int row); static bool ferment_sort_test(const Fermentables &D1, const Fermentables &D2); static bool hop_sort_test(const Hops &D1, const Hops &D2); + static bool misc_sort_test(const Miscs &D1, const Miscs &D2); void WindowTitle(); void calcFermentables(); void calcIBUs();