[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: [Panel-devel] reordering of applets
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2007-09-24 21:59:30
Message-ID: 200709241559.30427.aseigo () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Saturday 22 September 2007, cedric wrote:
> >just raise the currently selected applet above all others? this would give
> >us, essentially, 4 z-order values:
> >
> >Object Type | Possible value
> >---------------------------------------
> >Containment -1000
>
> as applet are childen of Containment, they are always drawn after their
> container, regardless their zValue. (according to the QGraphicsItem doc)
yes. however, if we ever decide to allow items outside of containments .... it
just enforces a really strict separation..
> Setting a zValue to Containment relative to applet have no effet.
> But we should take care of reodering containments. All applet in a
we will need to do the same thing with Containments, so that the currently
active containment has a greater z-order than the others.
> contaiment below another containment will be drawn before all applets in
> the above containment, whatever are their zValue.
> Currently, in the code, I could see only one use of contaiment.
> Could they overlap themselves in the future ?
possibly, yes...
> >Background -500
> >Active applet 1000
> >Other aplpets 0
> >
> >thoughts?
>
> This mean we change the applet ordering when an applet get focus.
> As applets are QGraphicsItem, I don't know how to catch a signal like "this
> applet get focus"
protected virtual void focusInEvent ( QFocusEvent * event ) ?
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
[Attachment #5 (application/pgp-signature)]
_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic