QGraphicsTextItem: How to show the text cursor?
Hi I find some problem with the cursor. I have QGraphicsTextItem and an developing a virtual keyboard. I want to disable mouse click event on the QGraphicsTextItem.
Then get text cursor from the it and make the text cursor is visible.
But without a mouse click I cannot move the cursor.
have someone some idea? thanks
Re: QGraphicsTextItem: How to show the text cursor?
The item needs to have focus to be able to change the document. Alternatively you can intercept key events for your application and translate them to QTextCursor commands. But this won't make the text cursor visible.