[Qt-interest] QListView: Get indexes of visible items

Ingomar Wesp ingomar at wesp.name
Mon Apr 27 23:09:50 CEST 2009


On Monday 27 April 2009 22:43:20 Malyushytsky, Alex wrote:
> This might be useful for you.
>
> http://www.qtsoftware.com/developer/faqs/faq.2007-02-27.8405373153
>
> Example there is written for TableWidget, but it should be no difference
> for any QAbstractItemView derived class as QListView is.

Thanks for the link, I'll look into it.

The only thing I'm concerned about with a solution like this is whether I'll 
run into any problems if there is spacing between the items. But I think I can 
figure that out on my own ;)

Thanks again,
Ingo



More information about the Qt-interest-old mailing list