Thu, 07 Jul 2022 08:51:57 +0200
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 _DETAILISPINDEL_H #define _DETAILISPINDEL_H #include <QDialog> #include <QDoubleSpinBox> #include <QCheckBox> #include <QComboBox> #include <QRadioButton> #include <QLineEdit> #include <QDialogButtonBox> namespace Ui { class DetailiSpindel; } class DetailiSpindel : public QDialog { Q_OBJECT signals: void entry_changed(); public: explicit DetailiSpindel(int id, QWidget *parent = 0); ~DetailiSpindel(); private slots: void on_quitButton_clicked(); void refreshTable(void); void mode_changed(int val); void code_changed(int val); void on_ChartButton_clicked(); public slots: void refreshiSpindel(QString); private: Ui::DetailiSpindel *ui; QString _node, _alias, _uuid, _beercode, _beername; int recno; }; #endif