hi, Can i get the indexes that are showing in viewport of QListView/QTreeView?
thanks!
hi, Can i get the indexes that are showing in viewport of QListView/QTreeView?
thanks!
You would probably have to write a little function that goes from the top of the view to the bottom and then use QAbstractItemView::indexAt() to provide you with a model index. That will probably give you the info you want.
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields
Ask Smart Questions
Bookmarks