getting indices from QTreeView on filtered with regular expression on a column
is there a quick and efficient way i can get all the indices that match a regular expression in a column in treeview. i use QSortFilterProxy model for my model, any code snippet to get indices on a regex will help. thanks in advance.
P.S: the data that we deal in tree view is huge.
Hi and welcome to devnet,
You can use setFilterRegExp(const QRegExp & regExp) with the regexp corresponding to your needs.
Hope it helps