[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Filedialog
From:       Waldo Bastian <bastian () suse ! de>
Date:       1999-11-05 10:35:31
[Download RAW message or body]

On Fri, 05 Nov 1999, Stephan Kulow wrote:
> Espen Sand wrote:
> > 
> > On fre, 05 nov 1999, Stephan Kulow wrote:
> > >Waldo Bastian wrote:
> > >>
> > >> Hiya,
> > >>
> > >> Whatever the filedialog is which we use, the current API lacks a way to
> > >> specify the title of the filedialog. This results in "Print to File"
> > >> giving a "Save as" filedialog. Bad UI, Bad UI.
> > >>
> > >Haem? [QK]FileDialog is a QDialog and as this has setCaption
> > >
> > But not the static ones. (eg, KFileDialog::getOpenFileName() etc ) which most
> > people use. I can't see any reason why one must make it impossible to set
> > a proper caption when using an "easy to use" dialog.
> > 
> These static methods are just for convenience for 80% of the cases. When
> someone needs a special dialog, it's a three liner to call the file
> dialog with a special caption.

Well. I would suggest to change the API of the "convenience" functions
after KRASH. Currently it as a "name" argument which nobody seems to
use. (What is use of that anyway? I never understood) I think it is
better to provide a caption there instead. 

Cheers,
Waldo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic