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

List:       kde-i18n
Subject:    Re: KMultiPanner
From:       Matthias Welk <welk () fokus ! gmd ! de>
Date:       1999-03-23 10:54:07
[Download RAW message or body]

On Mon, 22 Mar 1999, David Faure wrote:
>After fighting some more with QSplitter, I have another thought about KMultiPanner...
>;)
>
>> Known problems:
>> - rubber band of nested splitters is not drawn
>My English is very bad. What's rubber band ?
>

I took the word from the Troll's. I think it's the line that will be drawn if
you move the splitter-handle.

>> - children can only be added to a splitter at first or at last (this is a
>> limitation imposed by the qt-api)
>I wanted to ask you : is there any way to remove this limitation ?

Look at the new version of KMultiPanner at:

http://www.fokus.gmd.de/research/cc/cats/employees/matthias.welk/private/

I have made an ugly little hack to get the new widget at the right position.
All children of a splitter are stored in a list. If I add a new widget, then it
will be inserted at the right position. After this I go through the list and
call moveToFirst().
Yes I know, it's very ugly, but I could not find any other solution.

>QSplitter is very annoying because of that, and if there is a way to make
>KMultiPanner add children at any position, that would be great.
>

Yes, it can.

>BTW, anyone knows who's working on KSplitter ? I heard something like that
>on kde-devel, but no name was given, IIRC.
>
>In fact, I still don't think we need the complexity of KMultiPanner - the
>user interface for splitters already includes lots of options (add row,
>delete view, ...), the one for KMultiPanner would include far too much IMHO.

Yes, you are right :-))
In my last mails I tried to defend KMultiPanner, but after playing with it, I
came to the conclusion that it is really to complicated for a browser :-(
To be really free in positioning of view you need 8! menu entries:

Add left
Add right
--
Add above
Add below
--
Add leftmost
Add rightmost
--
Add top
Add bottom

IMO that will confuse the simple user.

>But on the other hand, what we need is a full-featured splitter, be it
>a future QSplitter, the vaporware KSplitter, or a modified version of KMultiPanner.
>

<Dreaming on>
How about a splitter that let's you add new children completely free via a
"ghost child" like the toolbar? It docks automatically at possible positions if
you move it with the mouse.
<Dreaming off>

Greetings, Matthias.
--
---------------------------------------------------------------
From: Matthias Welk                   voice: +49-30-3463-7272
      GMD Fokus                       fax  : +49-30-3463-8272
      Kaiserin-Augusta-Allee 31       email: welk@fokus.gmd.de
      10589 Berlin
----------------------------------------------------------------

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

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