src/MainWindow.h

changeset 24
684c6e74cc1b
parent 19
c94edc758a5b
child 25
a9da2744609e
equal deleted inserted replaced
23:1ac3fb2569c1 24:684c6e74cc1b
1 #ifndef _MAINWINDOW_H 1 #ifndef _MAINWINDOW_H
2 #define _MAINWINDOW_H 2 #define _MAINWINDOW_H
3 3
4 #include "InventorySuppliers.h" 4 #include "InventorySuppliers.h"
5 #include "InventoryFermentables.h" 5 #include "InventoryFermentables.h"
6 #include "InventoryHops.h"
6 #include "Setup.h" 7 #include "Setup.h"
7 8
8 #include <QMainWindow> 9 #include <QMainWindow>
9 #include <QStandardItemModel> 10 #include <QStandardItemModel>
10 #include <QMenu> 11 #include <QMenu>
24 25
25 private slots: 26 private slots:
26 void on_actionExit_triggered(); 27 void on_actionExit_triggered();
27 void on_actionSuppliers_triggered(); 28 void on_actionSuppliers_triggered();
28 void on_actionFermentables_triggered(); 29 void on_actionFermentables_triggered();
30 void on_actionHops_triggered();
29 void on_actionSetup_triggered(); 31 void on_actionSetup_triggered();
30 void on_actionAbout_triggered(); 32 void on_actionAbout_triggered();
31 33
32 public slots: 34 public slots:
33 void fromInventorySuppliers(); 35 void fromInventorySuppliers();
34 void fromInventoryFermentables(); 36 void fromInventoryFermentables();
37 void fromInventoryHops();
35 void fromSetup(); 38 void fromSetup();
36 39
37 private: 40 private:
38 Ui::MainWindow *ui; 41 Ui::MainWindow *ui;
39 42
40 // Keep pointers to new windows. 43 // Keep pointers to new windows.
41 InventorySuppliers *InventorySuppliersWindow; 44 InventorySuppliers *InventorySuppliersWindow;
42 InventoryFermentables *InventoryFermentablesWindow; 45 InventoryFermentables *InventoryFermentablesWindow;
46 InventoryHops * InventoryHopsWindow;
43 Setup *SetupWindow; 47 Setup *SetupWindow;
44 }; 48 };
45 49
46 #endif 50 #endif

mercurial