On Wed, 01 Sep 1999, Richard Moore wrote: > > >Bernd Gehrmann wrote: >> >> >> - LOTS of flexibility about how it can be subclassed. Much more so than >> >> QFileDialog, especially in terms of how the UI can be extended. >> >> How can it be extended? > >You can either add child widgets above or below the main view (eg to add a >file info display or something) or you can 'swallow' the entire layout by >reimplementing the swallower() method. The latter allows you to add new >widgets around the outside of the dialog (eg. a preview window). Another >option is to use the views in libkfile directly. You also have the option >of extending KDir to navigate new kinds of filesystem (even ones you made >up). You can do most of that in QFileDialog in Qt 2.1 as well, but as I said I don't want to start a KFileDialog vs. QFileDialog war :-) -- Reggie