Tue, 15 Feb 2022 21:21:12 +0100
The Supplier editor saves changes and inserts new suppliers. It sends a signal to InventorySuppliers when done (always for now). Refresh the table still doesn't work. Added a missing iconn in the Inventory menus dropdown.
#ifndef _MAINWINDOW_H #define _MAINWINDOW_H #include "InventorySuppliers.h" #include <QMainWindow> #include <QStandardItemModel> #include <QMenu> #include <QToolButton> namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); 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