##// END OF EJS Templates
Separate the initialization of the properties of the graph of the update of the units of the graph....
Separate the initialization of the properties of the graph of the update of the units of the graph. The initialization of the properties is carried out when adding a variable in the graph, the update of the units is carried out when loading the data of this variable

File last commit:

r730:2d96f9af06b9
r1308:41b7c6aab8be
Show More
QCustomPlotSynchronizer.h
26 lines | 743 B | text/x-c | CLexer
#ifndef SCIQLOP_QCUSTOMPLOTSYNCHRONIZER_H
#define SCIQLOP_QCUSTOMPLOTSYNCHRONIZER_H
#include "Visualization/IGraphSynchronizer.h"
#include <Common/spimpl.h>
/**
* @brief The QCustomPlotSynchronizer class is an implementation of IGraphSynchronizer that handles
* graphs using QCustomPlot elements
* @sa IGraphSynchronizer
* @sa QCustomPlot
*/
class QCustomPlotSynchronizer : public IGraphSynchronizer {
public:
explicit QCustomPlotSynchronizer();
/// @sa IGraphSynchronizer::addGraph()
virtual void addGraph(VisualizationGraphWidget &graph) const override;
private:
class QCustomPlotSynchronizerPrivate;
spimpl::unique_impl_ptr<QCustomPlotSynchronizerPrivate> impl;
};
#endif // SCIQLOP_QCUSTOMPLOTSYNCHRONIZER_H