Re: [PyQt] PyQt Drag and Drop

2012-03-27 Thread hosscomp
I solved it. I had left out the "from cPicke import ..." line in the new file. I would have expected to get an undefined on those functions, but I guess they exist somewhere else. -- View this message in context: http://python.6.n6.nabble.com/PyQt-Drag-and-Drop-tp4646202p4661198.html Sent from

Re: [PyQt] get list of selected items in a listWidget

2012-03-27 Thread Ulrich Berning
The shortest way is: print [str(x.text()) for x in self.listWidget.selectedItems()] Ulli - Von: pyqt-boun...@riverbankcomputing.com [mailto:pyqt-boun...@riverbankcomputing.com] Im Auftrag von Christos Parliaros Gesendet: Montag, 26. März 2012 23:52 An: pyqt@riverbankcomputing.co