diff --git a/src/plotcontrolpanel.h b/src/plotcontrolpanel.h --- a/src/plotcontrolpanel.h +++ b/src/plotcontrolpanel.h @@ -22,6 +22,7 @@ #include #include +#include namespace Ui { class PlotControlPanel; @@ -42,6 +43,11 @@ public: void setChannelNamesModel(QAbstractItemModel * model); + /// Stores plot settings into a `QSettings` + void saveSettings(QSettings* settings); + /// Loads plot settings from a `QSettings`. + void loadSettings(QSettings* settings); + signals: void numOfSamplesChanged(int value); void scaleChanged(bool autoScaled, double yMin = 0, double yMax = 1);