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

List:       kde-core-devel
Subject:    RE: KMessageBox::questionYesNo change
From:       David Faure <David.Faure () cramersystems ! com>
Date:       1999-11-29 8:57:28
[Download RAW message or body]



> -----Original Message-----
> From: antonio@max.tat.physik.uni-tuebingen.de
> [mailto:antonio@max.tat.physik.uni-tuebingen.de]On Behalf Of Antonio
> Larrosa
> Sent: Monday, November 29, 1999 6:42 AM
> To: kde-core-devel@kde.org
> Subject: Re: KMessageBox::questionYesNo change
> 
> 
> David Faure wrote:
> > 
> > On Sun, Nov 28, 1999 at 02:10:07PM +0000, Stephan Kulow wrote:
> > > David Faure wrote:
> > > >
> > > > On Sun, Nov 28, 1999 at 11:47:13AM +0000, Stephan Kulow wrote:
> > > > > Antonio Larrosa wrote:
> > > > > >
> > > > > >
> > > > > > Opinions ?
> > > > >
> > > > > Another point: how would the message box look like if 
> I'm going to
> > > > > delete 6000 files?
> > > >
> > > > I thought of displaying the total number and the first 
> 10 items and "...".
> > > > Antonio, is this possible ?
> > > >
> > > But how you handle this exception is very application specific no?
> > > I mean you would write "want you to delete the %1 files:" + list
> > > but would write something completly different in other uses
> > 
> > I definitely agree that this should be in konqueror, not in kdeui.
> > 
> 
> Perhaps you are right.
> My main point for having it on the libs (and merging both methods, as
> Stephan said, perhaps using QStringList as the last parameter), is that
> the implementation is exactly as the original questionYesNo, but with an
> additional QVBox and 4 more lines to add the QListBox. Copying it
> (be it to Konqueror, or leaving it as another method of 
> KMessageBox) is code duplication impo (In my paranoiac opinion)
I don't think it would be, since the konqueror dialog would inherit
the kdeui one. But I haven't had a look at it yet.

> Also, each time an aplication wants some feedback from the user for an
> action that operates on more than one item (files, 
> appointments, whatever)
> this message box should be used.
> 
> > > Greetings, Stephan
> > > P.S. Didn't we want to discuss additions to the libraries _before_
> > > doing them?
> > >
> 
> Mea culpa, but I just thought that this was needed and implemented it,
> as it couldn't break anything, was a binary compatible change, and it
> worked right (I tested it), I thought there wouldn't be any negative
> to commit it (anyway, we can remove it of course if you or David are
> sure that it's better to move it to Konqueror)

Well I'm not really sure... The example of korganizer makes sense to me.
(Preston ?)
Any other example of where this could be used ? That's the main point in
having
something in kdeui : that it's needed by several apps.

--
David Faure
faure@kde.org - KDE developer
david@mandrakesoft.com - Mandrake
david.faure@cramersystems.com - Cramer Systems

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

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