Ok I missed the QStandardItemModel thing, any way you will need to map the index from the poxy model to the source model.
Qt Code:
b = mapToSource(a); myitem = a.model().sourceModel().itemfromIndex(b);To copy to clipboard, switch view to plain text mode
Edit: I mean change this to PyQt equivalent





Reply With Quote
Bookmarks