src/InventorySuppliers.h

Sat, 19 Mar 2022 19:22:58 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 19 Mar 2022 19:22:58 +0100
changeset 64
b0d30697af67
parent 11
c9cdc15d3caf
child 65
2ef981980daa
permissions
-rw-r--r--

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 _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

mercurial