15 #ifndef BORNAGAIN_GUI_MODEL_DATA_DATAPROPERTIES_H
16 #define BORNAGAIN_GUI_MODEL_DATA_DATAPROPERTIES_H
18 #include "3rdparty/GUI/qcustomplot/qcustomplot.h"
28 static constexpr
auto P_DATALINK{
"data link"};
43 static constexpr
auto P_LINE{
"Line"};
46 static constexpr
auto M_TYPE{
"DataItem1DProperties"};
60 QCPScatterStyle::ScatterShape
scatter();
63 QCPGraph::LineStyle
line();
Defines class SessionItem.
Holds data required for 1D DataItem representation.
void setColorProperty(const QString &color_name)
Returns set up color ComboProperty.
static constexpr auto P_COLOR
static const QString & nextColorName(Data1DProperties *properties)
Returns the name of the color, which follows the color of passes property container....
QColor color()
Creates and returns a color object from color name.
QCPScatterStyle::ScatterShape scatter()
Returns a QCP scatter object from its name.
void setLineProperty(const QString &line_name)
Set up line for qcustomplot.
static constexpr auto M_TYPE
static constexpr auto P_SCATTER
QString colorName() const
Returns the name of the color.
static constexpr auto P_LINE
QCPGraph::LineStyle line()
Returns a QCP line object from its name.
void setScatterProperty(const QString &scatter_name)
Set up scatter for qcustomplot.
Abstract base class for IntensityDataItem and SpecularDataItem. Owns one simulated data set of type D...
Implements a link to DataItem. If path name of a DataItem changes, the link becomes invalid....
Base class for a GUI data item.