[Panel-devel] Tasks applet and the panel
Aaron J. Seigo
aseigo at kde.org
Wed Aug 15 00:57:09 CEST 2007
On Tuesday 14 August 2007, Matt Broadstone wrote:
> On 8/14/07, Robert Knight <robertknight at gmail.com> wrote:
> > Hi,
> >
> > > By the way, that recalls to me that the actual concept of formfactors
> > > is not enough, and we need to extend it with sub-formfactors or
> > > formfactors parameters
> > > For example we need to make each applet know the size of the
> > > panel,
> >
> > This can be covered by adding support for applets in layouts. This
> > means:
>
> Already possible Applets == Widgets == LayoutItems
indeed; there's also a commented-out method in the Applet API maxSizeHint()
which returns a QRectF. the idea is to have this provide the size of the area
they are in, so the height or width of the panel could be advertised there,
with updates resulting in calls to constraintsUpdated. whether or not this
will be needed with the Layouts now remains to be seen. hopefully it won't,
but we'll see.
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070814/9a2802e4/attachment.pgp
More information about the Panel-devel
mailing list