Fri, 10 Feb 2023 17:28:46 +0100
ChartCarbonate saves the image path in the settings file. Conditional debug messages in a lot on monitor files. In Fermenter monitor details make the status background red if offline. A lot more generic variables instead of continuous expensive calls to MySQL. If fermenter values for the thermometers are not OK, then do not show anything.
#ifndef _CHARTCARBONATE_H #define _CHARTCARBONATE_H #include "MainWindow.h" #include <QDialog> #include <QDialogButtonBox> class Callout; namespace Ui { class ChartCarbonate; } class ChartCarbonate : public QDialog { Q_OBJECT private slots: void savePNG(); public slots: void tooltip(QPointF point, bool state); public: explicit ChartCarbonate(QString code, QString name, QWidget *parent = 0); ~ChartCarbonate(); private: QChartView *chartView; QChart *chart; Callout *t_tooltip = 0; QSplineSeries *temperature, *pressure; }; #endif