Obsolete Members for QSpinBox
The following members of class QSpinBox are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Signals
(obsolete) void | valueChanged(const QString &text) |
Member Function Documentation
[signal] void QSpinBox::valueChanged(const QString &text)
This is an overloaded function.
The new value is passed in text with prefix() and suffix().
Note: Signal valueChanged is overloaded in this class. To connect to this one using the function pointer syntax, you must specify the signal type in a static cast, as shown in this example:
connect(spinBox, static_cast<void(QSpinBox::*)(const QString &)>(&QSpinBox::valueChanged), [=](const QString &text){ /* ... */ });