##// END OF EJS Templates
Fix bug when creating two variables crash the app. ...
Fix bug when creating two variables crash the app. Variable as now invalid range and cache range at creation

File last commit:

r730:2d96f9af06b9
r756:a7f60f6512e6
Show More
QCustomPlotSynchronizer.h
26 lines | 743 B | text/x-c | CLexer
/ gui / include / Visualization / QCustomPlotSynchronizer.h
Alexandre Leroux
Sets sames margin sides for graphs in a same zone
r730 #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