##// END OF EJS Templates
Switch core submodule to GH repo...
Switch core submodule to GH repo Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1420:3c3e24550401
r1507:2096ff074ca4
Show More
PlottablesRenderingUtils.h
36 lines | 925 B | text/x-c | CLexer
/ gui / include / Visualization / PlottablesRenderingUtils.h
Alexandre Leroux
Handles rendering of plottables (1)...
r917 #ifndef SCIQLOP_PLOTTABLESRENDERINGUTILS_H
#define SCIQLOP_PLOTTABLESRENDERINGUTILS_H
Alexandre Leroux
Updates PlottablesRenderingUtils to use variable's type instead of dataseries
r1282 #include <Data/DataSeriesType.h>
Alexandre Leroux
Handles rendering of plottables (1)...
r917 #include <Visualization/VisualizationDefs.h>
#include <memory>
Alexandre Leroux
Adds logs to axe and plottable rendering utils
r928 #include <QtCore/QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(LOG_PlottablesRenderingUtils)
Alexandre Leroux
Handles rendering of plottables (1)...
r917 class QCPColorScale;
class QCustomPlot;
Switched to new TS impl but quite broken!...
r1420 class Variable2;
Alexandre Leroux
Handles rendering of plottables (1)...
r917
/**
* Helper used to handle plottables rendering
*/
Switched to new TS impl but quite broken!...
r1420 struct IPlottablesHelper
{
Alexandre Leroux
Handles rendering of plottables (1)...
r917 virtual ~IPlottablesHelper() noexcept = default;
/// Set properties of the plottables passed as parameter
/// @param plottables the plottables for which to set properties
Switched to new TS impl but quite broken!...
r1420 virtual void setProperties(PlottablesMap& plottables) = 0;
Alexandre Leroux
Handles rendering of plottables (1)...
r917 };
Switched to new TS impl but quite broken!...
r1420 struct IPlottablesHelperFactory
{
Alexandre Leroux
Updates PlottablesRenderingUtils to use variable's type instead of dataseries
r1282 /// Creates IPlottablesHelper according to the type of data series a variable holds
Switched to new TS impl but quite broken!...
r1420 static std::unique_ptr<IPlottablesHelper> create(Variable2& variable) noexcept;
Alexandre Leroux
Handles rendering of plottables (1)...
r917 };
#endif // SCIQLOP_PLOTTABLESRENDERINGUTILS_H