Important: Please read the Qt Code of Conduct -

Qwhatsthis funtionality for QGraphicsItems

  • hi to all,i want to create Qwhatsthis funtionality to Qgraphicsrectitems..some one suggest me is it possible?and suggest some ideas to implement.

  • Hi,

    Yes it's possible.

    Detect when the mouse is over an object (QGraphicsItem::acceptHoverEvents)
    Get the location of the mouse.
    Display a "What's this" object at position of the mouse.

    Hope that helps.

Log in to reply