src/EditSupplier.h

Fri, 10 Feb 2023 17:28:46 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 10 Feb 2023 17:28:46 +0100
changeset 492
c3a781b4d35b
parent 21
15e5879df8dc
permissions
-rw-r--r--

ChartCarbonate saves the image path in the settings file. Conditional debug messages in a lot on monitor files. In Fermenter monitor details make the status background red if offline. A lot more generic variables instead of continuous expensive calls to MySQL. If fermenter values for the thermometers are not OK, then do not show anything.

#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 on_saveButton_clicked();
    void on_quitButton_clicked();
    void on_deleteButton_clicked();
    void is_changed();

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

    void WindowTitle();
};

#endif

mercurial