##// END OF EJS Templates
Refactoring handling of axes properties (1)...
Refactoring handling of axes properties (1) Creates helper used to determine which properties to set for the graph axes, depending on the type of the data hold (properties will be different if it's scalars/vectors or spectrograms)

File last commit:

r730:2d96f9af06b9
r916:b92a8e838f6e
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