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