Fri, 18 Nov 2022 16:57:02 +0100
Details CO2 monitor shows the style limits for the specific beer. Adjust the scale of the pressure widget to the beer limits. Moved more functions to the global Utils. Fix expected pressure in the package screen for other priming sugars. Disabled some debug log messages.
#ifndef _DB_PRODUCT_H #define _DB_PRODUCT_H #include <QDebug> #include <QMessageBox> #include <QUuid> #include <QJsonArray> #include <QJsonDocument> #include <QJsonObject> #include <QTranslator> #include <QSqlQuery> #include <QSqlError> #include <QSqlRecord> #include <QObject> #include <math.h> /** * @namespace db_product * * @brief Global database product functions.. */ namespace DB_product { bool load(Product *prod, QDialog *dialog, int recno); bool save(Product *prod, QDialog *dialog); bool dele(QDialog *dialog, int recno); } #endif