15 #ifndef BORNAGAIN_GUI_MODEL_JOB_PARAMETERTREEITEMS_H
16 #define BORNAGAIN_GUI_MODEL_JOB_PARAMETERTREEITEMS_H
33 QString
title()
const;
46 QString
title()
const;
Defines class DoubleDescriptor.
Defines class SessionItem.
Describes properties of a double value which are necessary to allow GUI representation,...
The ParameterContainerItem is a top item to hold all ParameterItem, represents an entry point to para...
QObject * parameterTreeRoot()
void setBackupValue(const QString &link, double d)
ParameterItem * findParameterItem(const QString &link) const
std::unique_ptr< QObject > m_parameterTreeRoot
void restoreBackupValues()
QMap< QString, double > m_backupValues
void restoreBackupValue(QObject *item)
void readContentFrom(QXmlStreamReader *reader)
void writeContentTo(QXmlStreamWriter *writer) const
The ParameterItem class represent a tuning value in a parameter tuning tree.
QString titleForFitItem() const
void linkToSessionItem(SessionItem *item)
Links this item to the given session item.
double valueOfLink() const
void propagateValueToLink(double newValue)
Sets current value to the original PropertyItem of MultiLayerItem/InstrumentItem.
QString m_link
See docu of link()
int decimalsOfLink() const
ParameterItem(QObject *parent)
QString link() const
Unique string to identify this ParameterItem.
RealLimits limitsOfLink() const
void setTitle(const QString &title)
void linkToDescriptor(DoubleDescriptor d)
Links this item to the given value defined by a descriptor.
DoubleDescriptor m_d
The linked double value.
ParameterTreeItems is a collection of items necessary to form a tuning tree for real time widget.
ParameterLabelItem(QObject *parent)
void setTitle(const QString &title)
Base class for a GUI data item.