[Panel-devel] Yo

Aaron J. Seigo aseigo at kde.org
Tue Jul 17 00:19:37 CEST 2007


On Monday 16 July 2007, Zack Rusin wrote:
> On Monday 16 July 2007 04:54:07 pm Aaron J. Seigo wrote:
> > > If we add the panel items in some sort of negative space then
> > > we once again lose the collision detection that you were talking
> > > about.
> >
> > this really depends on how qgraphicsscene handles negative coordinates
> > (e.g. -10, -10), which i haven't played with at all yet.
>
> It doesn't care. The algorithm should handle all cases independently of the
> coordinate system it operates on.

brilliant; i was working under the assumption this would be the case, but you 
know what they say about assumptions:

they look best on a parisian model on a runway but boy do they look out of 
place on the street.

or something like that.

> One note though: in general when returning QPainterPath from the shape()
> method try returning real bounding paths instead of rendering paths. The

good to know... thanks =)

-- 
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/20070716/adf461bc/attachment.pgp 


More information about the Panel-devel mailing list