Hi there,
Using "QStandardItemModel(2,2,this)" I made a model in which each item is a parent for another item.
I want to have some views: one tree view to show the whole data, and several Table views each showing one child of the model.
The three view is easy. However, I don't know how to make tableView to show a child. "ui->tableView->setModel(model);" shows the top level, but is need to pass sub levels to the table.
Thanks,
Omid
Bookmarks