View Full Version : Table inside QTreeView?

11th July 2013, 12:05

I have a node structure where each node has a variable number of parameters. I would like to display these parameters in a table, and also to make them editable.

I have managed to create an editable table by creating NodeDelegate derived from QStyledItemDelegate. But this only helps me use the table as an editor, and not as a display tool.

I supply a screenshot describing what I want to do. The bottom node is being edited through a table. The other nodes are not edited, and their parameters are shown as just text rather than in a table layout.

How can I display my data in the way I like?

Thanks for any help :)