##// END OF EJS Templates
Inits color scale widget
Inits color scale widget

File last commit:

r920:6c44d229ea1f
r1042:8374414c3291
Show More
VisualizationGraphRenderingDelegate.h
39 lines | 1.4 KiB | 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>
Alexandre Leroux
Refactoring handling of axes properties (2)...
r917 #include <Visualization/VisualizationDefs.h>
class IDataSeries;
Alexandre Leroux
Creates a delegate offering methods for rendering a graph
r480 class QCustomPlot;
class QMouseEvent;
Alexandre Leroux
Adds button on plot overlay to show/hide x-axis properties
r729 class Unit;
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
Refactoring handling of axes properties (2)...
r917 /// Sets properties of the plot's axes from the data series passed as parameter
void setAxesProperties(std::shared_ptr<IDataSeries> dataSeries) noexcept;
Alexandre Leroux
Handles rendering of plottables (3)...
r920 /// Sets rendering properties of the plottables passed as parameter, from the data series that
/// generated these
void setPlottablesProperties(std::shared_ptr<IDataSeries> dataSeries,
PlottablesMap &plottables) noexcept;
Alexandre Leroux
Adds button on plot overlay to show/hide x-axis properties
r729
Alexandre Leroux
Shows/hides plot overlay when entering/leaving graph
r728 /// 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
r480 private:
class VisualizationGraphRenderingDelegatePrivate;
spimpl::unique_impl_ptr<VisualizationGraphRenderingDelegatePrivate> impl;
};
#endif // SCIQLOP_VISUALIZATIONGRAPHRENDERINGDELEGATE_H