Fri, 10 Feb 2023 10:09:37 +0100
Fermenter charts, only draw lines that are really used. Better auto scaling, not using the internal version. If only a air line is to be shown, make it fat. Save the path to download the image in the settings file.
#ifndef _CHARTFERMENTER_H #define _CHARTFERMENTER_H #include "MainWindow.h" #include <QDialog> #include <QDialogButtonBox> class Callout; namespace Ui { class ChartFermenter; } class ChartFermenter : public QDialog { Q_OBJECT private slots: void savePNG(); public slots: void tooltip(QPointF point, bool state); public: explicit ChartFermenter(QString code, QString name, QWidget *parent = 0); ~ChartFermenter(); private: QChartView *chartView; QChart *chart; Callout *t_tooltip = 0; }; #endif