--- a/src/MainWindow.h Fri Feb 11 16:00:06 2022 +0100 +++ b/src/MainWindow.h Sat Feb 12 21:24:43 2022 +0100 @@ -1,6 +1,8 @@ #ifndef _MAINWINDOW_H #define _MAINWINDOW_H +#include "InventorySuppliers.h" + #include <QMainWindow> #include <QStandardItemModel> #include <QMenu> @@ -20,12 +22,17 @@ private slots: void on_actionExit_triggered(); + void on_actionSuppliers_triggered(); void on_actionAbout_triggered(); public slots: + void fromInventorySuppliers(); private: Ui::MainWindow *ui; + + // Keep pointers to new windows. + InventorySuppliers *InventorySuppliersWindow; }; #endif