Wed, 25 Jan 2023 13:11:51 +0100
Some extra debug info en some removed for the product images. Clear picmap area if no pixmaps are left. Block pictype_changed and piccomment_changed if there are no pictures, prevents segfault.
#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