src/MonCO2meters.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 328
ee2c8b29f389
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 _MONCO2METERS_H
#define _MONCO2METERS_H

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

namespace Ui {
class MonCO2meters;
}

class MonCO2meters : public QDialog
{
    Q_OBJECT

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

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

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

public slots:
    void refreshCO2meters(QString);

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

    void edit(int recno);
};

#endif

mercurial