Thu, 09 Jun 2022 11:16:00 +0200
Added the main record update to the product splitting. Block edit of the product code if the product is splitted.
#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