Can Qt 3.3.6 QTable widget support multiple header rows & columns?
-
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
-
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
-
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