[PyQt] How to get a list of all items in QListWidget?

Karlo Lozovina karlo.lozovina at gmail.com
Tue Apr 22 20:43:05 BST 2008

This should be trivial, but I'm stuck: how can I retrieve a list of
QListWidgetItems, contained in a QListWidget? It seems I should use
QListWidget.items() function, but I must be doing something wrong.

Can anyone show a simple example?

Thanks a lot...

Karlo Lozovina - Mosor

More information about the PyQt mailing list