--- a/src/MainWindow.h Mon Mar 21 13:46:33 2022 +0100 +++ b/src/MainWindow.h Wed Mar 23 22:00:28 2022 +0100 @@ -1,6 +1,7 @@ #ifndef _MAINWINDOW_H #define _MAINWINDOW_H +#include "RecipesTree.h" #include "InventorySuppliers.h" #include "InventoryFermentables.h" #include "InventoryHops.h" @@ -32,6 +33,7 @@ ~MainWindow(); // Keep pointers to new windows. + RecipesTree *RecipesTreeWindow; InventorySuppliers *InventorySuppliersWindow; InventoryFermentables *InventoryFermentablesWindow; InventoryHops *InventoryHopsWindow; @@ -47,6 +49,7 @@ private slots: void on_actionExit_triggered(); + void on_actionRecipes_triggered(); void on_actionSuppliers_triggered(); void on_actionFermentables_triggered(); void on_actionHops_triggered(); @@ -64,6 +67,7 @@ void on_actionAbout_triggered(); public slots: + void fromRecipesTree(); void fromInventorySuppliers(); void fromInventoryFermentables(); void fromInventoryHops();