PyQt: QListView how to retrieve selected items?

Flavio fccoelho at gmail.com
Thu Feb 2 14:12:17 EST 2006


Hi,

I have a QListview widget that allows me to store a bunch of strings in
it. This strings can be visualized, sorted, selected, etc.

My Problem is that I cant find a way to get the user selected items
back from it! I looked over the Qt documentation many times over but
there is no method to that end.

Any PyQt guru lurking around?

should I try some other list widget, that has a "getSelected()"method?
Is there one?

any help will be appreciated.

Flavio




More information about the Python-list mailing list