src/NullDateEdit.h

Mon, 16 Jan 2023 16:55:41 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 16 Jan 2023 16:55:41 +0100
changeset 464
1fed3ff9a64e
parent 94
380b1331ad2e
permissions
-rw-r--r--

Show 0 if afterboil volume is invalid instead of the chiller volume. Added product tab 13. Here the images (beerlabels, brew pictures) for a product will be shown. Resized all product tabs. Added STA1 tickmark in the yeasts table.

#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