src/MainWindow.h

changeset 25
a9da2744609e
parent 24
684c6e74cc1b
child 28
93a70b1502ca
equal deleted inserted replaced
24:684c6e74cc1b 25:a9da2744609e
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 "InventoryHops.h"
7 #include "InventoryYeasts.h"
7 #include "Setup.h" 8 #include "Setup.h"
8 9
9 #include <QMainWindow> 10 #include <QMainWindow>
10 #include <QStandardItemModel> 11 #include <QStandardItemModel>
11 #include <QMenu> 12 #include <QMenu>
26 private slots: 27 private slots:
27 void on_actionExit_triggered(); 28 void on_actionExit_triggered();
28 void on_actionSuppliers_triggered(); 29 void on_actionSuppliers_triggered();
29 void on_actionFermentables_triggered(); 30 void on_actionFermentables_triggered();
30 void on_actionHops_triggered(); 31 void on_actionHops_triggered();
32 void on_actionYeasts_triggered();
31 void on_actionSetup_triggered(); 33 void on_actionSetup_triggered();
32 void on_actionAbout_triggered(); 34 void on_actionAbout_triggered();
33 35
34 public slots: 36 public slots:
35 void fromInventorySuppliers(); 37 void fromInventorySuppliers();
36 void fromInventoryFermentables(); 38 void fromInventoryFermentables();
37 void fromInventoryHops(); 39 void fromInventoryHops();
40 void fromInventoryYeasts();
38 void fromSetup(); 41 void fromSetup();
39 42
40 private: 43 private:
41 Ui::MainWindow *ui; 44 Ui::MainWindow *ui;
42 45
43 // Keep pointers to new windows. 46 // Keep pointers to new windows.
44 InventorySuppliers *InventorySuppliersWindow; 47 InventorySuppliers *InventorySuppliersWindow;
45 InventoryFermentables *InventoryFermentablesWindow; 48 InventoryFermentables *InventoryFermentablesWindow;
46 InventoryHops * InventoryHopsWindow; 49 InventoryHops *InventoryHopsWindow;
50 InventoryYeasts *InventoryYeastsWindow;
47 Setup *SetupWindow; 51 Setup *SetupWindow;
48 }; 52 };
49 53
50 #endif 54 #endif

mercurial