Hi,
I need to hide the blinking cursor (caret) of QLineEdit permanently.
But at the same time, I want the QLineEdit to be editable (so readOnly and setting editable false is not an option for me).
I am changing the Background color of the QLineEdit, when it is in focus, so I will know which QLineEdit widget is getting edited.
For my requirement, cursor (the blinking text cursor) display should not be there.
I have tried styleSheets, but I can't get the cursor hidden ( {setting color:transparent; text-shadow:0px 0px 0px black;} )
Can someone please let me know how can I achieve this?
Thanks,
Ash
Bookmarks