- Mar 06, 2012
-
-
Martin Jones authored
Mark reimplemented protected methods. Change-Id: I544d68e16d82a37f5612fd72cd185a23c70157a7 Reviewed-by:
Alan Alpert <alan.alpert@nokia.com>
-
- Mar 05, 2012
-
-
Gunnar Sletta authored
Also rename paint() to exposureChanged() as that is what the function actually means. The implementation of paint() has been removed in both trivial and threaded version as it is superflous as show() already triggers rendering. Change-Id: I7e53f42786efaf961921f10a39977de511965d71 Reviewed-by:
Jørgen Lind <jorgen.lind@nokia.com>
-
- Mar 02, 2012
-
-
Laszlo Agocs authored
Add the capability flags to the extended mouse events. Otherwise it is not possible to tell if the velocity is valid. While the original version is fine if velocity is guaranteed to be available whenever QT_TRANSLATE_TOUCH_TO_MOUSE is set, some platform and driver combinations, e.g. the evdevtouch plugin that comes with Qt, do not provide velocity data in touch events. The touch-only mode of QML may be very useful in these cases too, we just need to fall back to the built-in velocity calculation. Change-Id: Iec5e7632a66380dc04c9435b09f5c173107bbe00 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Mar 01, 2012
-
-
Martin Jones authored
Since double clicks are delivered before the click, the initial grab may not have been established. Change-Id: Id9282489f0551d421da800294e88ead0915482cc Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- Feb 28, 2012
-
-
Martin Jones authored
The threaded incubator relies on the event loop spinning to signal item updates. This change ensures that the event loop is processed while items are being created and that the render loop is woken if it is sleeping. Also cancel delegate incubation correctly during destruction. Change-Id: Ib5bb55c788411490e0959c75933da587fdfd4b8c Reviewed-by:
Yunqiao Yin <charles.yin@nokia.com> Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- Feb 27, 2012
-
-
Charles Yin authored
Also change the assert in QDeclarativeEnginePrivate::~QDeclarativeEnginePrivate() to a warning message. Change-Id: Ic1fb7e0b7ffe4a54458a0f3a65127b1afd6dda53 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- Feb 24, 2012
-
-
Matthew Vogt authored
Symbols beginning with QDeclarative are already exported by the quick1 module. Users can apply the bin/rename-qtdeclarative-symbols.sh script to modify client code using the previous names of the renamed symbols. Task-number: QTBUG-23737 Change-Id: Ifaa482663767634931e8711a8e9bf6e404859e66 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Feb 21, 2012
-
-
Aaron Kennedy authored
Change-Id: I02653536f68cfef3dfc06acaf30e2565a97dc194 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- Feb 20, 2012
-
-
Michael Brasser authored
Fix compile after 054114a459580b71e170dc6bf356e8943d0ed068 in qtbase. Change-Id: Ibeea6b4b2e3c5f420446b15edd1df7bf88535dcd Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Feb 15, 2012
-
-
Gunnar Sletta authored
This function can be used in certain situations to purge the texture cache and triggers more lazily to take down the scene graph and GL context Change-Id: Icd9360ff50fda0e721ba0f1b520cda678e457a35 Reviewed-by:
Aaron Kennedy <aaron.kennedy@nokia.com>
-
- Feb 13, 2012
-
-
Kim Motoyoshi Kalland authored
Setting an Item's parent to null caused its scene graph nodes to be deleted, but resetting the parent to a valid object did not recreate and update all the nodes. Task-number: QTBUG-21032 Change-Id: I00f93a481a326ba9b9fb98bf4212479622552783 Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
Laszlo Agocs authored
This makes sure that touchEvent() is properly called for all items in the scene that have an active touch. It does not handle the cancel event in any other special way. Change-Id: Id66527ced8cb63d0b29f25f37c139e6d6aec9ba0 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com> Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Justin McPherson authored
Take a copy of the items currently scheduled for polish (and clear the internal list) to ensure an item can re-add itself to the polish list during an updatePolish(). Change-Id: I0c629795f64d5926ac87a838ea5e216b6a1fa6cf Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
- Feb 10, 2012
-
-
Kai Koehne authored
This avoids naming confusion with QDeclarativeTrace + makes it in line with QV8ProfilerService. Change-Id: Ifd801655044cff3ffdb2a9695ffc9868eeb51663 Reviewed-by:
Christiaan Janssen <christiaan.janssen@nokia.com>
-
Pekka Vuorela authored
Similarly deprecate Qt.application.inputPanel and introduce replacement Qt.inputMethod. Change-Id: Ie4fd467f93f75023c86b0a2d038d858fe5001146 Reviewed-by:
Joona Petrell <joona.t.petrell@nokia.com> Reviewed-by:
Lars Knoll <lars.knoll@nokia.com> Reviewed-by:
Sami Kananoja <sami.kananoja@nokia.com>
-
Martin Jones authored
Allowing the canvas to deal with mouse event emulation provides a couple of advantages: 1. touches outside a reactive area can be ignored, allowing a touch within a reactive area to become the "mouse touch". 2. we can extend the mouse events with data available in touch events for use within the quick elements; specifically velocity in this case. Change-Id: Id9df397f1a3a03dbda2ef5dcf6189e7eb3377356 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- Feb 08, 2012
-
-
Gunnar Sletta authored
This allows to hook in non-QOpenGLFrameBufferObject FBO's also Change-Id: I8a2f8f7f15d5a92262bdbb0507b232d7c11fdf25 Reviewed-by:
Jani Hautakangas <jani.hautakangas@nokia.com>
-
- Feb 07, 2012
-
-
Yann Bodson authored
Change-Id: I924f0adc036b47e2342bf383d308c6a5269c2de6 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- Feb 06, 2012
-
-
Simon Hausmann authored
Mouse events not handled by the canvas need to be ignored, in order for features like touch synthetization to work. In case of the initially delivered mouse press event, the canvas did not ignore the event if it was not handled. This patch corrects that and adds an auto-test to verify the new behaviour. Change-Id: I8499701f5a161ce1e90a70303aa7ca4ccf2f0b6f Reviewed-by:
Andras Becsi <andras.becsi@nokia.com> Reviewed-by:
Samuel Rødal <samuel.rodal@nokia.com>
-
Gunnar Sletta authored
Change-Id: I2311e574b45d518893ef868fdcf51053dc43bb13 Reviewed-by:
Kim M. Kalland <kim.kalland@nokia.com>
-
- Feb 02, 2012
-
-
Gunnar Sletta authored
Change-Id: I15b1799982d20d16c9c5e08eee7095cf087b49e1 Reviewed-by:
Kim M. Kalland <kim.kalland@nokia.com>
-
Pekka Vuorela authored
Emitting focusObjectChanged() signal now instead of explicitly setting inputItem to QInputPanel. Also adapted from deprecated QInputPanel::inputItem() to QGuiApplication::focusObject(). Change-Id: I97460625cc8bb2820ec7716a06330aecd1b585ea Reviewed-by:
Joona Petrell <joona.t.petrell@nokia.com>
-
Simon Hausmann authored
Unhandled touch events need to be ignored in order for things like mouse event synthetization in QtGui to work. Change-Id: I6fe9dad205c8bb8547d2424c2e2a3b3518598006 Reviewed-by:
Andras Becsi <andras.becsi@nokia.com> Reviewed-by:
Samuel Rødal <samuel.rodal@nokia.com>
-
- Feb 01, 2012
-
-
Andrew den Exter authored
Remove active focus from an item when it is disabled, and give active focus to an enabled item if it has focus within a scope with active focus. Task-number: QTBUG-22404 Change-Id: Iff2b774a9ff784e6107a4ed6524c93e749ae0182 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- Jan 30, 2012
-
-
Jason McDonald authored
As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: If39bd256b0fa85eba17ea30f8ab87ea27d758908 Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com>
-
- Jan 25, 2012
-
-
Pekka Vuorela authored
Change-Id: I935a303d0baa9500ab47f749eb3b3f9a11a70946 Reviewed-by:
Lars Knoll <lars.knoll@nokia.com> Reviewed-by:
Joona Petrell <joona.t.petrell@nokia.com>
-
- Jan 24, 2012
-
-
Andras Becsi authored
If QQuickCanvas::event delivers a touch event and it is accepted the control ends up in QWindow::event which invalidates the event. These touch events end up as if they were unhadled which causes Qt to automatically synthesize mouse events even for accepted touch events. Add a unit test for testing this behavior. Change-Id: I83d4aeafee1ea7ec5d219e4b45aae699188717c3 Reviewed-by:
Zeno Albisser <zeno.albisser@nokia.com> Reviewed-by:
Samuel Rødal <samuel.rodal@nokia.com>
-
- Jan 23, 2012
-
-
Jason McDonald authored
Replace Nokia contact email address with Qt Project website. Change-Id: I6a730abc0c396fb545a48b2d6938abedac2e3f1c Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by:
Alan Alpert <alan.alpert@nokia.com>
-
- Jan 17, 2012
-
-
Jason McDonald authored
Update copyright headers from before 2011, and a couple of new ones that were merged after the previous change to copyright headers. Change-Id: Ia76e08e2734afa4ef3f1207dbcda5ff3bc81b366 Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com>
-
- Jan 13, 2012
-
-
Samuel Rødal authored
Change-Id: I6fbaac28a060fd527e0226d55419a9055125368a Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
- Jan 02, 2012
-
-
Kim Motoyoshi Kalland authored
ShaderEffect and ShaderEffectSource used to set themselves as parent of and hide source items that don't already have a parent. This was done in order to make sure the source items got a canvas. This patch sets the canvas of the source items without re-parenting. Task-number: QTBUG-23069 Change-Id: I24d56e6eb970590bca3adff7a61459d25e4983a0 Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
Frederik Gladhorn authored
This consists of two parts: An attached property for QML items and a plugin for the accessibility framework. The attached property simply takes care of some properties (name, role) that are needed in order to expose semantics of the application to assistive tools. The plugin exposes the hierarchy of QML items to the accessibility framework. Change-Id: I32f5603d0d9549b01b3645b205b710b9801762f7 Reviewed-by:
Jan-Arve Sæther <jan-arve.saether@nokia.com>
-
- Dec 28, 2011
-
-
Michael Brasser authored
Task-number: QTBUG-23327 Change-Id: I959c9ba40e4ce3972fc3fde2f1c7e73615e78e2e Reviewed-by:
Alan Alpert <alan.alpert@nokia.com>
-
- Dec 20, 2011
-
-
Pekka Vuorela authored
Change-Id: I1d42a8804068718c7347b4f652289f9724c25a3c Reviewed-by:
Joona Petrell <joona.t.petrell@nokia.com>
-
- Dec 19, 2011
-
-
Gunnar Sletta authored
When all views are hidden, we stop the rendering thread, kill the OpenGL context and all scene graph content. The entire scenegraph is recreated based on the QML scene when a view is shown again. Change-Id: I734619d9f29263a5cdecbcc9b88c3808d1d64a7f Reviewed-by:
Kim M. Kalland <kim.kalland@nokia.com>
-
- Dec 14, 2011
-
-
Kim Motoyoshi Kalland authored
The UsePreprocess and ChildrenDoNotOverlap flags could previously only be set during node initialization. They can now be toggled. This change also introduces the StaticSubtreeGeometry flag which is meant to be used to indicate that all the nodes in the sub-tree have static matrices and vertex data. Change-Id: I3b182b81f7010aea636f8f654ef22dab19bc6b29 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com> Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
- Dec 12, 2011
-
-
Friedemann Kleint authored
Mostly introduced by fdd14a1a . Change-Id: Ief4c33412ef80923de2f91e62bb89c18267a14f3 Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
- Dec 09, 2011
-
-
Laszlo Agocs authored
The QWidget dependency is being removed from QTouchEvent and therefore widget() will be removed. There will be QObject *target() instead. deviceType() has been deprecated and is replaced by QTouchDevice *device(). Change-Id: Ic07b2c620fbfc1ae2e5eff85c8fc7269c7d5e2a8 Reviewed-by:
Laszlo Agocs <laszlo.p.agocs@nokia.com>
-
- Dec 08, 2011
-
-
Gunnar Sletta authored
What was traditionally the QQuickRenderLoop which was used to support one QQuickCanvas instance has now grown to support multiple QQuickCanvas instances and is now called QQuickWindowManager, of which there are two implementations. QQuickRenderThreadSingleContextWindowManager: One QSGContext and one OpenGL context is being used to draw all the windows and we alternate between which surface the gl context is bound to. This implementation relies on that swap does not block, but that the graphics pipeline is vsynced and will eventually block as the buffer queue is filled up. This is the behavior we get on Mac OS X and Wayland. The benefit of this implementation is that we have vsync'ed animations, and the synchronizaiton between GUI and render thread is simple. (well, simple relative to the alternative, that is). QQuickTrivialWindowManager: One QSGContext and one OpenGL context is being used on the GUI thread. Animations are ticked from a timer. Performance of this implementation will deteriorate if the driver is using blocking swap. Task-number: QTBUG-19455 Change-Id: Ib961ac7d71eb49c70a057872b7cac020c4d19f3d Reviewed-by:
Samuel Rødal <samuel.rodal@nokia.com>
-
- Dec 02, 2011
-
-
Kent Hansen authored
This change moves the QtQuick 2 types and C++ API (including SceneGraph) to a new module (AKA library), QtQuick. 99% of this change is moving files from src/declarative to src/quick, and from tests/auto/declarative to tests/auto/qtquick2. The loading of QtQuick 2 ("import QtQuick 2.0") is now delegated to a plugin, src/imports/qtquick2, just like it's done for QtQuick 1. All tools, examples, and tests that use QtQuick C++ API have gotten "QT += quick" or "QT += quick-private" added to their .pro file. A few additional internal QtDeclarative classes had to be exported (via Q_DECLARATIVE_PRIVATE_EXPORT) since they're needed by the QtQuick 2 implementation. The old header locations (e.g. QtDeclarative/qquickitem.h) will still be supported for some time, but will produce compile-time warnings. (To avoid the QtQuick implementation using the compatibility headers (since QtDeclarative's includepath comes first), a few include statements were modified, e.g. from "#include <qsgnode.h>" to "#include <QtQuick/qsgnode.h>".) There's a change in qtbase that automatically adds QtQuick to the module list if QtDeclarative is used. Together with the compatibility headers, this should help reduce the migration pain for existing projects. In theory, simply getting an existing QtDeclarative-based project to compile and link shouldn't require any changes for now -- but porting to the new scheme is of course recommended, and will eventually become mandatory. Task-number: QTBUG-22889 Reviewed-by:
Lars Knoll <lars.knoll@nokia.com> Change-Id: Ia52be9373172ba2f37e7623231ecb060316c96a7 Reviewed-by:
Kent Hansen <kent.hansen@nokia.com> Reviewed-by:
Sergio Ahumada <sergio.ahumada@nokia.com>
-