src/InventorySuppliers.h

Mon, 14 Feb 2022 20:58:07 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 14 Feb 2022 20:58:07 +0100
changeset 10
8aa2bd9ba9e8
parent 9
85656dc48131
child 11
c9cdc15d3caf
permissions
-rw-r--r--

Added the EditSupplier popup window. It is now ready to validate the form data.

#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();

private:
    Ui::InventorySuppliers *ui;
    bool edit(int recno);
    void loadTable(void);
};

#endif

mercurial