Hi all,
I Wondered if there is a method to select the text in the spinBox when we click in line edit in the spinBox , i tried to overlide mousePressEvent but it works just when we click in the buttons up an down.
Have any body an idea to do this ?
Hi all,
I Wondered if there is a method to select the text in the spinBox when we click in line edit in the spinBox , i tried to overlide mousePressEvent but it works just when we click in the buttons up an down.
Have any body an idea to do this ?
If you subclass QSpinBox you can also set your own QLineEdit subclass or install an event filter on the existing one.
Cheers,
_
Bookmarks