##// END OF EJS Templates
Calls 'close graph' action when selecting close item in overlay
Calls 'close graph' action when selecting close item in overlay

File last commit:

r725:cff73dc198fa
r727:b6674f74bf0c
Show More
VisualizationGraphRenderingDelegate.h
24 lines | 783 B | text/x-c | CLexer
/ gui / include / Visualization / VisualizationGraphRenderingDelegate.h
Alexandre Leroux
Creates a delegate offering methods for rendering a graph
r480 #ifndef SCIQLOP_VISUALIZATIONGRAPHRENDERINGDELEGATE_H
#define SCIQLOP_VISUALIZATIONGRAPHRENDERINGDELEGATE_H
#include <Common/spimpl.h>
class QCustomPlot;
class QMouseEvent;
Alexandre Leroux
Passes directly GraphWidget in delegate...
r725 class VisualizationGraphWidget;
Alexandre Leroux
Creates a delegate offering methods for rendering a graph
r480
class VisualizationGraphRenderingDelegate {
public:
Alexandre Leroux
Passes directly GraphWidget in delegate...
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);
Alexandre Leroux
Creates a delegate offering methods for rendering a graph
r480
Alexandre Leroux
Creates method that will display a tooltip and a tracer with data point information after a while
r481 void onMouseMove(QMouseEvent *event) noexcept;
Alexandre Leroux
Creates a delegate offering methods for rendering a graph
r480 private:
class VisualizationGraphRenderingDelegatePrivate;
spimpl::unique_impl_ptr<VisualizationGraphRenderingDelegatePrivate> impl;
};
#endif // SCIQLOP_VISUALIZATIONGRAPHRENDERINGDELEGATE_H