And if you really need some custom fancy formatting you reimplement QDoubleSpinBox::textFromValue() and QDoubleSpinBox::valueFromText(). You don't "rewrite" non-virtual setValue().
PS. There are buttons for quotes and code snippets. Could you start using them, please?
Bookmarks