Wed, 20 Apr 2022 22:48:20 +0200
Implemented the last widgets on the first tab and added the needed functions for them such as scaling the recipe. This is the last part of the recipe editor, now ready for 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); };