VisualizationGraphRenderingDelegate.h
24 lines
| 783 B
| text/x-c
|
CLexer
|
r480 | #ifndef SCIQLOP_VISUALIZATIONGRAPHRENDERINGDELEGATE_H | ||
#define SCIQLOP_VISUALIZATIONGRAPHRENDERINGDELEGATE_H | ||||
#include <Common/spimpl.h> | ||||
class QCustomPlot; | ||||
class QMouseEvent; | ||||
|
r725 | class VisualizationGraphWidget; | ||
|
r480 | |||
class VisualizationGraphRenderingDelegate { | ||||
public: | ||||
|
r725 | /// Ctor | ||
/// @param graphWidget the graph widget to which the delegate is associated | ||||
/// @remarks the graph widget must exist throughout the life cycle of the delegate | ||||
explicit VisualizationGraphRenderingDelegate(VisualizationGraphWidget &graphWidget); | ||||
|
r480 | |||
|
r481 | void onMouseMove(QMouseEvent *event) noexcept; | ||
|
r480 | private: | ||
class VisualizationGraphRenderingDelegatePrivate; | ||||
spimpl::unique_impl_ptr<VisualizationGraphRenderingDelegatePrivate> impl; | ||||
}; | ||||
#endif // SCIQLOP_VISUALIZATIONGRAPHRENDERINGDELEGATE_H | ||||