When I double click the tree,I want to justfy the selected node is a leaf one or not.
In the class QModelIndex,I don't know how to get the child number of QModelIndex?
Qt Code:
  1. void QAbstractItemView::doubleClicked ( const QModelIndex & index )
To copy to clipboard, switch view to plain text mode