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

List:       kde-core-devel
Subject:    Re: KMessageBox::questionYesNo change
From:       Antonio Larrosa <antlarr () arrakis ! es>
Date:       1999-11-29 7:02:26
[Download RAW message or body]

Stephan Kulow wrote:
> 
> Antonio Larrosa 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 ?
> > >
> >
> > Just make a QStringList with 11 QStrings , where the last one is
> > "... + 5990 files" or something like that.
> >
> But this wouldn't help making it easier for programmers as the actual
> code in kdeui is only small compared to the one using it ;(
> 

Do you think it would be better that questionYesNo automatically "cut" the
list, displaying only the first 10 strings and then the number ?
This would need another parameter, for konqueror to use "files",
korganizer to use "appointments", etc. as the string to follow the numbers.

Anyway, I'm not too sure that this function should do that, what happens if
I just want to display 20 entries from a database to delete ?, should
it show just the first 10 ? I don't think 20 strings aren't that much.

Antonio.

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

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