src/MainWindow.h

changeset 19
c94edc758a5b
parent 15
c58b82549713
child 24
684c6e74cc1b
equal deleted inserted replaced
18:d0ca50776b0b 19:c94edc758a5b
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 "Setup.h" 6 #include "Setup.h"
6 7
7 #include <QMainWindow> 8 #include <QMainWindow>
8 #include <QStandardItemModel> 9 #include <QStandardItemModel>
9 #include <QMenu> 10 #include <QMenu>
22 ~MainWindow(); 23 ~MainWindow();
23 24
24 private slots: 25 private slots:
25 void on_actionExit_triggered(); 26 void on_actionExit_triggered();
26 void on_actionSuppliers_triggered(); 27 void on_actionSuppliers_triggered();
28 void on_actionFermentables_triggered();
27 void on_actionSetup_triggered(); 29 void on_actionSetup_triggered();
28 void on_actionAbout_triggered(); 30 void on_actionAbout_triggered();
29 31
30 public slots: 32 public slots:
31 void fromInventorySuppliers(); 33 void fromInventorySuppliers();
34 void fromInventoryFermentables();
32 void fromSetup(); 35 void fromSetup();
33 36
34 private: 37 private:
35 Ui::MainWindow *ui; 38 Ui::MainWindow *ui;
36 39
37 // Keep pointers to new windows. 40 // Keep pointers to new windows.
38 InventorySuppliers *InventorySuppliersWindow; 41 InventorySuppliers *InventorySuppliersWindow;
42 InventoryFermentables *InventoryFermentablesWindow;
39 Setup *SetupWindow; 43 Setup *SetupWindow;
40 }; 44 };
41 45
42 #endif 46 #endif

mercurial