![]() Registered Member ![]()
|
Hi all,
I am having another specific need for my application. I want to have a textbox where the contents can be selected by your mouse, but that can't be edited. I tried using enabled=false but then I can't select the text in the textbox. It is probably someone already has encountered. Thanks in advance for your help! |
![]() KDE Developer ![]()
|
Usually, text edit widgets do provide a "readOnly" property which makes the content read-only, leaving the widget enabled. If the text widget you are using has this property, then it's your solution.
Pino Toscano
|
![]() Registered Member ![]()
|
That did the trick ![]() setEnabled(true); setReadOnly(true); Done ![]() Thanks! |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft