Hello. I would like to implement a model (and a view) that supports multiple child levels (subtables) for each item in a table. Model implementation is quite easy, view is a QColumnView+QTableView as a column.
However, i got a problem with QHeaderViews in a QTableViews - headerData doesn’t accept QModelIndex (parent) as a parameter, so it is impossible to return different header data for subtables. The only approach i see is to copy/paste QHeaderView code and change Model::headerData() calls with calls to Model::data() function with specific user role. Am i missing something or this is the only way? Thanks in advance. Ivan _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest