src/MainWindow.h

changeset 81
562ed7d1b74d
parent 78
3a6cba2dd05d
child 90
2396457a8167
equal deleted inserted replaced
80:b319a1175092 81:562ed7d1b74d
1 #ifndef _MAINWINDOW_H 1 #ifndef _MAINWINDOW_H
2 #define _MAINWINDOW_H 2 #define _MAINWINDOW_H
3 3
4 #include "RecipesTree.h"
4 #include "InventorySuppliers.h" 5 #include "InventorySuppliers.h"
5 #include "InventoryFermentables.h" 6 #include "InventoryFermentables.h"
6 #include "InventoryHops.h" 7 #include "InventoryHops.h"
7 #include "InventoryYeasts.h" 8 #include "InventoryYeasts.h"
8 #include "InventoryMiscs.h" 9 #include "InventoryMiscs.h"
30 public: 31 public:
31 explicit MainWindow(QWidget *parent = 0); 32 explicit MainWindow(QWidget *parent = 0);
32 ~MainWindow(); 33 ~MainWindow();
33 34
34 // Keep pointers to new windows. 35 // Keep pointers to new windows.
36 RecipesTree *RecipesTreeWindow;
35 InventorySuppliers *InventorySuppliersWindow; 37 InventorySuppliers *InventorySuppliersWindow;
36 InventoryFermentables *InventoryFermentablesWindow; 38 InventoryFermentables *InventoryFermentablesWindow;
37 InventoryHops *InventoryHopsWindow; 39 InventoryHops *InventoryHopsWindow;
38 InventoryYeasts *InventoryYeastsWindow; 40 InventoryYeasts *InventoryYeastsWindow;
39 InventoryMiscs *InventoryMiscsWindow; 41 InventoryMiscs *InventoryMiscsWindow;
45 ProfileFerments *ProfileFermentsWindow; 47 ProfileFerments *ProfileFermentsWindow;
46 Setup *SetupWindow; 48 Setup *SetupWindow;
47 49
48 private slots: 50 private slots:
49 void on_actionExit_triggered(); 51 void on_actionExit_triggered();
52 void on_actionRecipes_triggered();
50 void on_actionSuppliers_triggered(); 53 void on_actionSuppliers_triggered();
51 void on_actionFermentables_triggered(); 54 void on_actionFermentables_triggered();
52 void on_actionHops_triggered(); 55 void on_actionHops_triggered();
53 void on_actionYeasts_triggered(); 56 void on_actionYeasts_triggered();
54 void on_actionMiscs_triggered(); 57 void on_actionMiscs_triggered();
62 void on_actionFerments_profiles_triggered(); 65 void on_actionFerments_profiles_triggered();
63 void on_actionSetup_triggered(); 66 void on_actionSetup_triggered();
64 void on_actionAbout_triggered(); 67 void on_actionAbout_triggered();
65 68
66 public slots: 69 public slots:
70 void fromRecipesTree();
67 void fromInventorySuppliers(); 71 void fromInventorySuppliers();
68 void fromInventoryFermentables(); 72 void fromInventoryFermentables();
69 void fromInventoryHops(); 73 void fromInventoryHops();
70 void fromInventoryYeasts(); 74 void fromInventoryYeasts();
71 void fromInventoryMiscs(); 75 void fromInventoryMiscs();

mercurial