summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* remove code duplication for setting the focus widget based on tBradley T. Hughes2009-03-252-23/+27
| | | | | | | | he focus policy refactor duplicated code in the mouse and wheel event handlers that sets the focus widget based on the widget's (or its ancestors) focus policy
* implement support for touch events in QGraphicsSceneBradley T. Hughes2009-03-244-0/+283
| | | | | | | | | QGraphicsView will convert QTouchEvents to QGraphicsSceneTouchEvents and send them to the scene. The scene will then send the touch events to the appropriate item. Like mouse event support, the item that accepts the touch begin is the item that will get all subsequent touch events. if no item accepts the touch begin event, then no touch events are sent to any item (and mouse events are sent instead).
* add QGraphicsItem::acceptTouchEvents() and setAcceptTouchEvents()Bradley T. Hughes2009-03-243-0/+29
| | | | | like Qt::WA_AcceptTouchEvents, QGraphicsItems don't receive touch events unless touch events are explicitly enabled.
* add QTouchEvent and QGraphicsSceneTouchEventBradley T. Hughes2009-03-246-11/+619
| | | | | | 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.
* add the Qt::WA_AcceptTouchEvents attributeBradley T. Hughes2009-03-241-0/+2
| | | | | this attribute must be set for a widget to get touch events (otherwise the widget will only get mouse events).
* add QEvent::TouchBegin, TouchUpdate, and TouchEnd event types (with ↵Bradley T. Hughes2009-03-242-0/+13
| | | | GraphicsScene* equivalents)
* Fixes compile of testlib when Qt is configured with `-qtnamespace'.Rohan McGovern2009-03-2419-3/+88
| | | | Reviewed-by: Andy Shaw
* Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-03-234-50/+51
|\
| * Updated WebKit from /home/shausman/src/webkit/trunk to origin/qtwebkit-4.5 ( ↵Simon Hausmann2009-03-234-50/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70604503a0365edaeff82ffad7b71f90641fa592 ) Changes in WebKit since the last update: ++ b/WebKit/qt/ChangeLog 2009-03-20 Erik L. Bunce <elbunce@xendom.com> Reviewed by Tor Arne Vestbø. Fix QWebPage::WebActions action states to more closely match when they are actually applicable and remove erroneous documentation. * Most WebActions implemented using editor commands now use the Editor::Command::isEnabled() to control their availability. * SelectAll is always enabled (since it's editor command is). * SetTextDirection{} family of WebActions are available when canEdit() is true and not just canEditRichly(). Fix and clarify documentation about the availability of various web actions. * Api/qwebpage.cpp: (QWebPagePrivate::updateAction): (QWebPagePrivate::updateEditorActions): * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::textSelection):
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-03-232-0/+13
|\ \ | |/
| * Long live Qt 4.5!Lars Knoll2009-03-239494-0/+3623838
|
* Long live Qt!Lars Knoll2009-03-239530-0/+3634583