summaryrefslogtreecommitdiffstats
path: root/examples/multitouch
Commit message (Collapse)AuthorAgeFilesLines
* Fix license headers after multitouch+gestures merge.Jason McDonald2009-06-2913-65/+65
| | | | | | | Commercial license headers belong in source packages only. The repo must have the pre-release license headers. Reviewed-by: Trust Me
* Fix old/missing license headers from multitouch+gestures merge.Jason McDonald2009-06-2914-40/+81
| | | | Reviewed-by: Trust Me
* Don't crash in the fingerpaint example if the touch id gets too largeBradley T. Hughes2009-06-221-1/+1
| | | | | Some touch devices don't recycle touch id's, so for longer sequences we could easily see ids that become larger than the color list size. Make sure we constrain the index we use.
* update examples now that we get both touch and mouse events at the same timeBradley T. Hughes2009-06-185-7/+100
| | | | | added a new example to show how to enable touch for an existing widget (QDial in this case), and that the mouse event emulation of QWidget does the Right Thing (tm)
* enable touch events on all views if an item has touch enabledBradley T. Hughes2009-06-111-1/+0
|
* remove duplicated code and API (merge QTouchEvent and QGraphicsSceneTouchEvent)Bradley T. Hughes2009-06-111-7/+7
| | | | | | | | | the API for these 2 classes is identical, the implementation is almost identical, they share the same data structures, so bite the bullet and merge them. this means we go back to using screenPos() instead of globalPos() again
* another API review round: change Q*TouchEvent size() functions to return ↵Bradley T. Hughes2009-06-111-8/+5
| | | | | | rects instead these are more useful, as already shown in the fingerpaint example
* Compile after API updatesBradley T. Hughes2009-06-053-21/+21
|
* Accept TouchBegin events by default if they are enabledBradley T. Hughes2009-06-053-10/+3
| | | | | | After an API review round, we agreed that it makes sense for the TouchBegin event to default to accepted if the widget has subscribed to receive touch events.
* Add support for touch point contact areaBradley T. Hughes2009-06-031-2/+6
| | | | Add QTouchEvent::TouchPoint::area() and implement support for it on Windows
* make the red and green children items largerBradley T. Hughes2009-05-131-4/+4
|
* implement panning using touch eventsBradley T. Hughes2009-03-262-6/+8
| | | | | since we don't get mouse events to send to QGraphicsView's ScrollHandDrag handlers, we need to do it ourselves
* show the example maximized, not fullscreenBradley T. Hughes2009-03-251-1/+1
|
* add a multitouch example that shows how to handle multitouch events in ↵Bradley T. Hughes2009-03-255-1/+217
| | | | QGraphicsItems
* add fingerpaint to examples\multitouch.proBradley T. Hughes2009-03-251-1/+1
|
* have the window title in the fingerpaint example say Finger Paint, not ScribbleBradley T. Hughes2009-03-251-1/+1
|
* add the multitouch fingerpaint example, based on the scribble exampleBradley T. Hughes2009-03-256-0/+664
|
* add a multitouch pinchzoom example, based on the collidingmice exampleBradley T. Hughes2009-03-249-0/+514