Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I drew 256 "QGraphicsRectItem" on a QGraphicsView. Each Item is representing a Storage LUN. Now i want to show tooltip like LUN0,LUN1 on each item on mousehover event.
I want to know how to acheive this.
I am able to show tool tip like LUN0,LUN1 by using setToolTip method of QGraphicsViewRectItem
But still i want to know how to capture mouse hover events for a particular QGraphicsViewRectItem and do some actions regarding that.
Hi,
You can e.g. create your own QGraphicsViewRectItem subclass and reimplement the mouseXXXEvent methods.
Hope it helps