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 _MONNODES_H #define _MONNODES_H #include <QDialog> #include <QtWidgets/QGridLayout> #include <QtWidgets/QGroupBox> #include <QtWidgets/QHBoxLayout> #include <QtWidgets/QHeaderView> #include <QtWidgets/QPushButton> #include <QtWidgets/QTableWidget> namespace Ui { class MonNodes; } class MonNodes : public QDialog { Q_OBJECT public: explicit MonNodes(QWidget *parent = nullptr); ~MonNodes(); signals: void setStatus(QString); private slots: void on_editButton_clicked(); void refreshTable(void); public slots: void refreshNodes(QString); private: QGridLayout *gridLayout; QTableWidget *tableNodes; QGroupBox *groupBox; QHBoxLayout *horizontalLayout; QPushButton *quitButton; void edit(int recno); }; #endif