src/MonFermenters.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 323
d053ffbbf3e9
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 _MONFERMENTERS_H
#define _MONFERMENTERS_H

#include <QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QTableWidget>

namespace Ui {
class MonFermenters;
}

class MonFermenters : public QDialog
{
    Q_OBJECT

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

signals:
    void setStatus(QString);
    void updateFermenter(QString);

private slots:
    void on_editButton_clicked();
    void refreshTable(void);

public slots:
    void refreshFermenters(QString);

private:
    QGridLayout *gridLayout;
    QTableWidget *tableFermenters;
    QGroupBox *groupBox;
    QHBoxLayout *horizontalLayout;
    QPushButton *quitButton;

    void edit(int recno);
};

#endif

mercurial