PDA

View Full Version : QGraphicsItem HoverEvent Doubt



arjunasd
7th August 2007, 17:31
Hi all

By default, the QGraphicsItems do not accept hover events. But when I set the tool tip using setToolTip(), the tool tip works fine.

My doubt is that the item must accept hover events in order for the tool tip to work fine. Correct me if I am wrong? So, does setting tool tip automatically turns on accept hover events?

Thanks
Arjun

Bitto
7th August 2007, 17:40
I think you're mistaking hover events for help events. See http://doc.trolltech.com/4.3/qhelpevent.html.