summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Call the multitouch initialize and cleanup functions from cross-platform codeBradley T. Hughes2009-05-292-2/+4
|
* Reuse the raw touch event's modifiers when dispatching the widget touch eventsBradley T. Hughes2009-05-281-1/+1
|
* Refactor the touch event dispatching code in preparation for allowing ↵Bradley T. Hughes2009-05-288-145/+230
| | | | | | | | external event generators This introduces QEvent::RawTouch event type, which should be used by the low-level translator. This raw QTouchEvent can be sent to either QApplication or to a window, and Qt will do the rest to dispatch the touch points to the correct place.
* Don't try to maintain a current and active list of points for the app and ↵Bradley T. Hughes2009-05-285-115/+30
| | | | | | | | widgets/items Instead, build the list of touchPoints per event. This solves the problem when encountering releases early in the active/current list while there are still touch points in move/stationary states (which effectively caused the code to "forget" about the released point).
* Added api for emulating touch events.Denis Dzyubenko2009-05-271-3/+182
| | | | | For now the api is in the autotest itself, though in the QTest namespace.
* When converting a touch event to graphicsscene event use lastPos instead of ↵Denis Dzyubenko2009-05-271-1/+1
| | | | | | screenPos Reviewed-By: Bradley T. Hughes
* Replaced ?: operator with a switch statement to make it more explicitDenis Dzyubenko2009-05-271-5/+11
| | | | Reviewed-By: Bradley T. Hughes
* Capture keyboard modifiers for touch eventsDenis Dzyubenko2009-05-271-6/+5
| | | | Reviewed-By: Bradley T. Hughes
* Added simple autotest for gestures when there are overlapping graphicsitemsDenis Dzyubenko2009-05-271-3/+59
|
* Make Qt::TouchPointState ORable, add Q*TouchEvent::touchPointStates()Bradley T. Hughes2009-05-279-99/+165
| | | | | | | | | | This new function returns a bitwise OR of all the touch point states for the event. This makes it easy to see if a certain type of state is present or not without the need to loop over all touch points. QApplication and QGraphicsScene need to build this state when dispatching the touch points. This also fixes the ASSERT bug that Denis found when trying to send multiple touch presses in a touch begin event.
* Remove friends from QTouchEvent and QTouchEvent::TouchPointBradley T. Hughes2009-05-274-38/+42
| | | | | | We'll use the \internal functions to modify it instead. This should make it easier for people to implement support for touch events outside of Qt itself (still need to somehow expose the logic for dispatching the touch points to the correct widgets though).
* Don't enable WM_TOUCH* messages on all windowsBradley T. Hughes2009-05-263-5/+19
| | | | Only do it when a widget has actually set the Qt::WA_AcceptTouchEvents attribute
* Compile fix after conflict resolutionBradley T. Hughes2009-05-261-1/+1
|
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-05-26572-5573/+48973
|\ | | | | | | | | | | Conflicts: src/corelib/kernel/qcoreevent.h src/gui/graphicsview/qgraphicsitem_p.h
| * Fixed docs warnings for Animation APIThierry Bastian2009-05-263-6/+15
| |
| * Fix build failure on MacOS 10.4Tom Cooksey2009-05-261-3/+3
| | | | | | | | | | | | It seems GLint is typedefed to long on 10.4. Reviewed-By: Rhys Weatherley
| * Protect dump function by ifdef.Ian Walters2009-05-252-1/+11
| | | | | | | | | | Use the same pattern for protecting the dump function as qmap.h and qhash.h employ.
| * implement --locations option (complementing lupdate)Oswald Buddenhagen2009-05-252-1/+18
| |
| * implement --no-ui-lines option (complementing lupdate)Oswald Buddenhagen2009-05-253-0/+28
| |
| * remove now unused static functionOswald Buddenhagen2009-05-251-11/+2
| | | | | | | | sneak in white space change :)
| * Fix all docs warnings and add since 4.6 to new methodsAlexis Menard2009-05-251-7/+22
| | | | | | | | Reviewed-by:TrustMe
| * Fixed insertion of unnecessary spaces at the end of attribute listsThorbjørn Lindeijer2009-05-251-3/+2
| | | | | | | | | | | | | | Also makes QDomDocument::toString() consistent with QXmlStreamWriter and xmlTextWriter from libxml2. Reviewed-by: Thiago Macieira
| * Some refactoring of windows specific code + a private class of animationsThierry Bastian2009-05-258-82/+56
| |
| * Removed some export to symbols that don't need itThierry Bastian2009-05-259-62/+25
| | | | | | | | ...hopefully
| * qdoc: Fixed non-well-formed XML.David Boddie2009-05-252-1/+2
| | | | | | | | Reviewed-by: Martin Smith
| * Fix a warning on MSVCThierry Bastian2009-05-251-1/+1
| |
| * Compile fixThierry Bastian2009-05-252-2/+2
| |
| * Added QT_NO_ANIMATION to qfeaturesThierry Bastian2009-05-252-4/+17
| | | | | | | | | | Now you can opt it out to save disk space (for embedded). Also tested it and fixed code in state machine.
| * Warnings fixed on MSVCThierry Bastian2009-05-251-1/+3
| | | | | | | | simply added Q_UNUSED for parameters that weren't used in a function
| * Fixed 'crazy' warnings about using a string instead of a characterThierry Bastian2009-05-2573-223/+220
| | | | | | | | | | | | | | Wherever I found that we were using a string instead of a single char I fixed the code. Reviewed-by: olivier
| * Introduced preserved swap buffer path in GL window surface.Samuel Rødal2009-05-251-50/+64
| | | | | | | | | | | | | | | | | | When a buffer swap leaves the back buffer intact we don't have to use an FBO or PB, but can render directly to the window's back buffer, yielding higher performance and depending less on extensions such as multisample FBOs and FBO blitting. Reviewed-by: Trond
| * Fixed bug in QPaintEngineEx::drawTiledPixmap fallback code.Samuel Rødal2009-05-251-1/+1
| | | | | | | | | | | | The brush transform needs to include the rect position. Reviewed-by: Trond
| * Fixed bug in uninitialized GL pixmaps.Samuel Rødal2009-05-251-0/+2
| | | | | | | | | | | | | | When not setting filtering mode to GL_NEAREST/GL_LINEAR copying back from FBO to texture fails for some reason. Reviewed-by: Trond
| * Fixed broken system clip handling in GL2 paint engine.Samuel Rødal2009-05-252-2/+11
| | | | | | | | | | | | Override systemStateChanged() to get the system clip updates. Reviewed-by: Trond
| * Made PixelBuffer/FramebufferObject report correct DPI based metrics.Samuel Rødal2009-05-252-14/+16
| | | | | | | | | | | | | | We need to use both qt_defaultDpiX and qt_defaultDpiY, and round the resulting metric values. Reviewed-by: Trond
| * Fixed compilation Solaris.Friedemann Kleint2009-05-251-10/+6
| |
| * Merge branch 'master' into graphics-masterTom Cooksey2009-05-25433-676/+41186
| |\
| | * Added a "Qt 5 FIXME" comment to qmessagebox.h.jasplin2009-05-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QMessageBox::question() has the wrong default value for one of its arguments, but fixing it may break existing code, and the workaround is trivial (just specify an explicit value for the default argument). Reviewed-by: TrustMe Task-number: 254131
| | * Fix a mistake in the doc.Alexis Menard2009-05-251-2/+1
| | | | | | | | | | | | Reviewed-by: TrustMe
| | * Merge branch '4.5'Thiago Macieira2009-05-231-15/+0
| | |\
| | | * Fix another compilation breakage introduced by the fix to theThiago Macieira2009-05-231-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compilation breakage introduced in 6c1d7e57. The fix in fc7a43cce did fix the failure, but created another one because qhostinfo_win.cpp also had a copy of qt_sockaddr_in6 Reviewed-by: Jason McDonald
| | * | Disable the SH_Menu_AllowActiveAndDisabled on plastique style.Olivier Goffart2009-05-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This restore the KDE3's behaviour. Do not disable it on Windows as we are aware of customer using the QPlastiqueStyle on Windows that might rely on this (for behaviour consistancy with others Windows applications) Reviewed-by: jbache Task-number: 254210
| | * | Merge branch '4.5'Thiago Macieira2009-05-2225-190/+443
| | |\ \ | | | |/ | | | | | | | | | | | | Conflicts: src/corelib/kernel/qsharedmemory_unix.cpp
| | | * Pressing enter in a QPlainTextEdit embedded on a itemview should insert a ↵Olivier Goffart2009-05-223-2/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | newline Do the same special case as for QTextEdit (yes, this is a pitty that we have special cases like that Reviewed-by: Thierry Task-number: 252532
| | | * Fix compilation breakage on Windows caused by 6c1d7e57.Thiago Macieira2009-05-223-41/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, QT_NO_IPV6 isn't defined, but the necessary includes were missing. So #include winsock2.h and also use our own structures. Reviewed-By: Trust Me
| | | * Doc - updating the screenshotKavindra Devi Palaraja2009-05-221-0/+0
| | | | | | | | | | | | | | | | Reviewed-By: TrustMe
| | | * Fix syntax of the fcntl system call: this is not setsockoptThiago Macieira2009-05-221-6/+3
| | | | | | | | | | | | | | | | Reviewed-By: Oswald Buddenhagen
| | | * Fixes a potential crash when changing system palette with QGtkStyleJens Bache-Wiig2009-05-221-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that we installed an eventfilter regardless if the gtk symbols were defined or not. Instead we now initialize and check for the symbols before we install the filter. Task-number: 254342 Reviewed-by: ogoffart
| | | * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5Martin Smith2009-05-2243-188/+980
| | | |\
| | | | * Fixed compilation with -qtnamespaceMarkus Goetz2009-05-229-18/+27
| | | | | | | | | | | | | | | | | | | | | | | | | Task-number: 254333 Reviewed-by: Andy Shaw <qt-info@nokia.com>