PDA

View Full Version : QTReeView selectedRows()



blackbubblegum
24th February 2012, 13:34
Hey there,

Is there some kind of functionality to get all selected rows for a QTreeView? I know of selectedIndexes(), but this provides me multiple indexes for a row. This troubles me with later processing. Also it seems this feature has once been in QModelIndexList.

Please give me a hint, if you have one :)

thanks,
bbg

mentalmushroom
24th February 2012, 14:54
treeView->selectionModel()->selectedRows()