@@ -0,0 +1,10 | |||
|
1 | #ifndef SCIQLOP_VISUALIZATIONDEFS_H | |
|
2 | #define SCIQLOP_VISUALIZATIONDEFS_H | |
|
3 | ||
|
4 | #include <map> | |
|
5 | ||
|
6 | class QCPAbstractPlottable; | |
|
7 | ||
|
8 | using PlottablesMap = std::map<int, QCPAbstractPlottable *>; | |
|
9 | ||
|
10 | #endif // SCIQLOP_VISUALIZATIONDEFS_H |
@@ -1,6 +1,8 | |||
|
1 | 1 | #ifndef SCIQLOP_VISUALIZATIONGRAPHHELPER_H |
|
2 | 2 | #define SCIQLOP_VISUALIZATIONGRAPHHELPER_H |
|
3 | 3 | |
|
4 | #include "Visualization/VisualizationDefs.h" | |
|
5 | ||
|
4 | 6 | #include <Data/SqpRange.h> |
|
5 | 7 | |
|
6 | 8 | #include <QLoggingCategory> |
@@ -28,13 +30,10 struct VisualizationGraphHelper { | |||
|
28 | 30 | * components. |
|
29 | 31 | * @return the list of the components created |
|
30 | 32 | */ |
|
31 |
static |
|
|
32 | QCustomPlot &plot) noexcept; | |
|
33 | static QVector<QCPAbstractPlottable *> createV2(std::shared_ptr<Variable> variable, | |
|
34 | QCustomPlot &plot) noexcept; | |
|
33 | static PlottablesMap create(std::shared_ptr<Variable> variable, QCustomPlot &plot) noexcept; | |
|
35 | 34 | |
|
36 |
static void updateData( |
|
|
37 |
|
|
|
35 | static void updateData(PlottablesMap &plottables, IDataSeries *dataSeries, | |
|
36 | const SqpRange &dateTime); | |
|
38 | 37 | }; |
|
39 | 38 | |
|
40 | 39 | #endif // SCIQLOP_VISUALIZATIONGRAPHHELPER_H |
General Comments 0
You need to be logged in to leave comments.
Login now