Plasma & Netbook

Aaron J. Seigo aseigo at kde.org
Thu May 28 17:45:25 CEST 2009


On Thursday 28 May 2009, Marco Martin wrote:
> here the problem is that applets would steal mouse events?
> no idea if there is a reliable way to chose between delivering events only
> to the view/containment or to the applet?

qgraphicsview does give us the ability to control it, depending on what we're 
willing to do ;)

we could, for instance, have a QGraphicsItem that doesn't paint anything and 
which is the size of the viewable area positioned at (0, 0) that has a higher 
zValue than any other item on the canvas and use that as a global event 
filter.

all events will first hit that item, and we can filter/react based on what we 
want to achieve.

-- 
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 Qt Software

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090528/bc4a7502/attachment.sig 


More information about the Plasma-devel mailing list