diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-06-17 20:10:00 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-06-17 20:10:00 (GMT) |
commit | 25917c68a06432cccb1d40d2fb4207ce2d1407f6 (patch) | |
tree | 7a6d04c277cf04e4d33a52d35134a841834c9f8e /doc | |
parent | 6aa50af000f85cc4497749fcf0860c8ed244a60e (diff) | |
parent | 8fe1b2baf562df50e7b5cd7b4ea23bc5545ee80f (diff) | |
download | Qt-25917c68a06432cccb1d40d2fb4207ce2d1407f6.zip Qt-25917c68a06432cccb1d40d2fb4207ce2d1407f6.tar.gz Qt-25917c68a06432cccb1d40d2fb4207ce2d1407f6.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Fix event forwarding in QDeclarativeFlickable.
doc: improve Repeater model docs.
doc: couple more performance tips.
BorderImage is not updated when border values change
XmlListModel: Don't lock while doing the slow bit.
Auto test for QTBUG-11507
Properly update childrenRect for position changes and shrinking.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/declarative/qdeclarativeperformance.qdoc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/src/declarative/qdeclarativeperformance.qdoc b/doc/src/declarative/qdeclarativeperformance.qdoc index b535e4b..c866724 100644 --- a/doc/src/declarative/qdeclarativeperformance.qdoc +++ b/doc/src/declarative/qdeclarativeperformance.qdoc @@ -117,4 +117,16 @@ a Loader as needed. \o Fast data access - ensure the data model is as fast as possible. \endlist +\section1 Image resources over composition + +If possible, provide a single image resource, rather than using composition +of a number of elements. For example, a frame with a shadow could be created using +a Rectangle placed over an Image providing the shadow. It is more efficient to +provide an image that includes the frame and the shadow. + +\section1 Limit JavaScript + +Avoid running JavaScript during animation. For example, running a complex +JavaScript expression for each frame of an x property animation. + */ |