src/ProdOnName.h

Sun, 09 Jun 2024 15:20:26 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 09 Jun 2024 15:20:26 +0200
changeset 530
a4d5daae8389
parent 228
c859e8efa470
permissions
-rw-r--r--

Version 0.4.6b1 Update product with calculated sparge supply. This value is now only calculated from the desired sparge estimate plus HLT deadspace. Fixed brewing salts for sparge read-only after brewday. The final water displays the mixed mash and sparge water profile, almost the same as what goes into the boil kettle. The Cl/SO4 ratio display now works on the final water.

#ifndef _PRODONNAME_H
#define _PRODONNAME_H

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

namespace Ui {
class ProdOnName;
}

class ProdOnName : public QDialog
{
    Q_OBJECT

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

signals:
    void setStatus(QString);

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

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

    void edit(int recno);
};

#endif

mercurial