28 double absoluteMinimum,
double absoluteMaximum,
double relativeMinimum,
29 double relativeMaximum) :
32 absoluteMinimum_(absoluteMinimum),
33 absoluteMaximum_(absoluteMaximum),
34 relativeMinimum_(relativeMinimum),
35 relativeMaximum_(relativeMaximum) {
124 settings.setValue(
"type",
type_);
134 setType(static_cast<Type>(settings.value(
"type",
Auto).toInt()));
154 stream << (int)
type_;
165 double absoluteMinimum, absoluteMaximum, relativeMinimum, relativeMaximum;
168 setType(static_cast<Type>(type));
170 stream >> absoluteMinimum;
172 stream >> absoluteMaximum;
175 stream >> relativeMinimum;
177 stream >> relativeMaximum;
void read(QDataStream &stream)
double getAbsoluteMinimum() const
void write(QDataStream &stream) const
void relativeMaximumChanged(double maxnimum)
double getAbsoluteMaximum() const
void relativeMinimumChanged(double minimum)
void absoluteMinimumChanged(double minimum)
void save(QSettings &settings) const
double getRelativeMinimum() const
void setAbsoluteMaximum(double maximum)
void setRelativeMinimum(double minimum)
void setRelativeMaximum(double maximum)
double getRelativeMaximum() const
void absoluteMaximumChanged(double maxnimum)
CurveAxisScaleConfig & operator=(const CurveAxisScaleConfig &src)
CurveAxisScaleConfig(QObject *parent=0, Type type=Auto, double absoluteMinimum=0.0, double absoluteMaximum=1000.0, double relativeMinimum=-1000.0, double relativeMaximum=0.0)
void load(QSettings &settings)
void setAbsoluteMinimum(double minimum)
void typeChanged(int type)