src/MainWindow.h

changeset 28
93a70b1502ca
parent 25
a9da2744609e
child 29
76846c99f827
equal deleted inserted replaced
27:94da58c66913 28:93a70b1502ca
3 3
4 #include "InventorySuppliers.h" 4 #include "InventorySuppliers.h"
5 #include "InventoryFermentables.h" 5 #include "InventoryFermentables.h"
6 #include "InventoryHops.h" 6 #include "InventoryHops.h"
7 #include "InventoryYeasts.h" 7 #include "InventoryYeasts.h"
8 #include "InventoryMiscs.h"
8 #include "Setup.h" 9 #include "Setup.h"
9 10
10 #include <QMainWindow> 11 #include <QMainWindow>
11 #include <QStandardItemModel> 12 #include <QStandardItemModel>
12 #include <QMenu> 13 #include <QMenu>
28 void on_actionExit_triggered(); 29 void on_actionExit_triggered();
29 void on_actionSuppliers_triggered(); 30 void on_actionSuppliers_triggered();
30 void on_actionFermentables_triggered(); 31 void on_actionFermentables_triggered();
31 void on_actionHops_triggered(); 32 void on_actionHops_triggered();
32 void on_actionYeasts_triggered(); 33 void on_actionYeasts_triggered();
34 void on_actionMiscs_triggered();
33 void on_actionSetup_triggered(); 35 void on_actionSetup_triggered();
34 void on_actionAbout_triggered(); 36 void on_actionAbout_triggered();
35 37
36 public slots: 38 public slots:
37 void fromInventorySuppliers(); 39 void fromInventorySuppliers();
38 void fromInventoryFermentables(); 40 void fromInventoryFermentables();
39 void fromInventoryHops(); 41 void fromInventoryHops();
40 void fromInventoryYeasts(); 42 void fromInventoryYeasts();
43 void fromInventoryMiscs();
41 void fromSetup(); 44 void fromSetup();
42 45
43 private: 46 private:
44 Ui::MainWindow *ui; 47 Ui::MainWindow *ui;
45 48
46 // Keep pointers to new windows. 49 // Keep pointers to new windows.
47 InventorySuppliers *InventorySuppliersWindow; 50 InventorySuppliers *InventorySuppliersWindow;
48 InventoryFermentables *InventoryFermentablesWindow; 51 InventoryFermentables *InventoryFermentablesWindow;
49 InventoryHops *InventoryHopsWindow; 52 InventoryHops *InventoryHopsWindow;
50 InventoryYeasts *InventoryYeastsWindow; 53 InventoryYeasts *InventoryYeastsWindow;
54 InventoryMiscs *InventoryMiscsWindow;
51 Setup *SetupWindow; 55 Setup *SetupWindow;
52 }; 56 };
53 57
54 #endif 58 #endif

mercurial