PDA

View Full Version : Tableview - Three subcolumns inside one column?



qlands
24th March 2010, 14:34
Hi.

I need a Tableview with two columns and where each column has three subcolumns. Something like:

|--------------------------------------------------------------------------|
|Row ID | -------Wet Season-------|------Dry Season----------|
| | Cattle | Sheep | Goats | Cattle | Sheep | Goats |
|--------------------------------------------------------------------------|
| 1 | 20 | 0 | 40 | 15 | 0 | 10 |
|--------------------------------------------------------------------------|
...

Any idea with a small example?

Many thanks.

bmhautz
24th March 2010, 14:46
Take a look at this custom Qt widget: http://qt-apps.org/content/show.php/HierarchicalHeaderView?content=103154

qlands
24th March 2010, 15:04
Brilliant!

Thanks