Results 1 to 2 of 2

Thread: hoverMoveEvent

  1. #1
    Join Date
    Feb 2008
    Posts
    102
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question hoverMoveEvent

    How can i intercept this kind of event?

    I implement this function in my custom QGraphicsItem class but i don't receive any event.........!!!!!!!!

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: hoverMoveEvent

    You need to set QGraphicsItem::setAcceptsHoverEvents to true to recieve the hover event for the graphicsItem

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.