float value(const T *src, size_t ch)
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
QDoubleSpinBox * widget() const
Get the internal KisDoubleParseSpinBox as a QWidget, so it may be added to a UI.
void noMoreParsingError() const
signal emitted when the last parsed expression is valid and the expression before was not valid.
bool isLastValid() const
Get if the last expression entered is a valid one.
void stepBy(int steps)
This is a reimplementation of QDoubleSpinBox::stepBy that uses setValue.
virtual QString veryCleanText() const
This virtual function is similar to cleanText(). But child classes may reimplement it to further proc...
void setValue(double value, bool overwriteExpression=false)
Set the value of the spinbox.
void errorWhileParsing(const QString &expr) const
signal emitted when the last parsed expression is not valid.
~DoubleParseSpinBox() override
The KisDoubleParseSpinBox class is a cleverer doubleSpinBox, able to parse arithmetic expressions.
bool isLastValid() const
Get if the last expression entered is a valid one.
void setValue(double value, bool overwriteExpression=false)
Set the value of the spinbox.
void stepBy(int steps) override
This is a reimplementation of QDoubleSpinBox::stepBy that uses setValue.
virtual QString veryCleanText() const
This virtual function is similar to cleanText(). But child classes may reimplement it to further proc...
KisDoubleParseSpinBox * widget