29 |
29 |
30 public: |
30 public: |
31 explicit MainWindow(QWidget *parent = 0); |
31 explicit MainWindow(QWidget *parent = 0); |
32 ~MainWindow(); |
32 ~MainWindow(); |
33 |
33 |
|
34 // Keep pointers to new windows. |
34 InventorySuppliers *InventorySuppliersWindow; |
35 InventorySuppliers *InventorySuppliersWindow; |
|
36 InventoryFermentables *InventoryFermentablesWindow; |
|
37 InventoryHops *InventoryHopsWindow; |
|
38 InventoryYeasts *InventoryYeastsWindow; |
|
39 InventoryMiscs *InventoryMiscsWindow; |
|
40 InventoryWaters *InventoryWatersWindow; |
|
41 InventoryEquipments *InventoryEquipmentsWindow; |
35 |
42 |
36 private slots: |
43 private slots: |
37 void on_actionExit_triggered(); |
44 void on_actionExit_triggered(); |
38 void on_actionSuppliers_triggered(); |
45 void on_actionSuppliers_triggered(); |
39 void on_actionFermentables_triggered(); |
46 void on_actionFermentables_triggered(); |
67 |
74 |
68 private: |
75 private: |
69 Ui::MainWindow *ui; |
76 Ui::MainWindow *ui; |
70 |
77 |
71 // Keep pointers to new windows. |
78 // Keep pointers to new windows. |
72 InventoryFermentables *InventoryFermentablesWindow; |
|
73 InventoryHops *InventoryHopsWindow; |
|
74 InventoryYeasts *InventoryYeastsWindow; |
|
75 InventoryMiscs *InventoryMiscsWindow; |
|
76 InventoryWaters *InventoryWatersWindow; |
|
77 InventoryEquipments *InventoryEquipmentsWindow; |
|
78 ProfileWaters *ProfileWatersWindow; |
79 ProfileWaters *ProfileWatersWindow; |
79 ProfileMashs *ProfileMashsWindow; |
80 ProfileMashs *ProfileMashsWindow; |
80 ProfileStyles *ProfileStylesWindow; |
81 ProfileStyles *ProfileStylesWindow; |
81 ProfileFerments *ProfileFermentsWindow; |
82 ProfileFerments *ProfileFermentsWindow; |
82 Setup *SetupWindow; |
83 Setup *SetupWindow; |