##// END OF EJS Templates
Changes the way to retrieve unit in AMDA result file...
Changes the way to retrieve unit in AMDA result file The generated header in the result file differs from the first version

File last commit:

r670:94000392d1e8
r724:b7b2c2f3f00b
Show More
VisualizationGraphRenderingDelegate.h
31 lines | 1.0 KiB | 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;
Alexandre Leroux
Adds button on plot overlay to show/hide x-axis properties
r670 class Unit;
Alexandre Leroux
Passes directly GraphWidget in delegate...
r666 class VisualizationGraphWidget;
Alexandre Leroux
Creates a delegate offering methods for rendering a graph
r442
class VisualizationGraphRenderingDelegate {
public:
Alexandre Leroux
Passes directly GraphWidget in delegate...
r666 /// 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
r442
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
Adds button on plot overlay to show/hide x-axis properties
r670 /// Sets properties of the plot's axes
void setAxesProperties(const Unit &xAxisUnit, const Unit &valuesUnit) noexcept;
Alexandre Leroux
Shows/hides plot overlay when entering/leaving graph
r669 /// Shows or hides graph overlay (name, close button, etc.)
void showGraphOverlay(bool show) 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