--- a/src/CalibrateiSpindel.h Sat Oct 14 11:23:24 2023 +0200 +++ b/src/CalibrateiSpindel.h Sat Oct 14 16:10:14 2023 +0200 @@ -1,14 +1,8 @@ #ifndef _CALIBRATEISPINDEL_H #define _CALIBRATEISPINDEL_H -#include <QDialog> -// #include <QDoubleSpinBox> -// #include <QCheckBox> -// #include <QComboBox> -// #include <QRadioButton> -// #include <QLineEdit> -#include <QDialogButtonBox> -#include <QJsonDocument> +#include "MainWindow.h" + struct Calibrate { double sg; @@ -43,7 +37,10 @@ private: Ui::CalibrateiSpindel *ui; QString _node, _alias, _data_old, _data_new; - int recno, totaldata; + QChartView *chartView; + QChart *chart; + QLineSeries *new_plot, *old_plot; + int recno, oldtotal, newtotal; QJsonDocument data; bool ignoreChanges = false; bool textIsChanged = false;