[Interest] HierarchicalHeaderView for a QTableView

Alex Malyushytskyy alexmalvtk at gmail.com
Thu Nov 15 03:56:59 CET 2012

As far as I understand cell either is hierarchical or not.
If it is hierarchical it must have a root (otherwise it can be
presented by a few regular cells).

I just briefly played with the code, but I was able to get both
regular and hierarchical sections,
so I am not sure I understood your question.


On Tue, Nov 13, 2012 at 7:03 AM, Alex Strickland <sscc at mweb.co.za> wrote:
> Hi
> I downloaded this:
>         http://qt-apps.org/content/show.php?content=103154
> It seems quite nice to allow hierarchical headers for a QTableView, but
> it looks like the hierarchy must always have a "root".
> I am trying to add multiple "root" columns, or alternately hide the root
> row/column.
> Actually if I replace:
>              QStandardItem* rootItem = new QStandardItem("root");
> with:
>              QStandardItem* rootItem = new QStandardItem("");
> the root row header is hidden, but not the root column row header. Any
> ideas?
> --
> Regards
> Alex
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

More information about the Interest mailing list