Re: Display directory pyqt4 and Python

2009-04-02 Thread Dunwitch
On Apr 2, 3:02 am, "Diez B. Roggisch" wrote: > Dunwitch schrieb: > > > > > I've looked around for the answer and have decided to ask an expert > > for the solution. Whats suppose to happen is a user pushes a button > > and displays the directory content in the text edit window on the gui. > > Ever

Re: Display directory pyqt4 and Python

2009-04-02 Thread Diez B. Roggisch
Dunwitch schrieb: I've looked around for the answer and have decided to ask an expert for the solution. Whats suppose to happen is a user pushes a button and displays the directory content in the text edit window on the gui. Everything works, apart from the fact that it only shows the last file i

Re: Display directory pyqt4 and Python

2009-04-01 Thread Wolfgang Rohdewald
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/itemview