Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Can Qt 3.3.6 QTable widget support multiple header rows & columns?
Forum Update on Monday, May 27th 2025

Can Qt 3.3.6 QTable widget support multiple header rows & columns?

Scheduled Pinned Locked Moved Brainstorm
3 Posts 2 Posters 5.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Maryann
    wrote on 28 Jul 2010, 15:02 last edited by
    #1

    Apologies if this it the wrong forum but the first word of the description is "Stuck?" and I am!
    We are also stuck on Qt 3.3.6 for the near future. If there is a more appropriate forum, please let me know.

    My question is: can QTable have 2 or more rows of column headers? Imagine a spreadsheet with the first row of horizontal column headers listing the months, the column header row under the months lists the days in each month. So there are only 12 month columns but 365 day columns underneath, meaning a month header will span many day column headers. The vertical row headers might be expenses like "Air travel" "Lodging" etc.

    Can headers like this be done in Qt 3.3.6 or Qt 4?

    Thank you for your help.

    Maryann

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tony
      wrote on 29 Jul 2010, 07:17 last edited by
      #2

      Hi,

      well, I don't know about Qt 3.3.6, but in Qt 4.x Barmaglood succedeed :)

      "HiearchicalHeaderView":http://qt-apps.org/content/show.php/HierarchicalHeaderView?content=103154

      Maybe you can have a look to the source code for inspiration.

      Antonio

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Maryann
        wrote on 29 Jul 2010, 11:29 last edited by
        #3

        Hi

        Thank you for the pointer for Qt 4. If we move forward I can look at that.
        I found an old entry in a www.qtcentre.org forum that says Qt 3 QTable does not support spanning columns which is what I ultimately need to do.
        There is a third party widget QicsTable that should do the trick and I think it is still available for Qt 3.

        Thanks for the help.

        Maryann

        1 Reply Last reply
        0

        1/3

        28 Jul 2010, 15:02

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved