Results 1 to 2 of 2

Thread: QGraphicsItem HoverEvent Doubt

  1. #1
    Join Date
    Jul 2007
    Posts
    39
    Thanks
    10

    Default QGraphicsItem HoverEvent Doubt

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    124
    Thanked 38 Times in 30 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QGraphicsItem HoverEvent Doubt

    I think you're mistaking hover events for help events. See http://doc.trolltech.com/4.3/qhelpevent.html.
    Bitto / Andreas Aardal Hanssen - andreas dot aardal dot hanssen at nokia
    Nokia Software Manager, Qt Development

  3. The following user says thank you to Bitto for this useful post:

    arjunasd (7th August 2007)

Similar Threads

  1. destruction of QGraphicsItem
    By killkolor in forum Qt Programming
    Replies: 2
    Last Post: 5th December 2009, 11:31

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.