Thu, 17 Feb 2022 21:00:24 +0100
Forgot one signal in Setup. EditSupplier now has signals to track edit changes. The Window header has ** mark if anything is changed. Added errors message boxes.
#ifndef _INVENTORYSPUPPLIERS_H #define _INVENTORYSPUPPLIERS_H #include <QDialog> namespace Ui { class InventorySuppliers; } class InventorySuppliers : public QDialog { Q_OBJECT public: explicit InventorySuppliers(QWidget *parent = nullptr); ~InventorySuppliers(); signals: void firstWindow(); private slots: void on_quitButton_clicked(); void on_insertButton_clicked(); void on_editButton_clicked(); void refreshTable(void); private: Ui::InventorySuppliers *ui; void edit(int recno); }; #endif