aboutsummaryrefslogtreecommitdiffstats
path: root/src/qtquick1
Commit message (Collapse)AuthorAgeFilesLines
* Document how to have two MouseAreas simultaneously hovered.Michael Brasser2011-07-291-1/+27
| | | | | | | | Task-number: QTBUG-17228 Change-Id: Icfb3774429f0f19084f126a0b87699f1d03220f6 Reviewed-on: http://codereview.qt.nokia.com/2369 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Clicking on a disabled ListView's delegate breaks mouse interactionMartin Jones2011-07-291-1/+1
| | | | | | | | | | A disabled Flickable should not filter children. Change-Id: I9f0d8fbfd0922b5c6a9eaffa69212867359f79e0 Fixes: QTBUG-20584 Reviewed-on: http://codereview.qt.nokia.com/2354 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Augment SpringAnimation::damping documentationAlan Alpert2011-07-291-3/+5
| | | | | | | | | Task-number: QTBUG-20120 Change-Id: Ifaa0e7eaa0f61052680338a6cfd35bb6aca63157 Reviewed-on: http://codereview.qt.nokia.com/2333 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Document stops as default property of GradientAlan Alpert2011-07-291-0/+2
| | | | | | | | | | | This will hopefully be copied to the QtQuick2 item when we write docs for them. Task-number: QTBUG-16045 Change-Id: I427b468630b59bd4bd6eca907ab12a66ee219d29 Reviewed-on: http://codereview.qt.nokia.com/2320 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* ListView doesn't show new 1st item currentItem is removed.Martin Jones2011-07-282-19/+19
| | | | | | | | | | | | | If the new 1st item becomes the currentItem after removal it was positioned incorrectly because the currentItem is positioned based on visibleIndex, which was updated after the currentItem was updated. Move visibleIndex update before currentItem update. Change-Id: Iaf92a41eefe7bce093e3000d17f5496dba144bcd Fixes: QTBUG-20575 Reviewed-on: http://codereview.qt.nokia.com/2316 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Delete scene if you aren't going to use it.Alan Alpert2011-07-281-0/+2
| | | | | | | | | | Also make QDeclarativeOpenMetaObjectType zero its engine when the engine dies, because this was leading to problems when the scene wasn't deleted. Also fixes a few other potential deletion problems. Change-Id: I37fa2d1a0b438a6ea7d8cf4c5c9d0bd869faa959 Reviewed-on: http://codereview.qt.nokia.com/2250 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* A change in ListView's header height can cause it to overlap the itemsMartin Jones2011-07-281-2/+1
| | | | | | | | | | | If there are no visibleItems the header has no choice but to set visiblePos to a value after itself. Change-Id: I7748db46272989e421eeca88577b6fcf79814b5b Fixes: QTBUG-19844 Reviewed-on: http://codereview.qt.nokia.com/2254 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Fix insertion of one item in ListView.Martin Jones2011-07-281-1/+1
| | | | | | | | | | Off-by-one meant that the item was not created by the ListView. Change-Id: If9658487a615e189c21c419e4d29e7e709e05cef Fixes: QTBUG-19675 Reviewed-on: http://codereview.qt.nokia.com/2251 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* View highlight flickers with highlightRangeMode: ApplyRangeMartin Jones2011-07-282-8/+6
| | | | | | | | | | | | The view position was alternating between the start and end of the highlight range if the range < delegate size. Now favor the range start in this case, as per StrictlyEnforceRange. Change-Id: Icb895f972ccb9598ecf7238259093584c43ae291 Fixes: QTBUG-18067 Reviewed-on: http://codereview.qt.nokia.com/2226 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Fix crash when assigning a list property to transitions.Michael Brasser2011-07-261-1/+34
| | | | | | | | | | | | | | This fixes the crash, but doesn't actually assign any Transitions (the transitions list will now be empty, rather than contain a null Transition object). Correct assignment is a general language issue, and will be fixed separately. Task-number: QTBUG-20227 Change-Id: Ie224d06b1d8bb82d03c5eba378affb7167f08724 Reviewed-by: Alan Alpert Reviewed-on: http://codereview.qt.nokia.com/2152 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* qmlviewer resizes the root object multiple times.Martin Jones2011-07-262-0/+6
| | | | | | | | | | | | | | In SizeRootObjectToView mode on initial load the view was set to root object size, then the sceneResized() slot would resize back, then we would finally reset back to the correct value in statusChanged(true). Now react directly to the initial size being set. Change-Id: Ib6977cf7bad3fe79b9ac80bb6d916fb0f57c5f5e Fixes: QTBUG-16499 Reviewed-on: http://codereview.qt.nokia.com/2148 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* QDeclarativeView/QSGView SizeRootObjectToView still resizes viewMartin Jones2011-07-261-1/+2
| | | | | | | | | | | Only resize view to object in SizeRootObjectToView if the view has not had a size set, i.e. at initial construction. Change-Id: Ic5ad3cbb3b071c3498047be893da2c7bf0957986 Fixes: QTBUG-15863 Reviewed-on: http://codereview.qt.nokia.com/2132 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Bounding rectangle for image is wrong for PreserveAspectCropYann Bodson2011-07-261-1/+16
| | | | | | | | Task-number: QTBUG-20300 Change-Id: I8aa84ec64f7be536e56cdc1c04a6c2f204e06c26 Reviewed-on: http://codereview.qt.nokia.com/1859 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Fixes AnimatedImage documentationYann Bodson2011-07-261-9/+2
| | | | | | | | | | Animated images are not cached or shared internally. Task-number: QTBUG-14847 Change-Id: I0b9362a4ff9299b4c18057fb6f005925386f48d1 Reviewed-on: http://codereview.qt.nokia.com/2143 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
* Correct TextInput.PasswordEchoOnEdit documentation.Andrew den Exter2011-07-251-1/+2
| | | | | | | | | | | | | The documentation incorrectly stated that this mode masked all but the last character, the actual behavior is as described in the QLineEdit documentation. Task-number: QTBUG-20003 Change-Id: I8a89a6818c930125821435bc04121340968dfbb2 Reviewed-on: http://codereview.qt.nokia.com/2067 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* Scroll correctly when cursorPosition is changed within onTextChanged.Andrew den Exter2011-07-251-2/+2
| | | | | | | | | | | | | | | | | | | | | Emit textChanged() before adjusting size and scroll positions otherwise the calculations will be based on the cursor position before it's moved in handler and because the cursor position won't ultimately have changed there won't be a follow up cursorPositionChanged() signal to trigger a second set of calculation. Task-number: QTBUG-19912 Reviewed-by: Martin Jones (cherry picked from commit bb11b53bedb8e239b9439b4a3fc3320e35c2de57) Conflicts: src/declarative/graphicsitems/qdeclarativetextinput.cpp Change-Id: I579bc3fe6c80766dfadfbc9dbd46144607bf7b03 Reviewed-on: http://codereview.qt.nokia.com/2058 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* Documentation fix.Casper van Donderen2011-07-221-10/+6
| | | | | | | | | Fixes: QTBUG-20390 Change-Id: I30a4b4d1618f80c9a1246955a9b1d6c9f8fbfd57 Reviewed-on: http://codereview.qt.nokia.com/1655 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* Bulk update of QtQuick 1 docs to \qmlmodule syntaxAlan Alpert2011-07-2143-783/+864
| | | | | | | | Change-Id: I7ed2b54ef5a706dcaf7e19d221a6dda7b2620e8c Reviewed-on: http://codereview.qt.nokia.com/1681 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Remove traces of webkitAlan Alpert2011-07-201-4/+0
| | | | | | | | | | | Removes the entire wince section for qmlviewer.pro, as wince is not yet supported for qt5 and its unclear what damage removing the webkit part would have done to it. Change-Id: Ib0c721856bb7a28c3238e85c8cc93b43e6e63368 Reviewed-on: http://codereview.qt.nokia.com/1267 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Extract all QtQuick 1 elements into a separate library/plugin.Martin Jones2011-07-12150-0/+63228
Change-Id: I41a280de2739ee08202f4be2519e5012870090f2 Reviewed-on: http://codereview.qt.nokia.com/1391 Reviewed-by: Martin Jones <martin.jones@nokia.com>