[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: [Panel-devel] Finishing up the Layout Stuff
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2007-06-21 3:34:31
Message-ID: 200706202134.37040.aseigo () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Wednesday 20 June 2007, Matias Valdenegro T. wrote:
> The actual proposal is just make ALL widgets inherit Plasma::Widget and
> create glue/wrapper code for the elements already provided by Qt (SVG,
> Text, etc)
correct me if i'm wrong, but i thought we had decided to have all widget
inherit Plasma::LayoutItem directly?
this solves the problem of multiply inheriting GraphicsItem, which would be
problematic for things such as QGraphicsTextItem, and keeps the hierarchy
simple.
we can use the parent/child relationships that already exist in QGraphicsScene
betwen QGraphicsItems.
the difference in API that i see right now between LayoutItem and Widget is
that widget adds geometry, setGeometry, updateGeometry, invalidate (ugly
name, btw =) and resize.
invalidate can easily go away and the rest could be moved up into LayoutItem .
the additional parent/child relationships seem to duplicate what is already
there in QGraphicsScene really.
i'd like to see us keep it simple and move with LayoutItem if at all possible.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
[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