##// END OF EJS Templates
Started PySide2 migration, builds with CMake and produces a working binary...
Started PySide2 migration, builds with CMake and produces a working binary Need to port all previous stuff from Pybind11 to PySide2/shboken Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1420:3c3e24550401
r1477:70de8bd3d575
Show More
VisualizationGraphHelper.h
42 lines | 1.3 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
Alexandre Leroux
Handles QCustomPlot plottables for vectors (1)...
r581 #include "Visualization/VisualizationDefs.h"
Made core module a git submodule, ready to start switching to new...
r1347 #include <Data/DateTimeRange.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;
Switched to new TS impl but quite broken!...
r1420 class Variable2;
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r181
/**
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
*/
Switched to new TS impl but quite broken!...
r1420 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
*/
Switched to new TS impl but quite broken!...
r1420 static PlottablesMap create(std::shared_ptr<Variable2> variable, QCustomPlot& plot) noexcept;
The mock plugin can now create data with view operation
r235
Switched to new TS impl but quite broken!...
r1420 static void updateData(PlottablesMap& plottables, std::shared_ptr<Variable2> variable,
const DateTimeRange& dateTime);
Alexandre Leroux
Refactors VisualizationGraphWidget::setYRange()...
r900
Switched to new TS impl but quite broken!...
r1420 static void setYAxisRange(std::shared_ptr<Variable2> variable, QCustomPlot& plot) noexcept;
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