src/MainWindow.h

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

mercurial