15 #ifndef BORNAGAIN_GUI_MODEL_JOB_FITPARAMETERCONTAINERITEM_H
16 #define BORNAGAIN_GUI_MODEL_JOB_FITPARAMETERCONTAINERITEM_H
34 static constexpr
auto M_TYPE{
"FitParameterContainer"};
Defines class SessionItem.
The FitParameterContainerItem class is a collection of all defined fit parameters in JobItem.
static constexpr auto T_FIT_PARAMETERS
QStringList fitParameterNames() const
Returns list of fit parameter display names.
static constexpr auto M_TYPE
FitParameterItem * fitParameterItem(const QString &link) const
get the fit parameter item whose link matches the given link.
mumufit::Parameters createParameters() const
void removeLink(const ParameterItem *parameterItem)
void createFitParameter(ParameterItem *parameterItem)
Creates fit parameter from given ParameterItem, sets starting value to the value of ParameterItem,...
FitParameterContainerItem()
void setValuesInParameterContainer(const QVector< double > &values, class ParameterContainerItem *parameterContainer)
Propagate values to the corresponding parameter tree items of parameterContainer.
QVector< FitParameterItem * > fitParameterItems() const
void addToFitParameter(ParameterItem *parameterItem, const QString &fitParName)
Adds given parameterItem to the existing fit parameter with display name fitParName....
FitParameterItems is a collection of items to define fit parameters in GUI.
The ParameterContainerItem is a top item to hold all ParameterItem, represents an entry point to para...
The ParameterItem class represent a tuning value in a parameter tuning tree.
Base class for a GUI data item.