summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Support multiple touch targets in QGraphicsViewBradley T. Hughes2009-05-131-2/+2
| | | | | | | | | | | | | | | | | | | | | This required a larger change to the kernel and graphicsview directories to make this as efficient as possible: 1. QTouchEvent::TouchPoint becomes the base for QGraphicsSceneTouchEvent::TouchPoint - this means there is one private for every touch point, and we can store both the screen and scene coordinates in one place. Converting a QTouchEvent to QGraphicsSceneTouchEvent becomes nothing more than casting the QTouchEvent::TouchPoints to QGraphicsSceneTouchEvent::TouchPoints. 2. The logic that we use in QApplication to convert WM_TOUCH* messages to QTouchEvents is essentially duplicated (with some minor changes) to QGraphicsScene so that it can support mulitple touch item targets. I will have to investigate how I can perhaps merge some of the duplicated code. QEvent::GraphicsSceneTouchBegin propagation is not implemented yet, and will come in a later commit
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-05-111-2/+2
|\
| * removed more exports on private classes (QMouseEventEx and QKeyEventEx)Thierry Bastian2009-05-081-2/+2
| |
* | Support sending touch events (with multiple touch points) to multiple ↵Bradley T. Hughes2009-05-041-0/+1
| | | | | | | | | | | | | | widgets simultaneously This is a first attempt, and it works, but it will need to be cleaned up to remove as much state from QWidgetPrivate as possible.
* | add QTouchEvent and QGraphicsSceneTouchEventBradley T. Hughes2009-03-241-0/+16
|/ | | | | | these events contain a list of all touch points. note that the coordinates for QTouchEvent are floating point, since many devices offer sub-pixel resolution.
* Long live Qt!Lars Knoll2009-03-231-0/+94