Sun, 24 Apr 2022 14:15:20 +0200
Activated print recipe button. The recipe record structure is now global. Added global product record structure.
#ifndef _DATABASE_H #define _DATABASE_H #include <QSqlDatabase> #include <QDebug> #include <QSettings> class DataBase : public QObject { Q_OBJECT public: explicit DataBase(QObject *parent = 0); ~DataBase(); bool openDataBase(bool develop); void closeDataBase(); private: QSqlDatabase db; }; static DataBase *db; #endif