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

List:       kde-panel-devel
Subject:    Re: [PATCH] panel placement at the center (or whatever) of the screen
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2008-04-04 14:25:54
Message-ID: 200804040826.01715.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

["signature.asc" (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