[PyQt] QListWidget data fetching

Hans-Peter Jansen hpj at urpla.net
Tue Jul 26 13:14:17 BST 2011

On Tuesday 26 July 2011, 14:05:45 ad3d wrote:
> Hi guys,
>    i am trying to get data from listWidget but i am getting it in a
> PyQt4.QListWidget object format..where as i want it in QString or
> string....

[item.text() for item in listWidget.items()]


More information about the PyQt mailing list