summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-07-01 12:34:21 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2009-07-02 14:58:12 (GMT)
commit097476afe24d69bac65b84b70ed2f93e88875b40 (patch)
tree15449591ab6aa79e7eec120da3190938a5682769 /lib
parent3473453dda9f40bf94733bc971b0cc1658e7c3c8 (diff)
downloadQt-097476afe24d69bac65b84b70ed2f93e88875b40.zip
Qt-097476afe24d69bac65b84b70ed2f93e88875b40.tar.gz
Qt-097476afe24d69bac65b84b70ed2f93e88875b40.tar.bz2
Implement hitTest
Cocoa calls hitTest on our view to determine if the view should get the mouse press. We always said, "yes" and did all the logic ourselves. Turns out that we can say "no" if I'm transparent to mouse events and remove all that code where we do all the work ourselves. Big maintenance win! For the time being I've kept the "transparentViewForEvent" method since it might be useful for others, but no one is using it at the moment and we may just kill it soon. HitTest should handle this situation correctly.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions