The question is in the title... What would be the best way to remove the +/- buttons of a QDoubleSpinBox object?
Thanks,
Pierre.
The question is in the title... What would be the best way to remove the +/- buttons of a QDoubleSpinBox object?
Thanks,
Pierre.
Last edited by hickscorp; 17th April 2007 at 15:41.
The question is, why?
Use a QLineEdit with a QDoubleValidator instead of QDoubleSpinBox.
J-P Nurmi
hickscorp (17th April 2007)
The answer is, because i'm lazy to do from an edit box:
- minimum / maximum range validation,
- step control,
etc.
i didnt notice this QDoubleValidator stuff
So i guess you gave me the solution, with a minimal work around ^^
Thank you very much,
Pierre.
Bookmarks