Sub Headers in a Table
-
Hi folks, I would like to create a table like this.
!http://i57.tinypic.com/2s0fzn5.png()!
I tried building a QTreeView, but I wasn't able to make the rows look like subheaders like in the picture!Any help?
-
Hi,
Do you mean something like QToolBox ?
-
Does that look like a QToolBox for you? QToolBox can only have 1 open tab at the same time far as I know :S
And the QToolBox even scrolls I guess -
Hi,
That widget box is part of Qt Designer. It is implemented as a subclass of QTreeWidget: http://code.woboq.org/qt5/qttools/src/designer/src/components/widgetbox/widgetboxtreewidget.h.html
-
[quote author="JKSH" date="1407162275"]Hi,
That widget box is part of Qt Designer. It is implemented as a subclass of QTreeWidget: http://code.woboq.org/qt5/qttools/src/designer/src/components/widgetbox/widgetboxtreewidget.h.html[/quote]
Thanks, that's the answer I was waiting for! :)