##// END OF EJS Templates
Removes title and close button from graph widget...
Removes title and close button from graph widget Title and button will be added directly as items in plot overlay

File last commit:

r551:221951fe7cca
r665:6a98c66c04c4
Show More
VisualizationGraphHelper.h
39 lines | 1.2 KiB | text/x-c | CLexer
/ gui / include / Visualization / VisualizationGraphHelper.h
Correction for pull request
r227 #ifndef SCIQLOP_VISUALIZATIONGRAPHHELPER_H
#define SCIQLOP_VISUALIZATIONGRAPHHELPER_H
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r168
Alexandre Leroux
Handles QCustomPlot plottables for vectors (1)...
r545 #include "Visualization/VisualizationDefs.h"
Change SqpRange for SqpDateTime
r471 #include <Data/SqpRange.h>
The mock plugin can now create data with view operation
r219
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r168 #include <QLoggingCategory>
#include <QVector>
Alexandre Leroux
Pass Variable as shared_ptr
r174 #include <memory>
Correction for pull request
r227 Q_DECLARE_LOGGING_CATEGORY(LOG_VisualizationGraphHelper)
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r168
The mock plugin can now create data with view operation
r219 class IDataSeries;
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r168 class QCPAbstractPlottable;
class QCustomPlot;
class Variable;
/**
Correction for pull request
r227 * @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
r168 * variable, depending on the data series of this variable
*/
Correction for pull request
r227 struct VisualizationGraphHelper {
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r168 /**
* 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
Handles QCustomPlot plottables for vectors (1)...
r545 static PlottablesMap create(std::shared_ptr<Variable> variable, QCustomPlot &plot) noexcept;
The mock plugin can now create data with view operation
r219
Alexandre Leroux
Uses std::shared_ptr
r551 static void updateData(PlottablesMap &plottables, std::shared_ptr<IDataSeries> dataSeries,
Alexandre Leroux
Handles QCustomPlot plottables for vectors (1)...
r545 const SqpRange &dateTime);
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r168 };
Correction for pull request
r227 #endif // SCIQLOP_VISUALIZATIONGRAPHHELPER_H