Results 1 to 2 of 2

Thread: hover event on qframe

  1. #1
    Join Date
    Jan 2011
    Posts
    5
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default hover event on qframe

    hey.

    i've created a series of qframe that contain names. how would i create a hover even that would display the name when the mouse is over a particular frame?

    thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: hover event on qframe

    Read the QWidget::mouseMoveEvent() documentation, its in there.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. QGraphicsItem hover event
    By xgoan in forum Qt Programming
    Replies: 6
    Last Post: 4th January 2016, 15:08
  2. Adding click event to QFrame
    By FoleyX90 in forum Newbie
    Replies: 4
    Last Post: 17th August 2010, 17:40
  3. QSystemTrayIcon capture mouse hover event
    By alan in forum Qt Programming
    Replies: 2
    Last Post: 1st August 2009, 19:42
  4. :hover not working, help please
    By kim123 in forum Qt Tools
    Replies: 1
    Last Post: 2nd February 2009, 13:20
  5. setting QToolbar "hover" event
    By maverick_pol in forum Qt Programming
    Replies: 4
    Last Post: 7th April 2008, 13:53

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.