src/EditYeastPack.h

Fri, 10 Feb 2023 10:09:37 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 10 Feb 2023 10:09:37 +0100
changeset 490
b67fb2e5bb41
parent 480
94b3def5d778
permissions
-rw-r--r--

Fermenter charts, only draw lines that are really used. Better auto scaling, not using the internal version. If only a air line is to be shown, make it fat. Save the path to download the image in the settings file.

#ifndef _EDITYEASTPACK_H
#define _EDITYEASTPACK_H

#include <QDialog>


namespace Ui {
class EditYeastPack;
}

class EditYeastPack : public QDialog
{
    Q_OBJECT

signals:
    void entry_changed();

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

private slots:
    void on_saveButton_clicked();
    void on_cloneButton_clicked();
    void on_quitButton_clicked();
    void on_deleteButton_clicked();
    void is_changed();
    void form_changed();
    void viability_changed();

private:
    Ui::EditYeastPack *ui;
    int recno, lasttime = 0;
    bool textIsChanged = false;

    void WindowTitle();
    void PackSet();
    void Viability();
};

#endif

mercurial