src/Setup.h

Thu, 17 Feb 2022 21:00:24 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 17 Feb 2022 21:00:24 +0100
changeset 17
f0bcdbd3d36f
parent 16
a5d8e783a7b0
child 41
dc4b659a320b
permissions
-rw-r--r--

Forgot one signal in Setup. EditSupplier now has signals to track edit changes. The Window header has ** mark if anything is changed. Added errors message boxes.

#ifndef _SETUP_H
#define _SETUP_H

#include <QDialog>

namespace Ui {
class Setup;
}

class Setup : public QDialog
{
    Q_OBJECT

public:
    explicit Setup(QWidget *parent = nullptr);
    ~Setup();

signals:
    void firstWindow();

private slots:
    void on_quitButton_clicked();
    void on_saveButton_clicked();
    void is_changed();

private:
    Ui::Setup *ui;
    bool fieldIsChanged = false;
};

#endif

mercurial