Results 1 to 2 of 2

Thread: QTableView and headerData

  1. #1
    Join Date
    Sep 2009
    Posts
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default QTableView and headerData

    Is it possible to have multiple columns under one header and having thus multiple lines in the header ( one with general text and the next one specifying the individual columns ). Someone suggested Qicstable which is more than ok but I find it strange to get a license just for the header stuff.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QTableView and headerData

    Yes, but not out of the box. Have a look at Hierarchical HeaderView for inspiration.

Similar Threads

  1. Replies: 2
    Last Post: 26th November 2009, 04:45
  2. Replies: 1
    Last Post: 2nd July 2008, 19:45
  3. QTableView headerData() color
    By starcontrol in forum Qt Programming
    Replies: 5
    Last Post: 16th April 2008, 14:04
  4. How to remove the treeView HeaderData
    By Kostanev in forum Qt Programming
    Replies: 1
    Last Post: 15th March 2008, 08:45
  5. QTreeView HeaderData StyleSheet
    By Kostanev in forum Qt Programming
    Replies: 2
    Last Post: 12th September 2007, 22:12

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.