18 const QString tooltip_min_value =
"Minimum allowed value, value included.";
19 const QString tooltip_max_value =
"Maximum allowed value, value excluded.";
Defines RealLimitsItems's classes.
RealLimits createRealLimits(double scale_factor=1.0) const
RealLimits createRealLimits(double scale_factor=1.0) const
RealLimits createRealLimits(double scale_factor=1.0) const
RealLimits createRealLimits(double scale_factor=1.0) const
RealLimits createRealLimits(double scale_factor=1.0) const
static const QString P_XMAX
static const QString P_XMIN
RealLimitsItem(const QString &name)
Limits for a real fit parameter.
static RealLimits limitless()
Creates an object withoud bounds (default)
static RealLimits upperLimited(double bound_value)
Creates an object bounded from the right.
static RealLimits lowerLimited(double bound_value)
Creates an object bounded from the left.
static RealLimits positive()
Creates an object which can have only positive values (>0., zero is not included)
static RealLimits nonnegative()
Creates an object which can have only positive values with 0. included.
static RealLimits limited(double left_bound_value, double right_bound_value)
Creates an object bounded from the left and right.
SessionItem * addProperty(const QString &name, const QVariant &variant)
Add new property item and register new tag.
QVariant getItemValue(const QString &tag) const
Directly access value of item under given tag.
SessionItem & setToolTip(const QString &tooltip)
SessionItem & setLimits(const RealLimits &value)
RealLimits createRealLimits(double scale_factor=1.0) const
QString const & name(EShape k)