src/MonCO2meters.h

Mon, 24 Oct 2022 15:25:50 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 24 Oct 2022 15:25:50 +0200
changeset 419
d49f38cc76a0
parent 328
ee2c8b29f389
permissions
-rw-r--r--

The equipment editor uses named fields for database io. Edit field 'trub chiller loss' is now called 'trub loss', but will be renamed again. Removed editing hop_utilization, lauter_volume and lauter_height. These fields were never used in the application. Not yet removed from the database. Added chiller_type, chiller_to79, chiller_volume, chiller_lpm and chiller_loss fields so that we can tie a chiller to the equipment setup. Renamed some chiller names.

#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