35 throw Error(
"FitSuiteItem::createFitParametersContainer() -> Error. Attempt to create "
36 "a second FitParameterContainer.");
49 throw Error(
"FitSuiteItem::createMinimizerContainer() -> Error. Attempt to create "
50 "a second MinimizerContainer.");
Defines class FitParameterContainerItem.
Defines class FitSuiteItem.
Defines MinimizerItem class.
Defines class SessionModel.
The FitParameterContainerItem class is a collection of all defined fit parameters in JobItem.
static constexpr auto M_TYPE
MinimizerContainerItem * minimizerContainerItem()
static constexpr auto P_ITERATION_COUNT
static constexpr auto P_CHI2
int iterationCount() const
void setChi2(double chi2)
static constexpr auto P_UPDATE_INTERVAL
static bool isIterationCountPropertyName(const QString &name)
FitParameterContainerItem * createFitParametersContainer()
int updateInterval() const
void setIterationCount(int count)
MinimizerContainerItem * createMinimizerContainer()
static constexpr auto T_FIT_PARAMETERS_CONTAINER
FitParameterContainerItem * fitParameterContainerItem()
static constexpr auto T_MINIMIZER
static bool isUpdateIntervalPropertyName(const QString &name)
void setUpdateInterval(int interval)
The MinimizerContainerItem class holds collection of minimizers.
static constexpr auto M_TYPE
Base class for a GUI data item.
SessionItem * addProperty(const QString &name, const QVariant &variant)
Add new property item and register new tag. name is the tag name and the display name....
bool registerTag(const QString &name, int min=0, int max=-1, QStringList modelTypes={})
Add new tag to this item with given name, min, max and types. max = -1 -> unlimited,...
QVariant getItemValue(const QString &tag) const
Directly access value of item under given tag.
void setItemValue(const QString &tag, const QVariant &variant) const
Directly set value of item under given tag.
SessionModel * model() const
Returns model of this item.
SessionItem * getItem(const QString &tag="", int row=0) const
Returns item in given row of given tag.
T * insertItem(SessionItem *parent=nullptr, int row=-1, QString tag="")
QString const & name(EShape k)