| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
These are owned by the root and must not be destroyed by child lists.
Task-number: QTBUG-12771
Reviewed-by: Bea Lam
(cherry picked from commit 4026b2c7bc91f8f25f73b182687d5d2bed823217)
|
|
|
|
|
| |
QTBUG-12729
(cherry picked from commit ee7c3b576ced47d3b68da1913cdf6995144bddd2)
|
|
|
|
| |
(cherry picked from commit 62968f33452016b31020e524fa6ba6d2cefd0278)
|
|
|
|
|
|
|
|
|
| |
When a Repeater was used as the child of an Item binding to childrenRect,
the item change listener was being added twice for the items created
by the Repeater.
Task-number: QTBUG-12722
(cherry picked from commit 6feb5b75ce96aeeefee189af003949db8c031519)
|
|
|
|
|
|
|
|
|
| |
It's the scene itself that acts as a focus scope, not the top-level
item.
Task-number: QTBUG-12682
Reviewed-by: Aaron Kennedy
(cherry picked from commit 94b1c07c31ab84d30b198cb23291a48f98164827)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SpringFollow was turned into SpringAnimation so it could be
used inside a Behavior. This patch completes the work and makes
it usable inside a transition.
This is the documented behavior of SpringAnimation, the patch
is essential to make SpringAnimation work consistently.
Reviewed-by: Michael Brasser
Task-number: QTBUG-12141
(cherry picked from commit 33203efb786de9aebc6e05d1b4878d89e86ac456)
|
|
|
|
|
| |
QTBUG-12590
(cherry picked from commit 1fc6cab93ba2d067fadcd0979640c32aa1d5ae4a)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-12142
Reviewed-by: Warwick Allison
This patch brings ability to switch QML Viewer's orientation between auto-orientation (=follow sensor),
portrait and landscape orientations (lock orientation) on Symbian. It provides same orientation options as
Qt Creator 2.1's Qt QML Standalone Application creation wizard. Also, menu item rotateOrientation now
works on Symbian, but it's hidden when orientation mode is set to auto-orientation.
Property runtime.orientation has been switched back to supporting four-way orientation on Symbian, previously
it only updated values between portrait and landscape. If your application only supports landscape or portrait
modes, just don't react to the inverted orientations.
Added orientation example screenorientation under examples/declarative.
The patch includes a fix for calculator example, which rotated to wrong direction when switching from portrait
to landscape. Also, improved qdeclarativeviewer unit tests. Changes have been tested to work on Windows,
Linux and Symbian^3.
(cherry picked from commit e62f266a7642e675e9d235a1f54a6b5746500d48)
|
|
|
|
|
|
|
|
|
|
|
| |
PathView handles its own mouse interaction, but lacked properties
similar to those in Flickable to determine when it is stationary.
This made it impossible to start an animation when the view stops moving,
for example.
Task-number: QTBUG-12497
Reviewed-by: Warwick Allison
(cherry picked from commit eae48b410cc28b83433b7dcba379a31aae2ce2df)
|
|
|
|
| |
Reviewed-by: MArtin Jones
|
|
|
|
|
|
|
|
| |
Broke signal handlers in QML
Task-number: QTBUG-12335
Reviewed-by: Aaron Kennedy
(cherry picked from commit ddb5e1eef379c7f32a594d91b00ff3514c46b62a)
|
|
|
|
|
|
|
|
|
|
| |
The wantsFocus property has been renamed to activeFocus, to better
reflect its value. Reading and writing the focus property is also now
consistent -- this property represents focus within a scope. Other small
changes were made to keep things consistent with the new naming.
Reviewed-by: Aaron Kennedy
(cherry picked from commit 21806ff0921641b4e4d9d39721ab4ebeae74dddc)
|
|
|
|
|
|
|
|
|
| |
Ancestors of the item with focus should only report wantsFocus as true
when they are a FocusScope or a top-level item.
Reviewed-by: Aaron Kennedy
Reviewed-by: Yann Bodson
(cherry picked from commit 686fca1c78e6d4d2ba597dd75d982c76647c7707)
|
|
|
|
|
|
|
|
|
| |
This allows dragging a MouseArea that contains a clickable MouseArea,
for example.
Task-number: QTBUG-12323
Reviewed-by: Michael Brasser
(cherry picked from commit 5dd0dfcd7a079065f99c6149c15b58e69f302729)
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise a Behavior may mistakenly not be triggered. This situation
can arise when the property in question has been manipulated via the
property system, followed by a direct function call (which correctly
bypasses the Behavior), followed by a another change via the property
system.
Task-number: QTBUG-12295
(cherry picked from commit 64833c0a648211f3fe7547436f022edc0ceb51ac)
|
|
|
|
| |
(cherry picked from commit 5efd577b1aea64f422e08ca8d54e041fa4b20783)
|
|
|
|
|
|
|
|
|
| |
The boundingRect depended upon the image cache which may not become
valid until after boundingRect is called.
Task-number: QTBUG-12291
Reviewed-by: Michael Brasser
(cherry picked from commit 3aeafb4839f49f524f10eae65be27fd189d37060)
|
|
|
|
|
|
|
|
| |
We need to create our cached image in boundingRect() if it doesn't
already exist, to prevents painting errors.
Reviewed-by: Warwick Allison
(cherry picked from commit 6c3cf7e2c5868bc77ffa66059889eda3132531b3)
|
|
|
|
|
|
|
|
| |
having different contents
Task-number: QTBUG-12339
Reviewed-by: Martin Jones
(cherry picked from commit 0767c2ff719a35c16c72fac97e6ff612e8c71e21)
|
|
|
|
|
|
|
|
| |
... and percentage is useless.
Task-number: QTBUG-12282
Reviewed-by: Warwick Allison
(cherry picked from commit 78a01438e5a37fd1778924f73ca8bfa55960b0d0)
|
|
|
|
|
|
|
|
| |
height explicit
Task-number: QTBUG-12273
Reviewed-by: Michael Brasser
(cherry picked from commit 164b2b54922d87a44a60efe6dbbe2fa3b7716820)
|
|
|
|
|
|
|
| |
Also parent them back to the VIM to ensure correct destruction.
Task-number: QTBUG-12261
(cherry picked from commit 17cc89e918a969d85d2b46631ee8743288c7586d)
|
|
|
|
|
|
|
|
| |
QDeclarativeVisualDataModel::stringValue() did not handle
QList<QObject*> model types.
Task-number: QTBUG-12005
(cherry picked from commit b6251d31652232a6ac3a5dff54ad4229542089b1)
|
|
|
|
|
|
|
|
|
|
|
| |
The scale of the delegate was used to offset the item. This was a
bad way of making the item appear to be positioned correctly when
the default transform origin was the top-left. Now that transform origin
is center, it is obvious that it was a bad idea.
Task-number: QTBUG-12245
Reviewed-by: Michael Brasser
(cherry picked from commit 5572ec653fe735c4f413195c1ef34382aa8c6105)
|
|
|
|
|
| |
Replace the usages of Follows with Behaviors, update docs.
(cherry picked from commit b22a5e13003ff9f23b075284a1a1e0a6b0e46250)
|
|
|
|
| |
(cherry picked from commit 31cd8c15c0fdb2f08c2652609a57413a715d1b13)
|
|
|
|
|
| |
Task-number: QTBUG-10658
(cherry picked from commit 237bc693a527f9cb2b6bbe7c518018cbf56b0eb6)
|
|
|
|
|
| |
Task-number: QTBUG-12167
(cherry picked from commit 9adc85fdfa0af2b6948408932188ee1b79247fa6)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This may mean that the cursor is to the right of the width, so components should
cater for that with a margin if they are boxed / clipped.
TextInput used to try to account for right bearing (and left bearing incorrectly since
it added it on the right). This is removed. Potentially this means that for some fonts
the text repaints incorrectly on the left or right, but if that is the case Text and TextEdit
already had such a problem (undetected), and all will need fixing.
Task-number: QTBUG-11983
(cherry picked from commit 628159323c60c434a202b036ecbaf5e433c703e8)
|
|
|
|
|
| |
Task-number: QTBUG-11936
(cherry picked from commit cabdb16f5ea6458dec9a2ec3b70a01e498b27dbc)
|
|
|
|
|
|
| |
Task-number: QTBUG-12086
Reviewed-by: Michael Brasser
(cherry picked from commit 0fdf5122c72eb86d49cba2b69f80d3a9c5949da6)
|
|
|
|
|
|
|
| |
QDeclarativeImageProvider to provide pixmaps instead.
Task-number: QTBUG-11980
(cherry picked from commit 33b664eabe5d9621d71e5bf3bfcc46ea385a399c)
|
|
|
|
|
|
|
|
|
|
|
| |
synchronous loading of QImages. (QPixmaps can only be created in the
main thread so they will always be loaded synchronously).
This changes request() to requestImage() and adds requestPixmap()
for pixmap support.
Task-number: QTBUG-11989
(cherry picked from commit a258456bcb35ec4211751a702ea94a1881d82a07)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The QDeclarativePixmapCache was both slow, and very trickey to use correctly.
Many QML elements did not correctly cancel outstanding requests, which leads
to pixmaps leaking indefinately. Other elements, such as Text, were
subject to race conditions that meant they may never actually load all their
images.
QDeclarativePixmap is a single class than encapsulates the action of
fetching a pixmap, as well as the pixmap itself and the responsibility of
canceling outstanding requests. Rather than relying on Qt's pixmap cache
that doesn't cache all the information QML needs, QDeclarativePixmap
implements its own cache, that correctly degrades over time (unlike
QPixmapCache that can stop expiring items in some conditions).
Reviewed-by: Warwick Allison
(cherry picked from commit 09f07b98dfdaec2e48749768b967a48e588d3f7f)
|
|
|
|
|
| |
QTBUG-11933
(cherry picked from commit 76a1804b0fff9ffd092a551defe448d3e9d4346e)
|
|
|
|
|
|
| |
Task-number: QTBUG-11932
Reviewed-by: Martin Jones
(cherry picked from commit 5500ffeeaee3412272f0f4af844fbc1d4d78a3bb)
|
|
|
|
|
|
| |
Task-number: QTBUG-11790
Reviewed-by: Martin Jones
(cherry picked from commit 37792d20eeef870a0d695fc15bc943f20275be9a)
|
|
|
|
|
|
|
|
|
|
|
| |
in the Compiz window manager which leads to the QML viewer mainwindow not
being composited anymore (at least until the next resize).
Since we need to somehow switch between fixed size and freely resizable
views, we have to work around that bug using the layout constraint hints.
Task-number: QTBUG-11771
Reviewed-by: kkoehne
(cherry picked from commit 07321dfceed41c1851781841e03c4148da47e41e)
|
|
|
|
|
|
| |
Task-number: QTBUG-10297
Reviewed-by: Martin Jones
(cherry picked from commit 98bfc8b8db811eb902290dbe87660ce799a44c27)
|
|
|
|
| |
zoomFactor was removed in the new version.
|
|
|
|
|
|
|
|
|
|
| |
Width is not an arbitrary value, it is the size of the rendered page
(which is whatever webkit says it is).
Width should be tested to be correct, but this change should be done by
the maintainers (who should also take the autotest out of declarative).
Task-number: QTBUG-11855
|
| |
|
|
|
|
|
|
|
| |
The new message currently enables resetting bindings, literal values and
signal handlers (onX: {...}) through the debugger.
Reviewed-by: Roberto Raggi
|
|
|
|
|
|
| |
and also renamed ListView.prevSection to ListView.previousSection
Task-number: QTBUG-11372
|
| |
|
|
|
|
|
|
|
| |
implicit or not.
Task-number: QTBUG-11778
Reviewed-by: Martin Jones
|
|
|
|
| |
Task-number: QTBUG-11771
|
|
|
|
| |
(currently tested on Linux only)
|
|
|
|
| |
Task-number: QTBUG-11222
|
|\ |
|