[PATCH] panel placement at the center (or whatever) of the screen

Aaron J. Seigo aseigo at kde.org
Fri Apr 4 16:25:54 CEST 2008


On Friday 04 April 2008, Marco Martin wrote:
> uhm, what widget?

the third parameter in Applet::paintInterface (and Widget::paintWidget, 
QGraphicsItem::paint)

> anyways, using the geometry of the view(yeah, i know, bad) retrieved in
> paintinterface to calc the borders, the layout margins won't get updated,

yes, it would require some caching of values (the widgets' geometry), checking 
them in paintInterface and if they are different recalc the margins.

-- 
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: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080404/ddf6abe8/attachment.pgp 


More information about the Panel-devel mailing list