src/EditYeastPack.h

Sat, 08 Jun 2024 15:54:30 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 08 Jun 2024 15:54:30 +0200
changeset 527
84091b9cb800
parent 480
94b3def5d778
permissions
-rw-r--r--

Version 0.4.6a1. Added HLT equipment volume and deadspace settings. In EditProduct the target water selection is now sticky. Changed the water treatment tab. Added a row wich displays the salt adjustments. This can be selected between actual and target values. The treated water show can select between mash or sparge water. The total line will become the final water in the boil kettle. Database update function is expanded with the new settings. Added a popup message warning that the database is upgraded and user action is required for the equipment profiles.

#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