Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
how to get QModelndex for all children in QtreeView
Qt Enthusiast last edited by
I have a QtreeView as given in the example,
I have QModelIndex of one of parent node ,
int rowIndex = parent.index().row()
I want to the indices of its children and I have QModelIndex as parent
You can use QModelIndex::sibling for that.