Skip to content
Snippets Groups Projects
Commit e99d385f authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm DoubleProperty::init old fct 2/3

parent 692539d6
No related branches found
No related tags found
1 merge request!2003In GUI, remove option to switch beteen nm and angstrom, degrees and radians.
......@@ -37,13 +37,6 @@ void DoubleProperty::init(const QString& label, const QString& tooltip, double v
}
void DoubleProperty::init(const QString& label, const QString& tooltip, double value,
const variant<QString, Unit>& unit, uint decimals,
const RealLimits& limits, const QString& uidPrefix)
{
init(label, tooltip, value, unit, decimals, 0.01, limits, uidPrefix);
}
void DoubleProperty::init(const QString& label, const QString& tooltip, double value,
const std::variant<QString, Unit>& unit, uint decimals, double step,
const RealLimits& limits, const QString& uidPrefix)
......
......@@ -45,9 +45,6 @@ public:
void init(const QString& label, const QString& tooltip, double value, uint decimals,
double step, const RealLimits& limits, const QString& uidPrefix);
void init(const QString& label, const QString& tooltip, double value,
const std::variant<QString, Unit>& unit, uint decimals, const RealLimits& limits,
const QString& uidPrefix);
void init(const QString& label, const QString& tooltip, double value,
const std::variant<QString, Unit>& unit, uint decimals, double step,
const RealLimits& limits, const QString& uidPrefix);
......
......@@ -27,7 +27,7 @@ const QString BackgroundValue("BackgroundValue");
ConstantBackgroundItem::ConstantBackgroundItem()
{
m_backgroundValue.init("Background value", "Constant background value", 0.0, "counts/pixel", 3,
m_backgroundValue.init("Background flux", "Constant background value", 0.0, 3,
RealLimits::nonnegative(), "value");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment