##// END OF EJS Templates
Show tracers method (1)...
Show tracers method (1) Gets the closest point to the mouse and constructs the text that will be displayed

File last commit:

r443:0277630b5c10
r445:3d0f23bd071b
Show More
VisualizationGraphRenderingDelegate.h
20 lines | 551 B | text/x-c | CLexer
/ gui / include / Visualization / VisualizationGraphRenderingDelegate.h
Alexandre Leroux
Creates a delegate offering methods for rendering a graph
r442 #ifndef SCIQLOP_VISUALIZATIONGRAPHRENDERINGDELEGATE_H
#define SCIQLOP_VISUALIZATIONGRAPHRENDERINGDELEGATE_H
#include <Common/spimpl.h>
class QCustomPlot;
class QMouseEvent;
class VisualizationGraphRenderingDelegate {
public:
explicit VisualizationGraphRenderingDelegate(QCustomPlot &plot);
Alexandre Leroux
Creates method that will display a tooltip and a tracer with data point information after a while
r443 void onMouseMove(QMouseEvent *event) noexcept;
Alexandre Leroux
Creates a delegate offering methods for rendering a graph
r442 private:
class VisualizationGraphRenderingDelegatePrivate;
spimpl::unique_impl_ptr<VisualizationGraphRenderingDelegatePrivate> impl;
};
#endif // SCIQLOP_VISUALIZATIONGRAPHRENDERINGDELEGATE_H