- May 08, 2013
-
-
Shawn Rutledge authored
An application can implement onClosing() and set closeEvent.accepted = false to delay the closing (for example to prompt the user to save changes). Depends on change I9abed47fca02a002b78727f98d678a824854adfc in qtbase. Task-number: QTBUG-31019 Change-Id: Icfd4a03ecef3621bdbbee2e2c3157b897a9b6524 Reviewed-by:
Alan Alpert (Personal) <416365416c@gmail.com>
-
- May 04, 2013
-
-
Shawn Rutledge authored
Follows the same reasoning as Iefe63cd753f9f8bb04278fd04a4d728e3deda25e in qtbase: buttons should have only the buttons which are still pressed. Change-Id: I894df43254eb1b1ce173fd7acc7190e9765beb48 Reviewed-by:
Richard Moe Gustavsen <richard.gustavsen@digia.com> Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
- Apr 30, 2013
-
-
Liang Qi authored
Autotest is included. Change-Id: I0f8614b502f1e51cab5612fee283c929e078108b Reviewed-by:
Gunnar Sletta <gunnar.sletta@digia.com> Reviewed-by:
Liang Qi <liang.qi@digia.com>
-
- Apr 26, 2013
-
-
Gunnar Sletta authored
Webkit uses this for testing. Change-Id: I4539e169a02592fb6c0062903917d4dd23a4303c Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Apr 23, 2013
-
-
Sze Howe Koh authored
Follow the conventions at http://qt-project.org/wiki/Spelling_Module_Names_in_Qt_Documentation Attempt to differentiate between the whole module ("Qt Quick") and the QML import ("QtQuick") by encoding the latter with monospace font. There are places in the text where both representations are valid. Change-Id: Id6e157a4191aaa4e23a9cd5c76abfe902fe43d33 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
- Apr 18, 2013
-
-
Frederik Gladhorn authored
Change-Id: I1d7359b48ab4bb6001171901ab55d4c5030fb1f9 Reviewed-by:
Jan Arve Sæther <jan-arve.saether@digia.com>
-
- Apr 17, 2013
-
-
Gunnar Sletta authored
The renderWithoutShowing was a piece of functionality that we experimented on long ago and it never quite worked and has it currently only adds bloat. It would be sensible to be able to render a window without showing it on screen, such as for testing purposes, but then it should be done through proper public API and thouroughly supported cross platform. Change-Id: I6bea7335f769c038a8167bad77c2dba171359be9 Reviewed-by:
Yoann Lopes <yoann.lopes@digia.com> Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com>
-
- Apr 10, 2013
-
-
Shawn Rutledge authored
If you declare Window { Window {}} or Window { Item { Window {}}} the inner window will automatically become transient for the outer one. The transient relationship must be set before the inner window becomes visible though, so declaring visible: true doesn't always work, depending on initialization order. It's OK if you assign visible (or call show()) later on when the user needs to see the transient window for the first time. Also added documentation. Change-Id: I888c3b9da6d44d11516227c085bcc12a5ccb5e81 Reviewed-by:
Shawn Rutledge <shawn.rutledge@digia.com> Reviewed-by:
Jan Arve Sæther <jan-arve.saether@digia.com>
-
- Apr 04, 2013
-
-
Gunnar Sletta authored
After much back and forth, I think we have settled on the right approach in QtGui, which is that resizeEvent is pretty much useless as the action happens on the following exposeEvent(). Change-Id: I5e87bda89853907d041f56acf9a2895e540c41f0 Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com>
-
- Apr 02, 2013
-
-
Gunnar Sletta authored
Change-Id: I01d7d41a4e70822555bae453978dbe92fbb5c98d Reviewed-by:
Morten Johan Sørvig <morten.sorvig@digia.com> Reviewed-by:
Yoann Lopes <yoann.lopes@digia.com>
-
- Mar 15, 2013
-
-
J-P Nurmi authored
Change-Id: Ifd393399f93b04313cd66d7873fb99b505640c8a Reviewed-by:
Alan Alpert (Personal) <416365416c@gmail.com>
-
- Mar 14, 2013
-
-
Frederik Gladhorn authored
Change-Id: I62e0b3bb4882f58ba58b3c8d71679e4ad2dbc5a3 Reviewed-by:
Caroline Chao <caroline.chao@digia.com>
-
- Mar 13, 2013
-
-
Shawn Rutledge authored
Even some of the properties that existed in 5.0 were not documented. Change-Id: I25a14b9b19425a6c792d06bc41983e9abd1d17d0 Task-number: QTBUG-29807 Reviewed-by:
J-P Nurmi <jpnurmi@digia.com>
-
- Mar 07, 2013
-
-
Caroline Chao authored
When trying to do for example text handling it becomes obvious that focus handling is not proper. A mouse click focus should de-select text, while a window change should preserve the selection. Re-introduce focus reason. Change-Id: I3322c976437cba68938d7c9188e549bdb499fa5a Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
- Mar 05, 2013
-
-
Frederik Gladhorn authored
If there was no active focus item we need to use tryShortcutEvent with the window as target. Change-Id: I420925781bbbda79fe2a62a5774230ae77c2cd34 Reviewed-by:
Liang Qi <liang.qi@digia.com>
-
- Mar 04, 2013
-
-
Paul Olav Tvete authored
Change-Id: Ic26722cf530e7a787e7a8f92b645e3c4883d9822 Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- Mar 03, 2013
-
-
Gunnar Sletta authored
I also cleaned up the naming of the other scene graph examples a bit, so that they sort together in the samples list and have a more obvious naming scheme. Task-number: QTBUG-29548 Change-Id: I455eacb02c06058a6d49e12e4f1813ec80b655f6 Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com>
-
- Feb 26, 2013
-
-
Frederik Gladhorn authored
When delivering shortcut events, make it possible for the current active focus item to override the focus. The use case is having an edit/copy menu (ctrl+c) and a text edit. When the text edit is focused, it should override the global shortcut. Change-Id: Ide5b94832289c32762ef7304cdc94c107301d579 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- Feb 14, 2013
-
-
Michael Brasser authored
Change-Id: If70650d7150b224f4460697a953611dd37d57af1 Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
- Jan 30, 2013
-
-
Shawn Rutledge authored
Change-Id: I1e39b8537dfa00a327b6c735336872cf302c3229 Reviewed-by:
Gunnar Sletta <gunnar.sletta@digia.com>
-
- Jan 24, 2013
-
-
Frederik Gladhorn authored
Commit 7b2e2117 introduced a regression in mouse handling: When moving the mouse out of the window it would cancel all further mouse events. That is actually not wanted (eg scroll bars). Instead ungrab the mouse when the focus changes, that means the mouse handling with popups works and the scrollbar use case is also fixed. All the tests related to this seem quite timing sensitive, so try some more QTRY_VERIFY. Remove the parallel_test so that more cpu time will actually let the tests pass more reliably. Change-Id: I90586b05f461d3762728a466d71bcb967e03d14b Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- Jan 18, 2013
-
-
Gunnar Sletta authored
This change starts using the superior implementation of the scene graph render loop which has been worked on in the scenegraph-playground project for a while. It uses a far more straightforward locking/sync paradigm compared to the existing one and is less deadlock and error prone. It also enables the scene graph thread to run on its own when the GUI thread is blocked, enabling threaded animations. This changes also introduces a naming change inside Qt Quick from "Window Manager" -> "Render Loop" as that fits better to what the code does. Change-Id: I1c2170ee04fcbef79660bd7dae6cace647cdb276 Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com>
-
- Jan 17, 2013
-
-
Gunnar Sletta authored
If a QQuickWindow comes to screen but is not the focus window, such as if it is a child window of another window, it should not have focus by default. Change-Id: If9015bbc179bb101178b3bc8de176a1c71c46023 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Andy Nichols <andy.nichols@digia.com>
-
- Jan 16, 2013
-
-
Gunnar Sletta authored
Change-Id: I86b6bb9007d268ec039614a1693ecd839901e6d9 Reviewed-by:
Jerome Pasion <jerome.pasion@digia.com>
-
- Jan 14, 2013
-
-
Frederik Gladhorn authored
This allows QQuickItems to use shortcuts. Change-Id: I068109a954d92e4e7bd5e63d2b3523b66855c60a Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-
- Jan 10, 2013
-
-
Sergio Ahumada authored
Change-Id: I6c3bd7bebe3d62d1cfd0fa6334544c9db8398c76 Reviewed-by:
Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by:
Sergio Ahumada <sergio.ahumada@digia.com>
-
- Jan 09, 2013
-
-
Daniel d'Andrada authored
You have two mouse areas, one on top of the other. 1 - You tap the top one. 2 - That top mouse area receives a mouse press event but doesn't accept it Expected outcome: 3 - the bottom mouse area gets clicked (besides press and release mouse events) Bogus outcome: 3 - the bottom mouse area gets double clicked. Change-Id: I10cac52b5e8edea781fe88e70c4092eb38bcf763 Reviewed-by:
Shawn Rutledge <shawn.rutledge@digia.com>
-
- Dec 19, 2012
-
-
Volker Krause authored
Change-Id: I2fbe6f45ba50e3db75bd02cfca47ddabfcd5fc49 Reviewed-by:
Tasuku Suzuki <stasuku@gmail.com> Reviewed-by:
Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
- Dec 01, 2012
-
-
Morten Johan Sørvig authored
Set the device and viewport rect to the full device pixel size. Set the projection matrix to the device independent pixel size. Scale shader effect source texture sizes. Change-Id: I61dd546ff36a7ce6ad05f908796555674c714c1a Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com> Reviewed-by:
Lars Knoll <lars.knoll@digia.com> Reviewed-by:
Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by:
Gunnar Sletta <gunnar.sletta@digia.com>
-
- Nov 26, 2012
-
-
Tasuku Suzuki authored
Change-Id: I90f8ec7e6357db7b4038bb1646fe9d3835821556 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by:
Alan Alpert (RIM) <aalpert@rim.com>
-
Shawn Rutledge authored
because sometimes geometry has been set on the platform window and sometimes it's only stored in the QWindow geometry, waiting for the asynchronous confirmation. So it should call QWindow::geometry() instead. Change-Id: Ifa54792be31440108fae212240a46ae269393eb7 Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com>
-
- Nov 21, 2012
-
-
Frederik Gladhorn authored
The event signals that the mouse has left the window. This happens also when a popup is shown (overlapping the original window). Before a mouse area would still think it was in pressed state when the popup (QWindow/QMenu) was shown and even after the popup was closed. Change-Id: I6d32571f5a473610f60e9476850989ff665edb93 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
- Nov 12, 2012
-
-
Alexandr Akulich authored
Change-Id: I0621db17db2bb8fe885a3a65f6a7a042279c3752 Reviewed-by:
Shawn Rutledge <shawn.rutledge@digia.com> Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
- Nov 09, 2012
-
-
Shawn Rutledge authored
QQuickWindow needs to avoid depending on QWindowPrivate::visible. It can go back to using private variables after the replacment is done. Change-Id: I38b99df8b4ef0139c9eadcbb07d33d3f1894a8ac Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com>
-
Shawn Rutledge authored
Setting Window.color in QML takes effect immediately. It was only possible to set the property at startup. Examples demonstrate new Window property features. Change-Id: Ic5b43d0d84371f3fe5c42223ccc98e6de27aed10 Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com>
-
- Nov 08, 2012
-
-
Shawn Rutledge authored
Depends on patch Ie4424ec15fbdef6b29b137f90a2ae33f173edd21 in qtbase. Change-Id: I9614cc2c7ed119c663b3f6f99267483e291e529c Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com>
-
- Oct 22, 2012
-
-
Alexandr Akulich authored
Change-Id: I951d89094a6d49e4c71aa9a50e98f3ccc1ca62e1 Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@digia.com>
-
- Oct 16, 2012
-
-
Alan Alpert authored
Also update some variables in qtdeclarative which failed to update rootItem->contentItem. Change-Id: Id34e29546a22a74a7ae2ad90ee3a8def6fc541d3 Reviewed-by:
Alan Alpert <416365416c@gmail.com>
-
- Oct 11, 2012
-
-
Sérgio Martins authored
When a mouse move event is received, a lot of time is spent looking for items with cursors, recursively. With this patch, it will only recur into item hierarchies that contain cursors. Not having cursors is much more common than having them. Benchmark included: Before: 15 msecs per iteration (total: 62, iterations: 4) After: 0.000064 msecs per iteration (total: 68, iterations: 1048576) Task-number: QTBUG-27054 Change-Id: I3a5441652ca1c0b8d2cbc5683013562174f5af4a Reviewed-by:
Alan Alpert <416365416c@gmail.com>
-
- Sep 28, 2012
-
-
Balazs Kelemen authored
To make QQuickWindowPrivate::setRenderWithoutShowing more useful for autotesting we can allow grabbing such windows. This is safe if the platform window have been created and the window has a valid size. Change-Id: I8b9a2aaeb93935f662b75ef29651730b890441d5 Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com> Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-