9#ifndef KOUNITDOUBLESPINBOX_H
10#define KOUNITDOUBLESPINBOX_H
12#include "kritawidgets_export.h"
14#include <QDoubleSpinBox>
51 virtual void changeValue(
double newValue );
55 virtual void setUnit(
const KoUnit &);
58 double value( )
const;
61 void setMinimum(
double min);
64 void setMaximum(
double max);
67 void setLineStep(
double step);
70 void setLineStepPt(
double step);
73 void setMinMaxStep(
double min,
double max,
double step );
76 QValidator::State validate(QString &input,
int &pos)
const override;
83 QString textFromValue(
double value )
const override;
89 double valueFromText(
const QString& str )
const override;
102 void privateValueChanged();
float value(const T *src, size_t ch)
void valueChangedPt(qreal)
emitted like valueChanged in the parent, but this one emits the point value