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

List:       kde-panel-devel
Subject:    Re: Plasma & Netbook
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2009-05-28 15:45:25
Message-ID: 200905280945.26469.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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


["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


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

Configure | About | News | Add a list | Sponsored by KoreLogic