src/NullDateEdit.h

Fri, 10 Feb 2023 17:28:46 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 10 Feb 2023 17:28:46 +0100
changeset 492
c3a781b4d35b
parent 94
380b1331ad2e
permissions
-rw-r--r--

ChartCarbonate saves the image path in the settings file. Conditional debug messages in a lot on monitor files. In Fermenter monitor details make the status background red if offline. A lot more generic variables instead of continuous expensive calls to MySQL. If fermenter values for the thermometers are not OK, then do not show anything.

#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