src/NullDateEdit.h

Sun, 30 Oct 2022 16:43:22 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 30 Oct 2022 16:43:22 +0100
changeset 429
4aac0b672667
parent 94
380b1331ad2e
permissions
-rw-r--r--

In the product equipment tab show the volume to the fermenter. Changed some prompts and suffixes in that tab. Updated translations.

#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