PDA

View Full Version : Hierarchical QTableView



lotek
12th January 2011, 19:24
Hello,
I'd like to subclass the QTableView, so that after click in the first column cell (+ as the "hasChildren" indicator) the children items of the current row item will be shown. The columns in the children rows shall be spanned. Any examples or ideas how to do this?

The other possibility will be to add grid to QTreeView (how?), how in such a case can I span some columns in the children rows?

Thanks for your help.