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.
#include <QDateEdit> class NullDateEdit : public QDateEdit { Q_OBJECT Q_PROPERTY(QDate nullDate READ nullDate WRITE setDate USER true) public: NullDateEdit(const QDate& date, QWidget* parent); NullDateEdit(QWidget* parent); ~NullDateEdit(); QDate nullDate() const; public slots: void clear(); void setDate(const QDate& date); };