Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Changing caret color in a QGraphicsTextItem



  • Hi All.
    I am trying, in a QGraphicsTextItem, changing the color of the blinking caret cursor (|).
    I seems no easy... Any ideas or suggestions?
    Many thanks.



  • I don't know if QGraphicsTextItem have MouseIn and MouseOut event.If not, View must have such event. you can overload these virtual functions.



  • I'm sorry, but I don't understand your reply, I think we are talking about different things.
    I'm asking about the flashing cursor in the text, not the mouse cursor.


Log in to reply