src/NullDateEdit.h

Sat, 09 Apr 2022 21:50:19 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 09 Apr 2022 21:50:19 +0200
changeset 125
2e79e0975e58
parent 94
380b1331ad2e
permissions
-rw-r--r--

Start hops table display. The calculated preboil_sg value is stored global in memory. Added calculations for IBU, hop flavour and aroma.

#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