Hello all,
In my application, i have a spinBox whose minimum value is set to 10. Since I cannot display the same, I used specialValueText property to set it to ''--''.

Now when the user clicks on the spinBox, cursor stays at the rightmost end, and the text ("--") will not clear off if 'backspace' or 'del' key is pressed.

So, each and everytime, the user will have to select the text before he could enter/modify any value. Could anybody please tell how to resolve this issue? How to enable backspace/del keys? Otherwise, is there any way to set the text selected when the user clicks in the spinBox?

Alternatively, Is there any way around to keep the spinBox blank so that when the user clicks (or the focus comes to the spinBox through pressing tab or setFocus(),) he/she is able to enter the values straightaway without going through the pain of selecting text?

Thanks in advance
Deepak