If the value in the QDoubleSpinbox is positive, it shows no sign.
If the value is changed to a negative one, it automatically adds the "-" sign.
If the prefix is forced to "+", then the positive numbers will displayed with sign
doubleSB->setPrefix("+");
But the "+" will stay there and won't be automatically removed when the value set is negative
Is there a way to always show the correct sign?
- "+" sign if the value is positive
- "-" sign if the value is negative (like it does by default)