Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QAbstractItemView:selectedIndexes() method not implemented #34

Open
ghost opened this issue Apr 30, 2012 · 1 comment
Open

QAbstractItemView:selectedIndexes() method not implemented #34

ghost opened this issue Apr 30, 2012 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Apr 30, 2012

QModelIndexList QAbstractItemView::selectedIndexes () const [virtual protected]
This convenience function returns a list of all selected and non-hidden item indexes in the view. The list contains no duplicates, and is not sorted.

@ghost
Copy link
Author

ghost commented Apr 30, 2012

This can be circumvented by doing:

T=QAbstractItemView()
S=QItemSelectionModel()
T:setSelectionModel(S)
Indexes=S:selectedIndexes()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants