summaryrefslogtreecommitdiffstats
path: root/src/declarative/util
Commit message (Collapse)AuthorAgeFilesLines
* Improve docs on QML Animation page and associated elementsBea Lam2010-08-057-26/+67
| | | | Task-number: QTBUG-12666
* Make SpringAnimation usable inside a transitionmae2010-08-042-146/+99
| | | | | | | | | | | | 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
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-08-031-7/+26
|\
| * Limit the pixmap cache in space as well as in time.Aaron Kennedy2010-08-031-7/+26
| | | | | | | | QTBUG-12590
* | Ensure dataChanged doesn't force request for unwanted data in QML views.Martin Jones2010-08-032-0/+13
|/ | | | | | | | If a model emits dataChanged() every role was be updated, rather than just the roles required. Now only roles which have been used are updated. Task-number: QTBUG-12598 Reviewed-by: Michael Brasser
* State doc fixes, improvementsBea Lam2010-08-021-14/+1
| | | | Task-number: QTBUG-12570
* Correctly apply PropertyChanges when entering an extended stateMichael Brasser2010-08-021-1/+3
| | | | | | | | directly from the base state. Make sure qmlExecuteDeferred is called on the state being extended. Task-number: QTBUG-12559
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-07-302-8/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Add missing image Mention scope of id uniqueness Update QML Documents example add license header doc: Add a note about QCoreApplication::applicationDirPath Add license header Add moving and flicking properties to PathView Improve utility of QMLViewer Add missing \l doc commands Document elements that are focus scopes. Remove use of shared NOTIFY signals in QGraphicsScale Remove use of shared NOTIFY signals
| * Remove use of shared NOTIFY signalsMartin Jones2010-07-292-8/+10
| | | | | | | | | | | | | | | | | | Sharing a NOTIFY signal can cause binding loop warnings with no apparent cause. Task-number: QTBUG-12333 Reviewed-by: Aaron Kennedy Reviewed-by: Michael Brasser
* | Fixed spelling mistakes in documented functions, classes, etc. Part of ↵Jerome Pasion2010-07-295-13/+13
|/ | | | QTBUG-11938 and QTBUG-10801
* Document that animations have to be started/stopped as a groupBea Lam2010-07-271-0/+8
|
* various doc fixesBea Lam2010-07-272-8/+7
|
* Fixes undeleted timers (and endless warning from the event loop aboutAaron Kennedy2010-07-231-1/+1
| | | | | | | invalid timers). Authored-by: Daniel Molkentin Reviewed-by: Marco Bubke
* Remove unneeded member variable.Michael Brasser2010-07-222-6/+3
|
* Make rootContext and engine pointers in QDeclarativeView API constJoona Petrell2010-07-222-11/+12
| | | | | Task-number: QTBUG-12322 Reviewed-by: Aaron Kennedy
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-07-212-3/+7
|\
| * Only ignore the same target value for a Behavior when it is running.Michael Brasser2010-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | 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
| * Rewinding AnchorChanges should not make target item's implicit width and ↵Joona Petrell2010-07-211-2/+6
| | | | | | | | | | | | | | height explicit Task-number: QTBUG-12273 Reviewed-by: Michael Brasser
* | Ensure redirects (and indeed all reply process) is done in the right thread.Warwick Allison2010-07-211-23/+32
|/ | | | | | | i.e. the thread with the QNAM the original reply was created in. Task-number: QTBUG-12302 Reviewed-by: Aaron Kennedy
* various doc improvements for animation elementsBea Lam2010-07-205-178/+190
|
* Doc error fixes.Martin Jones2010-07-191-1/+1
|
* PathView doc clarification.Martin Jones2010-07-191-1/+1
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-07-165-102/+260
|\ | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Fix RightBearing confusion in text layout fixes, improvements for various docs and example code Fixed debugger's evaluation of dynamic properties in context Allow test to pass on smaller screens (eg. 480 high). Minor animation doc improvement
| * fixes, improvements for various docs and example codeBea Lam2010-07-165-102/+257
| |
| * Minor animation doc improvementMartin Jones2010-07-161-0/+3
| |
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-07-141-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (83 commits) Crash while runnig tst_QMdiSubWindow::emittingOfSignals test on Cocoa fix qconfig.h aliased header creation fix warning directive on gnuc qdoc: Removed navigation arrow that was causing display problems. Silence warning when building with MSVC 2005 Fix an Assert in QTextTable Revert "Fix an Assert in QTextTable" Attempt to fix build failure with msvc200{5,8} on Windows XP. fix macx not having UNICODE in DEFINES any more doc: Fixed several qdoc warnings. Fix an Assert in QTextTable doc: Fixed several qdoc warnings. QSslSocket: Improve error handling qdoc: Fixed several <div> elements that had the "/>" ending. QSslSocket: fix documentation for QSslSocket::setPeerVerifyMode() qdoc: Fixed breadcrumbs for QML examples. remove redundand translations project files make projects lupdate-friendly Timing fix for slow devices. QNAM: Add future enum attribute for Zerocopy QNAM ...
| * Fixing merge conflicts.Martin Smith2010-07-1318-1102/+1021
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge branch '4.7-upstream' into 4.7 Conflicts: doc/src/declarative/advtutorial.qdoc src/declarative/graphicsitems/qdeclarativeloader.cpp src/declarative/graphicsitems/qdeclarativetextedit.cpp src/declarative/qml/qdeclarativeengine.cpp src/declarative/util/qdeclarativexmllistmodel.cpp
| * | doc: Fixed last of the declarative/QML qdoc warnings.Martin Smith2010-07-091-1/+1
| | |
* | | improvements to docs and examplesBea Lam2010-07-142-6/+13
| |/ |/|
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-07-0913-1020/+23
|\ \
| * | Make test pass and fix docs following removal of SpringFollowBea Lam2010-07-092-3/+3
| | |
| * | Follow -> Behaviormae2010-07-086-1004/+0
| | | | | | | | | | | | Replace the usages of Follows with Behaviors, update docs.
| * | Added some documentation to spring animationmae2010-07-081-0/+9
| | |
| * | Fix spring animationmae2010-07-081-1/+3
| | | | | | | | | | | | | | | Do not stop a spring animation if the to value got changed while notifying the target property change.
| * | Optimization: change signal/slot to function callmae2010-07-084-10/+7
| | |
| * | Don't show warning for attempts to load pixmaps asynchronouslyBea Lam2010-07-081-2/+1
| | | | | | | | | | | | | | | (should be handled by image providers, elements shouldn't have to know about the capabilities)
* | | Fix crash with invalid role indexesAaron Kennedy2010-07-091-0/+2
|/ /
* | Don't double delete cancelled pixmap cache requestsAaron Kennedy2010-07-081-3/+9
| | | | | | | | QTBUG-11954
* | Extend QDeclarativeImageProvider to support QPixmap loading andBea Lam2010-07-081-18/+67
| | | | | | | | | | | | | | | | | | | | 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
* | Added QDeclarativeSpringAnimationmae2010-07-078-2/+604
| | | | | | | | | | | | | | | | | | | | | | | | | | The QDeclarativeSpringAnimation is a replacement for QDeclarativeSpringFollow. The idea is to remove the Follows quickly. Follows used to have an inSync property. In order to provide an alternative mechanism, the commit also fixes the running property for animations which are controlled by a behavior. Previously running would always return false and never change. Now running does change and indicates that the animation is running indeed.
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Bea Lam2010-07-063-475/+731
|\ \ | | | | | | | | | | | | Conflicts: doc/src/declarative/extending.qdoc
| * | Export QDeclarativePixmapMartin Jones2010-07-061-1/+1
| | | | | | | | | | | | But its still a private class.
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-07-0516-21/+21
| |\ \
| | * | <br/> shouldn't trigger a new format range in QDeclarativeStyledText.Michael Brasser2010-07-051-1/+3
| | | |
| | * | Optimize QDeclarativeStyledText.Michael Brasser2010-07-051-2/+0
| | | | | | | | | | | | | | | | | | | | Don't set the base font, as this is an expensive operation. The base font will automatically be merged in by the text engine.
| * | | Make declarative pixmap cache easier to useAaron Kennedy2010-07-052-472/+728
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | doc improvementsBea Lam2010-07-063-26/+27
| |/ / |/| |
* | | fix doc linksBea Lam2010-07-022-2/+2
| |/ |/|
* | Remove a few more unnecessary exports.Martin Jones2010-07-011-3/+3
| |
* | Don't export declarative private classesMartin Jones2010-07-0112-13/+13
|/ | | | | Those required by creator are still exported. Everything else is no longer exported.