Quote Originally Posted by wysota View Post
I already told you how to do that - see ExtraSelection.
Wait, ExtraSelection is a "structure" in QTextEdit. According to the docs QGraphicsTextItem is not derivative of this class and there is no any mention about ExtraSelection members in its full members list. Is it the bug in the docs? Or you suggest me to implement this functionality by myself?

Another approach to solve the problem could be replacing QGraphicsTextItem with QTextEdit item using QGraphicsWidget. Are there any tutorials or working examples of using QTextEdit on the GV scene?