Results 1 to 3 of 3

Thread: QHeaderView Select All cell signal

  1. #1
    Join Date
    Jan 2011
    Location
    Sri Lanaka
    Posts
    64
    Thanks
    39
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default QHeaderView Select All cell signal

    i have highlighted a cell in this image,how can i get the cell click event of that cell
    its a QTableWidget.


    Untitled.png

  2. #2
    Join Date
    Sep 2011
    Location
    Mannheim, Germany
    Posts
    22
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QHeaderView Select All cell signal

    it is not a cell. It is the header.

    QHeaderView has a signal:

    void sectionClicked ( int logicalIndex );

  3. #3
    Join Date
    Jan 2011
    Location
    Sri Lanaka
    Posts
    64
    Thanks
    39
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: QHeaderView Select All cell signal

    thanks for the reply...
    i used im using that signal at the moment in my application...
    i have events for vertical and horizontal header both.. non of them respond when i click the area i have highlighted in the picture.
    simply that signal is not the one to catch that specific event...

    and which header does this area belong to?? vertical or horizontal or both...

Similar Threads

  1. Qpixmaps in Qtablewidget hides untill i select the cell?
    By Dreamerzz in forum Qt Programming
    Replies: 9
    Last Post: 23rd June 2011, 14:46
  2. Replies: 1
    Last Post: 9th May 2011, 20:45
  3. Replies: 1
    Last Post: 23rd October 2009, 22:48
  4. Signal from a ComboBox cell in a QTableWidget
    By thebra in forum Qt Programming
    Replies: 5
    Last Post: 21st October 2008, 08:48
  5. How to select a cell in a QTableView
    By JeanC in forum Qt Programming
    Replies: 6
    Last Post: 6th February 2008, 13:20

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.