##// END OF EJS Templates
Add lambda in VIsualizationWidget to fix the bug of the corner widget button size...
Add lambda in VIsualizationWidget to fix the bug of the corner widget button size Modify the property of the QFrame to ensure the box around the zone widget to be visible

File last commit:

r181:9fde42db8d93
r186:134da9ef870f
Show More
GraphPlottablesFactory.h
30 lines | 1.0 KiB | text/x-c | CLexer
/ gui / include / Visualization / GraphPlottablesFactory.h
Alexandre Leroux
Creates factory that is responsible of creation of QCustomPlot components relative to a variable
r181 #ifndef SCIQLOP_GRAPHPLOTTABLESFACTORY_H
#define SCIQLOP_GRAPHPLOTTABLESFACTORY_H
#include <QLoggingCategory>
#include <QVector>
Q_DECLARE_LOGGING_CATEGORY(LOG_GraphPlottablesFactory)
class QCPAbstractPlottable;
class QCustomPlot;
class Variable;
/**
* @brief The GraphPlottablesFactory class aims to create the QCustomPlot components relative to a
* variable, depending on the data series of this variable
*/
struct GraphPlottablesFactory {
/**
* 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
*/
static QVector<QCPAbstractPlottable *> create(const Variable *variable,
QCustomPlot &plot) noexcept;
};
#endif // SCIQLOP_GRAPHPLOTTABLESFACTORY_H