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

List:       kde-core-devel
Subject:    Re: KMessageBox::questionYesNo change
From:       Stephan Kulow <coolo () kde ! org>
Date:       1999-11-29 9:57:23
[Download RAW message or body]

Antonio Larrosa wrote:
> 
> 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.
> 
The number should depend on the size. A message box shouldn't be larger
than
350 pixels or so (I think, 400 pixels are defined as maximum for a
window by
the styleguide). But some people set their fonts to 18 pixels or more
not to
wear their glasses... Then with borders, the text, the buttons, etc 20
items
become _a lot_.

Greetings, Stephan

-- 
When your memory goes, forget it!

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

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