Drawing underline cursor in derived QLineEdit?
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
There was already a thread about it: https://forum.qt.io/topic/1137/change-qlineedit-text-cursor-shape
As I can see the post you have attached, is just talkign about a bigger cursor but not changing to __ instead of |
sorry, my fault. For
Q(Plain)TextEditthere is a function
setTextCursor, but for a
QLineEditI could not find something similar. Maybe you can tweak
QPlainTextEditinto something appropriate for your case.