src/NullDateEdit.h

Sun, 09 Jun 2024 15:20:26 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 09 Jun 2024 15:20:26 +0200
changeset 530
a4d5daae8389
parent 94
380b1331ad2e
permissions
-rw-r--r--

Version 0.4.6b1 Update product with calculated sparge supply. This value is now only calculated from the desired sparge estimate plus HLT deadspace. Fixed brewing salts for sparge read-only after brewday. The final water displays the mixed mash and sparge water profile, almost the same as what goes into the boil kettle. The Cl/SO4 ratio display now works on the final water.

#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);
};

mercurial