Sat, 19 Mar 2022 19:22:58 +0100
First step in loading the Inventory Suppliers database on the mainscreen. But, it is loaded at program start en not removed when done. Weird programming to get this working.
#ifndef _INVENTORYMISCS_H #define _INVENTORYMISCS_H #include <QDialog> namespace Ui { class InventoryMiscs; } class InventoryMiscs : public QDialog { Q_OBJECT public: explicit InventoryMiscs(QWidget *parent = nullptr); ~InventoryMiscs(); signals: void firstWindow(); private slots: void on_quitButton_clicked(); void on_insertButton_clicked(); void on_editButton_clicked(); void on_exportButton_clicked(); void refreshTable(void); private: Ui::InventoryMiscs *ui; void edit(int recno); }; #endif