This might not be the most efficient way..
Qt Code:
QModelIndexList indexes = model->match(model->index(0,0), Qt::DisplayRole, "*", -1, Qt::MatchWildcard|Qt::MatchRecursive); tree->expand(index);To copy to clipboard, switch view to plain text mode
Bookmarks