Unsolved Drawing underline cursor in derived QLineEdit?
-
Hi all,
I want to have a horizontal blinking cursor on the QLineEdit instead of the vertical one.
Does someone have an idea how to achieve this?Many Thanks in advance
Regards
-
Hi,
There was already a thread about it: https://forum.qt.io/topic/1137/change-qlineedit-text-cursor-shape
-Michael. -
As I can see the post you have attached, is just talkign about a bigger cursor but not changing to __ instead of |
Many Thanks
-
Hi,
sorry, my fault. ForQ(Plain)TextEdit
there is a functionsetTextCursor
, but for aQLineEdit
I could not find something similar. Maybe you can tweakQPlainTextEdit
into something appropriate for your case.
-Michael.