src/EditSupplier.h

Tue, 15 Feb 2022 21:21:12 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 15 Feb 2022 21:21:12 +0100
changeset 11
c9cdc15d3caf
parent 10
8aa2bd9ba9e8
child 17
f0bcdbd3d36f
permissions
-rw-r--r--

The Supplier editor saves changes and inserts new suppliers. It sends a signal to InventorySuppliers when done (always for now). Refresh the table still doesn't work. Added a missing iconn in the Inventory menus dropdown.

#ifndef _EDITSPUPPLIER_H
#define _EDITSPUPPLIER_H

#include <QDialog>


namespace Ui {
class EditSupplier;
}

class EditSupplier : public QDialog
{
    Q_OBJECT

signals:
    void entry_changed();

public:
    explicit EditSupplier(int id, QWidget *parent = 0);
    ~EditSupplier();

private slots:
    void onOKButtonClicked();
    void onCancelButtonClicked();
    void onTextChanged();

private:
    Ui::EditSupplier *ui;
    int recno;
    bool textIsChanged = false;
};

#endif

mercurial