src/DetailCO2meter.h

Thu, 07 Jul 2022 08:51:57 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 07 Jul 2022 08:51:57 +0200
changeset 337
8133cdb19aa1
parent 332
146874d7bb47
child 491
76f3a96e82b5
permissions
-rw-r--r--

Added my_height global variable and edit in profile setup. This sets the height of the brewery above or below sealevel. Added calculations for the air pressure, boilpoint and IBU_reduction that all depend on the height. Currently not yet in use. Split out the real IBU calculation from the generic toIBU function. This has no effect on the results.

#ifndef _DETAILCO2METER_H
#define _DETAILCO2METER_H

#include <QDialog>
#include <QDoubleSpinBox>
#include <QCheckBox>
#include <QComboBox>
#include <QRadioButton>
#include <QLineEdit>
#include <QDialogButtonBox>


namespace Ui {
class DetailCO2meter;
}

class DetailCO2meter : public QDialog
{
    Q_OBJECT

signals:
    void entry_changed();

public:
    explicit DetailCO2meter(int id, QWidget *parent = 0);
    ~DetailCO2meter();

private slots:
    void on_quitButton_clicked();
    void refreshTable(void);
    void code_changed(int val);
    void on_ChartButton_clicked();

public slots:
    void refreshCO2meter(QString);

private:
    Ui::DetailCO2meter *ui;
    QString _node, _alias, _uuid, _beercode, _beername;
    int recno;
};

#endif

mercurial