57 settings->beginGroup(section+
"/"+
name());
59 settings->setValue(
"value",
value());
72 settings->beginGroup(section+
"/"+
name());
74 if (settings->contains(
"value"))
setValue(settings->value(
"value").toDouble());
75 if (settings->contains(
"lower"))
m_LowerLimit = settings->value(
"lower").toDouble();
76 if (settings->contains(
"upper"))
m_UpperLimit = settings->value(
"upper").toDouble();
77 if (settings->contains(
"fitted"))
m_IsFitted = settings->value(
"fitted").toInt();
78 if (settings->contains(
"limited"))
m_IsLimited = settings->value(
"limited").toInt();
double lowerLimit() const
void setUpperLimit(double ul)
void writeSettings(QSettings *settings, QString section)
double upperLimit() const
void setLimited(bool lim)
void setValue(double val, int index)
QxrdFitParameter(QcepSettingsSaverWPtr saver, QcepObject *parent, const char *name, QVariant value, QString toolTip)
void setLowerLimit(double ll)
void readSettings(QSettings *settings, QString section)
QWeakPointer< QcepSettingsSaver > QcepSettingsSaverWPtr