Results 1 to 11 of 11

Thread: Capture mouse event on QHeaderView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Capture mouse event on QHeaderView

    Fixed.

    QHeaderView doesn't process the events directly, it gets passed from another object. Bottom line is you need to hook into the headers viewport, not the header itself.

  2. The following 2 users say thank you to squidge for this useful post:

    busimus (26th December 2017), JoZCaVaLLo (20th April 2011)

Similar Threads

  1. How to keep the mouse event?
    By oscar721 in forum Qt Programming
    Replies: 1
    Last Post: 27th October 2009, 09:48
  2. Mouse over event on qwtmarker?
    By shud in forum Qwt
    Replies: 2
    Last Post: 20th September 2009, 15:12
  3. QSystemTrayIcon capture mouse hover event
    By alan in forum Qt Programming
    Replies: 2
    Last Post: 1st August 2009, 19:42
  4. how to send a emulated mouse event to QListWidget
    By yxmaomao in forum Qt Programming
    Replies: 4
    Last Post: 22nd July 2008, 02:49
  5. The event fired by the mouse click on the frame
    By Placido Currò in forum Qt Programming
    Replies: 8
    Last Post: 3rd March 2007, 09:05

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
  •  
Qt is a trademark of The Qt Company.