QTextCursor of QTextEdit: How to set Blink-rate or turn off?
-
wrote on 24 Mar 2015, 22:51 last edited by
I would like to adjust the blink-rate of the cursor in a QTextEdit. The QTextedit is more meant to scroll than to edit something, and hence I would like to disable the blinking cursor and instead switch to a non-blinking one. How do I do this?
-
Hi and welcome to devnet,
Do you mean it's a read-only QTextEdit ?
-
wrote on 29 Mar 2015, 09:35 last edited by
No, it's not read-only.
-
You can try taking a look at QTextDocument::drawCursor
3/4