[Panel-devel] [PATCH] Small "fixes"

Aaron J. Seigo aseigo at kde.org
Fri Jul 13 17:31:34 CEST 2007


On Friday 13 July 2007, Rafael Fernández López wrote:
> Well as Aaron proposed on other mail, ExtenderItem is probably not needed,
> and maybe is worth using directly Plasma::Applet. It is very annoying that

hm.. why not just QGraphicsItem?

> What I have noticed is that we need this changes for making it being drawn
> correctly (for example when they are faked-drawn on a dragging event to
> another extender, that they are painted with 50% of opacity). This makes
> them being painted and being painted in the correct place.

ok.. looking at the code some more, imho the translate call should go into 
Extender::paint right before the d->itemBeingDraggedInto->paint line so that 
the painter is "pre-translated". perhaps right after the painter->setOpacity 
call?

-- 
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)
-------------- 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/20070713/55b1c4e0/attachment.pgp 


More information about the Panel-devel mailing list