Fri, 20 May 2022 20:43:33 +0200
Implemented the tasting tab. On the generic tab, show the ingredients check or the read only prompt on the same place depending on the product stage. Fixed the yeasts ingredients in stock check. Reordered the tab order of all edit fields. It looks like this module is ready and needs testing.
#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); };