Sat, 22 Jun 2024 11:28:14 +0200
The iSpindel monitor, detail and chart screens try to use the polynomial calibration data to show the SG. Fallback to already logged data if this fails.
#ifndef _CHARTISPINDEL_H #define _CHARTISPINDEL_H #include "MainWindow.h" #include <QDialog> #include <QDialogButtonBox> class Callout; namespace Ui { class ChartiSpindel; } class ChartiSpindel : public QDialog { Q_OBJECT private slots: void savePNG(); public slots: void tooltip(QPointF point, bool state); public: explicit ChartiSpindel(QString code, QString name, QWidget *parent = 0); ~ChartiSpindel(); private: QChartView *chartView; QChart *chart; Callout *t_tooltip = 0; QLineSeries *temperature, *density, *battery; }; #endif