35 const QString constant_background_value_tooltip =
"Constant background value [counts/pixel]";
44 .
setToolTip(constant_background_value_tooltip);
61 return std::make_unique<PoissonNoiseBackground>();
Defines BackgroundItem classes.
Defines class ConstantBackground.
Defines class PoissonNoiseBackground.
BackgroundItem(const QString &model_type)
std::unique_ptr< IBackground > createBackground() const
static const QString P_VALUE
std::unique_ptr< IBackground > createBackground() const
PoissonNoiseBackgroundItem()
std::unique_ptr< IBackground > createBackground() const
static RealLimits nonnegative()
Creates an object which can have only positive values with 0. included.
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)