Results 1 to 3 of 3

Thread: mousePressEvent with QColumnView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    520
    Thanks
    13
    Thanked 77 Times in 75 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: mousePressEvent with QColumnView

    Hi, I also had some problems with events and item view widgets and found that the QWidget returned by viewport() seems to be the one that handles events, not the item view widget itself.

    Ginsengelf

  2. The following user says thank you to Ginsengelf for this useful post:

    BreakBad (13th August 2013)

Similar Threads

  1. How do I set selection in QColumnView?
    By hazzmax in forum Qt Programming
    Replies: 1
    Last Post: 22nd February 2017, 13:04
  2. How to use QColumnView with QSqlTableModel
    By npascual in forum Qt Programming
    Replies: 2
    Last Post: 21st June 2013, 07:37
  3. custom QColumnView, some questions
    By Mystical Groovy in forum Qt Programming
    Replies: 1
    Last Post: 9th October 2009, 14:03
  4. QModelIndex.column() error in QColumnView?
    By tlustoch in forum Qt Programming
    Replies: 1
    Last Post: 28th December 2008, 20:45
  5. QDirModel and QColumnView question
    By yartov in forum Qt Programming
    Replies: 3
    Last Post: 11th April 2008, 21:56

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.