##// END OF EJS Templates
Merge pull request 224 from SCIQLOP-Initialisation develop...
Merge pull request 224 from SCIQLOP-Initialisation develop Develop

File last commit:

r548:5673fc6ded12
r553:f87183c47a69 merge
Show More
VisualizationGraphHelper.h
40 lines | 1.5 KiB | text/x-c | CLexer
/ gui / include / Visualization / VisualizationGraphHelper.h
Correction for pull request
r243 #ifndef SCIQLOP_VISUALIZATIONGRAPHHELPER_H
#define SCIQLOP_VISUALIZATIONGRAPHHELPER_H
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r181
Change SqpRange for SqpDateTime
r512 #include <Data/SqpRange.h>
The mock plugin can now create data with view operation
r235
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r181 #include <QLoggingCategory>
#include <QVector>
Alexandre Leroux
Pass Variable as shared_ptr
r187 #include <memory>
Correction for pull request
r243 Q_DECLARE_LOGGING_CATEGORY(LOG_VisualizationGraphHelper)
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r181
The mock plugin can now create data with view operation
r235 class IDataSeries;
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r181 class QCPAbstractPlottable;
class QCustomPlot;
class Variable;
/**
Correction for pull request
r243 * @brief The VisualizationGraphHelper class aims to create the QCustomPlot components relative to a
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r181 * variable, depending on the data series of this variable
*/
Correction for pull request
r243 struct VisualizationGraphHelper {
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r181 /**
* Creates (if possible) the QCustomPlot components relative to the variable passed in
* parameter, and adds these to the plot passed in parameter.
* @param variable the variable for which to create the components
* @param plot the plot in which to add the created components. It takes ownership of these
* components.
* @return the list of the components created
*/
Alexandre Leroux
Pass Variable as shared_ptr
r187 static QVector<QCPAbstractPlottable *> create(std::shared_ptr<Variable> variable,
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r181 QCustomPlot &plot) noexcept;
Initialisation of the graph range at creation in a new graphe, or inside...
r548 static QVector<QCPAbstractPlottable *> createV2(std::shared_ptr<Variable> variable,
QCustomPlot &plot) noexcept;
The mock plugin can now create data with view operation
r235
The dataSeries of a variable is now shared istead of uniq to avoid...
r542 static void updateData(QVector<QCPAbstractPlottable *> plotableVect,
std::shared_ptr<IDataSeries> dataSeries, const SqpRange &dateTime);
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r181 };
Correction for pull request
r243 #endif // SCIQLOP_VISUALIZATIONGRAPHHELPER_H