src/InventoryMiscs.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 45
4024b389f689
child 71
5bd0d7be0167
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 _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

mercurial