Display directory pyqt4 and Python

Wolfgang Rohdewald wolfgang at rohdewald.de
Thu Apr 2 02:07:38 EDT 2009


On Donnerstag, 2. April 2009, Dunwitch wrote:
>         for x in (fileList):
>             self.ui.displayVideo.setText(x) # This only shows the last


self.ui.displayVideo.setText('\n'.join(fileList))


but I would go for a solution with QDirModel / QListView

http://doc.trolltech.com/4.5/itemviews-dirview.html

-- 
Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090402/38cb0fbe/attachment-0001.html>


More information about the Python-list mailing list