##// END OF EJS Templates
Promotes hedley dep...
Promotes hedley dep Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1420:3c3e24550401
r1506:ef7b62ddc473
Show More
VisualizationGraphRenderingDelegate.h
45 lines | 1.5 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)...
r916 #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;
Switched to new TS impl but quite broken!...
r1420 class Variable2;
Alexandre Leroux
Passes directly GraphWidget in delegate...
r725 class VisualizationGraphWidget;
Alexandre Leroux
Creates a delegate offering methods for rendering a graph
r480
Switched to new TS impl but quite broken!...
r1420 class VisualizationGraphRenderingDelegate
{
Alexandre Leroux
Creates a delegate offering methods for rendering a graph
r480 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
Switched to new TS impl but quite broken!...
r1420 explicit VisualizationGraphRenderingDelegate(VisualizationGraphWidget& graphWidget);
Alexandre Leroux
Creates a delegate offering methods for rendering a graph
r480
Switched to new TS impl but quite broken!...
r1420 void onMouseDoubleClick(QMouseEvent* event) noexcept;
void updateTooltip(QMouseEvent* event) noexcept;
Alexandre Leroux
Updates sqp color scale thresholds (2)...
r1020 /// Updates rendering when data of plot changed
void onPlotUpdated() noexcept;
Alexandre Leroux
Creates method that will display a tooltip and a tracer with data point information after a while
r481
Alexandre Leroux
Separate the initialization of the properties of the graph of the update of the units of the graph....
r1283 /// Sets units of the plot's axes according to the properties of the variable passed as
/// parameter
Switched to new TS impl but quite broken!...
r1420 void setAxesUnits(Variable2& variable) noexcept;
Alexandre Leroux
Refactoring handling of axes properties (2)...
r916
Alexandre Leroux
Separate the initialization of the properties of the graph of the update of the units of the graph....
r1283 /// Sets graph properties of the plottables passed as parameter, from the variable that
Alexandre Leroux
Handles rendering of plottables (3)...
r919 /// generated these
Switched to new TS impl but quite broken!...
r1420 void setGraphProperties(Variable2& variable, PlottablesMap& plottables) noexcept;
Alexandre Leroux
Separate the initialization of the properties of the graph of the update of the units of the graph....
r1283
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