Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, July 2006
listing directory contents with little icons


Message 1 in thread

Hello,

I am programming my first qt application: a directory listing widget on 
the left of a window and a qlabel on the right of the window which 
displays an image file selected from the file list widget.

Currently I am using the file listing widget given here:
http://doc.trolltech.com/qq/qq09-file-browser.html

But this code lists the files and directories without any icons beside 
them. This makes is quite hard to distinguish between the two. Could 
someone point me to a sample code with lists the directory contents with 
icons (folder icons for directories at least, no icons needed for files)?

Thanks,
HS.

--
 [ signature omitted ] 

Message 2 in thread

H.S. wrote:
> 
> Hello,
> ...
> someone point me to a sample code with lists the directory contents with 
> icons (folder icons for directories at least, no icons needed for files)?

$QTDIR/examples.

Cheers, Oliver

--
 [ signature omitted ]