Hi,

I have an item dierived from QGraphicsItem.

and I want a toolTips for this item

Qt Code:
  1. hotPoint::hotPoint(const QPointF& hotPoint)
  2. {
  3. setAcceptHoverEvents(true);
  4. setToolTip("An important value");
  5. point = hotPoint;
  6. }
To copy to clipboard, switch view to plain text mode 

what else I should do to make toolTip shown?