- 23 Mar, 2012 3 commits
-
-
Michael Brasser authored
Passing the root object as a return value from a C++ function could cause the indestructible flag to be set to false. Change-Id: Ib70c666f0d0ffbb48bca1996c2517fbccafa5dc1 Reviewed-by:
Chris Adams <christopher.adams@nokia.com>
-
Charles Yin authored
When set progress value out of [0,1], path animation and path interpulator should make sure the value be modified in the valid value range, otherwise the QQuickPath::backwardsPointAt() will crash. Task-number: QTBUG-24308 Change-Id: Icd6e9165c9f844ddb8ec84c229eac4db5246a749 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
Alan Alpert authored
This optimization doesn't account for the width of the assembled image possibly being too small to fit the whole source image width. Since it meant copying more image data than we needed, I'm no longer convinced that it actually is an optimization over a simple cut (as this patch implements). Change-Id: I3fe502a75979e972f62d9dbf26f1ffec9069a102 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- 22 Mar, 2012 7 commits
-
-
Gunnar Sletta authored
Change-Id: Ia74a5c76058a2822e61dfa2f7316ea0612ebc15c Reviewed-by:
Lars Knoll <lars.knoll@nokia.com>
-
Kim Motoyoshi Kalland authored
Change-Id: If325a38175249c3a3ffe5043d42ba35dbf90ce0c Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
Alan Alpert authored
Change-Id: Ib9cf4fb29022c63ce24f7b8c7ca4ff17c149a9cb Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Alan Alpert authored
Standard defensive programming Change-Id: Ic2b89cacf06812441a2b8f02c6b22de431c50b4a Reviewed-by:
Chris Adams <christopher.adams@nokia.com>
-
Andrew den Exter authored
This was previously covered by tests for QLineEdit but since the two implementations have diverged we also need to test individually. Change-Id: I00ae7bfd96302d08af4364f577925e99882117a0 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Andrew den Exter authored
Update the implicitWidth of the item before continuing with the layout rather than after it's completed this gives any bindings dependent on the implicitWidth the opportunity to update the width before the layout continues. Task-number: QTBUG-22680 Task-number: QTBUG-24251 Change-Id: I61cd96ad9891b22d8b83937ad2c06719f88976b6 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Andrew den Exter authored
Change-Id: I8dc30a9ade3cbbfa91d51d85617975ad7d46ee15 Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com> Reviewed-by:
Alan Alpert <alan.alpert@nokia.com>
-
- 21 Mar, 2012 18 commits
-
-
Alan Alpert authored
Updated paths, and updated arbitrary form factor Change-Id: I10ffedd6978fbe62050987a4e0e5ab8b120edfce Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Frederik Gladhorn authored
When calling invokeMethod, pass the function name without parentheses. Change-Id: I5a5a28242a98bf76347450b799c1d51c293f9ef4 Reviewed-by:
Morten Johan Sørvig <morten.sorvig@nokia.com>
-
Kim Motoyoshi Kalland authored
This commit also fixes handling of texture provider deletion in ShaderEffect. Change-Id: Ib22a9308a35325972bc545cf29de11bd625b22b2 Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
Matthew Vogt authored
Useful for running tests that have no interactive element, where all computation is performed in the initialization phase of processing the QML source. Change-Id: Id3f87fc504a30eb4e351804a98fe265db8fe93c9 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Michael Brasser authored
Also make sure valueC and valueD are initialized. Change-Id: I8ee78b7b779c37ca792300c7771ae9975f43d8bb Reviewed-by:
Chris Adams <christopher.adams@nokia.com>
-
Laszlo Agocs authored
Right now it needs at least a press-move-move-release to start a flick which is not ideal for touchscreens because a quick, short flick may result in reporting only a single move. Change-Id: I9bf2b4fea23b0eea9d9d00f0e79ce34f4d964bea Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Bea Lam authored
The behaviour for considering left and right margins was inconsistent in views with a right to left layout; these values were reversed for extent calculations but not for general positioning. With this change the left and right margins are never reversed in a right-to-left layout, so minXExtent and maxXExtent calculations always use startMargin and endMargin respectively, regardless of layout direction. Also fixes calculation of endOffset in trackedPositionChanged() when in horizontal orientation. Change-Id: Ie00e3d4c2bd38d8fe6ac0213702206b88bfa895e Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Damian Jansen authored
Tests: Change of model, delegate and orientation at runtime Use of add, move and remove view transitions Changing of view transitions at runtime Task-number: QTBUG-21504 Change-Id: Icaeb5c0305c7db5db4c4b8c5ad5fd1d6393cc599 Reviewed-by:
Bea Lam <bea.lam@nokia.com>
-
Martin Jones authored
Change-Id: Ia4baa8258b9ad40503abc0f88cb8e887b8f996a4 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
Andrew den Exter authored
Defer giving focus to TextInput or TextEdit until after other mouse press handling has been performed, otherwise setting the cursor position will overwrite any selection or cursor position set in the on(Active)FocusChanged handler. Change-Id: I6332642484de65138a444987b5a81be69c6f835f Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Andrew den Exter authored
Excluding trailing spaces from the content size means the cursor position also needs to considered in determining the width used by the text as unwrapped white space can push the cursor over the width of the item. Also corrects an auto scroll issue with right to left text identified in extending the tests. Task-number: QTBUG-24630 Change-Id: Iaab9eac03824b22f507154fa1d6e55376bd075a0 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Damian Jansen authored
Added remote testing to Image, BorderImage Added several basic element tests Change-Id: I1a25f31bc66be6b096a6d3c217196d5625e8a2ed Reviewed-by:
Yunqiao Yin <charles.yin@nokia.com>
-
Martin Jones authored
Change-Id: I74b1010207b66514d65a383db6e01d396006170f Reviewed-by:
Bea Lam <bea.lam@nokia.com>
-
Chris Adams authored
Previously, enum to int property assignments were considered bindings. This commit adds support for assigning enum values to int properties as enums. Note that to use an enum in QML, it must have been declared with Q_ENUMS or otherwise registered as a metatype. Enum values from the global Qt object are also usable. Task-number: QTBUG-23403 Change-Id: I50db6cae54a24400ea472bde43619d547e4ceb78 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
Andrew den Exter authored
Use the UTC timespec for strings with no time zone qualifier as V8 does so we don't get different QDateTime in bindings depending on whether the string was bound directly, or parsed by constructing a new JS Date object. Task-number: QTBUG-24895 Change-Id: I8f74dae418aaeeaf06df33fe58ab4e3e3fea791b Reviewed-by:
Chris Adams <christopher.adams@nokia.com>
-
Michael Brasser authored
We cannot create the module object during compilation as compilation may be done in a thread. Disable this optimization until additional type information can be known at compile time. Change-Id: I416ebf7595e2916a28f22fa8ebf512cbf3a8cde3 Reviewed-by:
Chris Adams <christopher.adams@nokia.com>
-
Michael Brasser authored
This brings the support in line with signal handlers, which should allow us to reuse the implementation there when appropriate. Also adds tests for both registered and unregisted Qt namespace enums. Change-Id: I366846626fc44d6d99b51e93fc9e3cb948c748f9 Reviewed-by:
Chris Adams <christopher.adams@nokia.com>
-
Michael Brasser authored
It's now possible to detect whether a registered type is an enum, allowing registered non-local enums to be used as parameters in signals and slots from QML/C++. Author: Glenn Watson <glenn.watson@nokia.com> Task-number: QTBUG-20639 Change-Id: I8c439f2dcc7bfd8ec31914b0c86cd3a1de3c038c Reviewed-by:
Chris Adams <christopher.adams@nokia.com> Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 20 Mar, 2012 12 commits
-
-
Yoann Lopes authored
The original distance field glyph node takes care of the glyphs reference counting. The potential sub glyph nodes created when the glyphs are in another texture are note registered anymore with the cache and don't reference count their glyphs. Also got rid of unnecessary data members. Change-Id: I1544792d5d896c6de26e0838e4f80397759ea012 Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
-
Andrew den Exter authored
To implement a custom distance field glyph node currently it's necessary to also provide a duplicate implementation of QSGContext::createDistanceFieldGlyphCache() as the default implemention references the cache manager created by createGlyphNode(). By isolating references to the cache manager to just createDistanceFieldGlyph() cache it becomes possible to just overwrite createGlyphNode() and still use the default cache. Change-Id: I7261bdbf247966b55512d2671e2ee85239bcca05 Reviewed-by:
Yoann Lopes <yoann.lopes@nokia.com>
-
Gunnar Sletta authored
The presence of these functions required some documentation so I added some. Change-Id: Id66bb6704b3db788ed612ebd6497a5c16ee8b2ca Reviewed-by:
Samuel Rødal <samuel.rodal@nokia.com>
-
Kai Koehne authored
QmlProfiler uses the debugging API as a client, but doesn't have to be debugged itself. I don't think there's a use case to debug qmltest either. Change-Id: Ibc8849c77d807f96c6abec5cebc3581ab023d5ae Reviewed-by:
Yunqiao Yin <charles.yin@nokia.com>
-
Tobias Koenig authored
Change-Id: I5e01cad23066a645c1434ce1463d370733f53e4f Reviewed-by:
Alan Alpert <alan.alpert@nokia.com>
-
Bea Lam authored
Currently the item focus data is not updated if it is not in a canvas. This means a subFocusItem may be deleted when the item is outside of a canvas, creating a stale pointer when the item is moved back into a canvas. This change also means that the last item to set focus=true will now consistently get activeFocus. Previously if an item did not have a canvas and then was moved back into the canvas, the first item found with focus=true would get activeFocus. Task-number: QTBUG-24616 Change-Id: Ia706bd6ba6bcbccd616b5019c7c0fae4c39afa7f Reviewed-by:
Andrew den Exter <andrew.den-exter@nokia.com>
-
Kent Hansen authored
If you pass (void*)0 to QJSEngine::toScriptValue(), or you pass a QVariant of type QMetaType::VoidStar containing a 0 value, you get back a QJSValue of type null (isNull() returns true); that's fine. However, if you called QJSValue::toVariant() on a JS null value, you would get back an invalid QVariant. The expected result is a QVariant of type QMetaType::VoidStar containing a 0 value. This makes the conversion of the JS null type symmetric and avoids loss of data. Change-Id: Ifa6e788152118f80adf9c2d7be1283f053b44294 Reviewed-by:
Jędrzej Nowacki <jedrzej.nowacki@nokia.com> Reviewed-by:
Simon Hausmann <simon.hausmann@nokia.com>
-
Andrew den Exter authored
Change-Id: I5e10bc5e2d42bcbc641ebea8b9bb123479ea857a Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Andrew den Exter authored
Word selection initiated by a double click in QTextEdit only selects a word if the drag point is closer to the end than the start (assuming ltr selection) which can make it difficult to select small words with touch input, as such the SelectWords mouseSelectionMode of TextEdit selected a word if the drag point intersected any part of the word. Since we no longer have to retain compability for QTextEdit we can settle on a single behaviour for word selection. Change-Id: Iaabb7938a2b61b84a290a9ee41e407c83144b96f Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Andrew den Exter authored
Change-Id: I036a2c2ff05cd94a7c58e29bf8743fef3a550fbd Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Andrew den Exter authored
Change-Id: Ie77a61a3ea0d1bdccd59dd519346db74bdf59c44 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
Alan Alpert authored
Includes adding flickable examples Change-Id: Ie1a47882bcb8b671f162b2b778dad33ce105407b Reviewed-by:
Alan Alpert <alan.alpert@nokia.com>
-