##// END OF EJS Templates
PySide2 bindings + some GUI clean...
PySide2 bindings + some GUI clean - simple Python plugin with scalar product works - launcher args are forwarded to SciQLop app, this allow to choose between wayland and xcb for example - removed all not implemented widgets on main GUI - moved all widgets except plots into QDocWidgets Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1420:3c3e24550401
r1478:6e3f56cd8c8b
Show More
PlottablesRenderingUtils.h
36 lines | 925 B | text/x-c | CLexer
/ gui / include / Visualization / PlottablesRenderingUtils.h
#ifndef SCIQLOP_PLOTTABLESRENDERINGUTILS_H
#define SCIQLOP_PLOTTABLESRENDERINGUTILS_H
#include <Data/DataSeriesType.h>
#include <Visualization/VisualizationDefs.h>
#include <memory>
#include <QtCore/QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(LOG_PlottablesRenderingUtils)
class QCPColorScale;
class QCustomPlot;
class Variable2;
/**
* Helper used to handle plottables rendering
*/
struct IPlottablesHelper
{
virtual ~IPlottablesHelper() noexcept = default;
/// Set properties of the plottables passed as parameter
/// @param plottables the plottables for which to set properties
virtual void setProperties(PlottablesMap& plottables) = 0;
};
struct IPlottablesHelperFactory
{
/// Creates IPlottablesHelper according to the type of data series a variable holds
static std::unique_ptr<IPlottablesHelper> create(Variable2& variable) noexcept;
};
#endif // SCIQLOP_PLOTTABLESRENDERINGUTILS_H