summaryrefslogtreecommitdiffstats
path: root/src/declarative/util
Commit message (Collapse)AuthorAgeFilesLines
* Rename QDeclarativeExpression::value() to evaluate().Michael Brasser2010-04-224-4/+4
| | | | | QDeclarativeExpression can be used to evaluate any sort of expression, not just those returning a value.
* Change return type to match value().Michael Brasser2010-04-222-2/+2
|
* Add duration and easing properties to AnchorAnimation.Michael Brasser2010-04-222-1/+74
|
* Fix versioning of Qt Declarative's in-built typesAlan Alpert2010-04-211-35/+35
| | | | | | Since we aren't releasing for 4.6, all types are new in 4.7. Task-number: QTBUG-10081
* Fix qmlvisual/animation/parentAnimation autotestLeonardo Sobral Cunha2010-04-211-1/+4
| | | | | | | The transformOriginPoint was not up tp date when used in ParentChange after this commit: 575f0064bd91e26daa75805c142c10a04a32c2fd. Reviewed-by: Michael Brasser
* docWarwick Allison2010-04-201-0/+1
|
* Fix AnchorChanges to work with parent.right.Michael Brasser2010-04-206-221/+366
| | | | | | | "parent" needs to be evaluated with the AnchorChanges target as the scope object. Task-number: QTBUG-5338
* CompileWarwick Allison2010-04-201-2/+0
|
* Improve error messages, especially on embedded.Warwick Allison2010-04-201-8/+14
| | | | | | With embedded, it is often the case that some QT_NO_* features are turned off (eg. QT_NO_XMLPATTERNS), which in turn leads to QML types not being available.
* Doc fix.Michael Brasser2010-04-191-3/+10
|
* Minor internal anchor refactoring.Michael Brasser2010-04-192-47/+46
|
* Document default easing curve.Alan Alpert2010-04-191-1/+2
|
* Emit runtime warnings through QDeclarativeEngineAaron Kennedy2010-04-196-15/+15
| | | | QTBUG-9726
* Doc: in QML use "real" and "enumeration", not "qreal" and "enum"Martin Jones2010-04-166-16/+16
|
* ResizeMode support for QGraphicsWidgets created with QDeclarativeViewJoona Petrell2010-04-162-88/+180
| | | | | Task-number: QTBUG-8814 Reviewed-by: alexis
* Add parent property to TimerMartin Jones2010-04-161-0/+1
| | | | Task-number: QTBUG-9949
* Class documentation fixes for declarative.Michael Brasser2010-04-162-5/+5
|
* Correctly support translation in QDeclarativePixmapCacheWarwick Allison2010-04-162-5/+7
|
* Compile without Qt3 support.Yann Bodson2010-04-151-1/+1
|
* Use qmlInfo for image loading errors, not qWarning().Warwick Allison2010-04-152-12/+25
| | | | Task-number: QTBUG-9908
* Rename the ridiculous QDeclarativeDeclarativeData -> QDeclarativeDataAaron Kennedy2010-04-154-5/+5
|
* Output script errors in ScriptAction and StateChangeScriptMartin Jones2010-04-152-0/+13
| | | | Task-number: QTBUG-9897
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-141-1/+1
|\
| * Rename remaining import Qt 4.6 lines to import Qt 4.7Joona Petrell2010-04-141-1/+1
| | | | | | | | | | Task-number: Reviewed-by: Martin Jones
* | Doc: more mention of using QUrl::fromLocalFile() for URLs on local filesystemMartin Jones2010-04-141-1/+7
|/
* Doc fixesBea Lam2010-04-131-4/+4
|
* Doc fixesBea Lam2010-04-121-0/+15
|
* Remove QT_VERSION checks in QMLAaron Kennedy2010-04-091-7/+0
| | | | We only support Qt 4.7 now.
* Release ListModel's worker agent on deletion.Bea Lam2010-04-092-1/+3
|
* Fix url resolution in PropertyChanges.Michael Brasser2010-04-093-9/+18
| | | | | | | | Make sure bindings in PropertyChanges resolve urls correctly. Also refactor the code so that PropertyChanges will always use the standard url resolution support provided by QDeclarativeProperty. Task-number: QTBUG-9571
* Fix compile warningsmae2010-04-081-1/+1
|
* Renamed 'source' property from SpringFollow to 'to'Leonardo Sobral Cunha2010-04-082-26/+35
|
* Add SmoothedFollow element to qmlLeonardo Sobral Cunha2010-04-084-0/+416
| | | | | | | | | | | | | | | | | | | | | The SmoothedFollow is the same as the old EaseFollow, so it's not an animation, but its main use case is to be used as a property value source to automatically follow the 'to' property, as in the example below. Rectangle { color: "green" width: 60; height: 60; SmoothedFollow on x { to: rect1.x - 5; velocity: 200 } SmoothedFollow on y { to: rect1.y - 5; velocity: 200 } } This element shares the internal implementation with SmoothedAnimation, both providing the same easing function, but with SmoothedFollow it's easier to set a start value to animate intially and then start to follow, while SmoothedAnimation is still convenient for using inside Behaviors and Transitions. Reviewed-by: Michael Brasser
* Tracking the velocity when restarting SmoothedAnimationLeonardo Sobral Cunha2010-04-081-0/+2
|
* Fix doc of qml's SmoothedAnimationLeonardo Sobral Cunha2010-04-081-9/+10
|
* Refactor in smoothedanimation, removed unneeded codeLeonardo Sobral Cunha2010-04-082-6/+1
|
* Replace "import Qt 4.6" with "import Qt 4.7"Michael Brasser2010-04-082-2/+2
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-082-14/+12
|\
| * Revert "Add QListModelInterface::modelReset() signal and emit this in"Bea Lam2010-04-082-14/+12
| | | | | | | | | | | | | | | | | | | | | | This reverts commit 973cfce37fcdd1ce330f237eaa76930db55a73f6. Need more consideration before adding modelReset(). For example if item insertion/removal is supposed to trigger animations through added/removed signals, they won't be triggered if only the modelReset() signal is emitted. Also if we add modelReset(), it should also be implemented for ListModel to make sure it is implemented by all subclasses of QListModelInterface and to test the impact of this on the view classes.
* | Replace Text::wrap property with Text::wrapMode enumeration.Martin Jones2010-04-081-1/+1
|/ | | | wrap remains for a little while, and will produce a warning.
* Revert "Support QList<QObject*> properties"Aaron Kennedy2010-04-082-7/+1
| | | | | | | | This reverts commit 9d9161446bfad883c298d54a122e822c5e273a9c. This was a bad idea. It complicates the "property var" are not really JavaScript var problem. Some of the patch is valid, and it will be applied separately.
* Document behavior of conflicting when clauses.Michael Brasser2010-04-081-4/+14
| | | | Task-number: QTBUG-9371
* Support QList<QObject*> propertiesAaron Kennedy2010-04-082-1/+7
| | | | | | | We already supported returning QList<QObject*> from methods, but there wasn't really much that could be done with the return value. This closes the loop on QList<QObject*> support by allowing them to be properties, and used as models.
* Disallow nested elements in ListModelAaron Kennedy2010-04-071-1/+6
| | | | QTBUG-6082
* Disallow creation of attached objects Keys and KeyNavigationMartin Jones2010-04-071-33/+1
| | | | | | | Also adds qmlRegisterUncreatableType<>() to allow registration of named types that cannot be created. Task-number: QTBUG-9575
* Add QListModelInterface::modelReset() signal and emit this inBea Lam2010-04-072-12/+14
| | | | XmlListModel when all data has changed.
* Don't crash if a target isn't specified for AnchorChanges.Michael Brasser2010-04-061-0/+12
|
* Update #include of private headers in QtDeclarativeThiago Macieira2010-04-0238-107/+107
| | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* Doc fixBea Lam2010-04-011-1/+1
|
* ModelNode::setObjectValue() must update the object cache.Bea Lam2010-04-011-0/+2
| | | | Task-number: QTBUG-9509