summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativepropertychanges.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Martin Jones2011-01-191-1/+1
|\
| * Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | | | | | Reviewed-by: Trust Me
* | Fix potential crash in PropertyChanges binding rewrite handling.Michael Brasser2010-12-211-27/+36
| | | | | | | | | | | | | | This fixes the autotest regression for tst_qdeclarativestates::editProperties introduced by 488e616b50707e5b37162e6d0cfc71a1ffdf9bef. Reviewed-by: Joona Petrell
* | Optimize QByteArray to QString conversion in PropertyChanges.Michael Brasser2010-12-211-37/+35
| | | | | | | | | | | | | | | | Perform the conversion once at compile time, rather than many times later. Task-number: QTBUG-15331 Reviewed-by: Martin Jones
* | Rewrite/cache bindings created by PropertyChanges.Michael Brasser2010-12-171-3/+23
|/ | | | | | | This provides a significant optimization for initial evaluation of bindings specified in a PropertyChanges. Reviewed-by: Aaron Kennedy
* This patch allows modifications on PropertyChanges on the flyThomas Hartmann2010-09-141-3/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is important for Bauhaus to ensure that we can edit properties and states dynamically in the visual editor Most of the changes consist of added functions for Bauhaus, that do not affect any current behaviour. Important changes: QDeclarativeAbstractBinding is holding a QSharedPointer to itself so that other classes can hold a weak reference to avoid accessing dangling pointers while keeping track of bindings. QDeclarativeStateOperation now has its own private class QDeclarativeStateOperationPrivate to hold a pointer back to QDeclarativeState since the parent is not set correctly in every context. QDeclarativePropertyChangesPrivate does now hold a QDeclarativeGuard instead of a raw pointer to the target QObject. In Bauhaus the target object might be deleted. Reviewed-by: Aaron Kennedy
* Remove pointless \internal docs (that contain no information)Aaron Kennedy2010-08-271-6/+0
|
* Docs - clarify use of PropertyChanges for immediate property changes inBea Lam2010-08-171-71/+48
| | | | | a State (e.g. for setting a transformOrigin for a RotationAnimation). Also improve some other animation docs in general.
* qdoc: Reorganized the QML elements table to be a dictionary...Martin Smith2010-08-161-0/+1
| | | | ...and a set of functional group pages.
* Docs - add more links to relevant examplesBea Lam2010-06-301-1/+1
| | | | Task-number: QTBUG-11754
* Move some example code into snippets/ and add other doc fixesBea Lam2010-06-091-3/+3
|
* Doc fixes and improvements - fix some example code, link toBea Lam2010-06-021-1/+1
| | | | examples from class docs and improve assorted docs
* Documentation.Michael Brasser2010-06-011-1/+16
|
* Add parent parameter to QDeclarativeExpression constructor.Michael Brasser2010-05-181-2/+2
| | | | Also rearrange the parameter order to be more clear.
* Fix crash in ParentAnimation.Michael Brasser2010-05-141-2/+2
| | | | | | | | | | | copyOriginals plays with the order of the revertList, which messes up the assumptions of ParentAnimation. The full fix will require some rearchitecting of how the states and transitions handle "related" actions, but for now this fixes the crash. Reverting to the base state has also been fixed. Task-number: QTBUG-10671, QTBUG-10676
* Apply signal handler changes immediately.Michael Brasser2010-05-121-8/+3
| | | | | Fix regression in bindinganimation visual test introduced in 129940723d9145a4380f7e44c06cbaa88ee4053b.
* Correct ownership of signal handlers in state changes.Michael Brasser2010-05-111-7/+28
| | | | | | | When a state uses override, we may apply the same replacesignalhandler on top of itself. Make sure we update ownership accordingly. Task-number: QTBUG-10523
* Add some test assertsAaron Kennedy2010-05-101-0/+3
|
* Fix translation context when qsTr is used in PropertyChanges.Michael Brasser2010-04-291-1/+10
| | | | | | This should also lead to better error meesages coming from PropertyChanges. Task-number: QTBUG-10300
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-04-271-2/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (30 commits) Ensure text document is created before we access it. Plugins documentation. Fix update issue when an item has an effect and child. Fix QDeclarativeTextInput and QGraphicsView in regards of input methods hints. Disallow "Qt" as namespace import Don't "adjust" the z value of a delegate that has been cached. Correctly inherit extension properties Autotests More QDeclarativeNetworkAccessManagerFactory doc clarification. Fix QDeclarativeNetworkAccessManagerFactory docs. Don't crash on invalid model remove signal. Ensure scheduled layout can occur before testing. Fix remaining 4.6 type registrations (to 4.7). doc anchor margins vs. anchor (line) state/animation. These examples should not be included in this test Unify naming of settings / UI to be "Qt Qml Runtime" Improved error messages for type resolving, new debug option Link to example files from tutorial pages Add tutorial for writing QML extensions no export in plugin ...
| * doc anchor margins vs. anchor (line) state/animation.Warwick Allison2010-04-261-2/+3
| |
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7Peter Yard2010-04-271-3/+3
|\ \ | |/
| * Rename QDeclarativeExpression::value() to evaluate().Michael Brasser2010-04-221-1/+1
| | | | | | | | | | QDeclarativeExpression can be used to evaluate any sort of expression, not just those returning a value.
| * Fix AnchorChanges to work with parent.right.Michael Brasser2010-04-201-2/+2
| | | | | | | | | | | | | | "parent" needs to be evaluated with the AnchorChanges target as the scope object. Task-number: QTBUG-5338
* | Docs Changes to start page. Minor change to Elements doc. See also added to ↵Peter Yard2010-04-271-1/+1
|/ | | | some elements docs.
* Fix url resolution in PropertyChanges.Michael Brasser2010-04-091-9/+4
| | | | | | | | 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
* Replace "import Qt 4.6" with "import Qt 4.7"Michael Brasser2010-04-081-1/+1
|
* 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.
* Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-2/+2
| | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* Produce an error when trying to create objects in a PropertyChanges.Michael Brasser2010-03-211-0/+2
| | | | | | | State-specific object lifecycle management will be addressed in a future release. Task-number: QTBUG-8318
* Optimization: Reduce unnecessary QObject allocationsAaron Kennedy2010-03-171-1/+2
|
* Rename QDeclarativeMetaProperty -> QDeclarativePropertyAaron Kennedy2010-02-251-15/+15
| | | | There's nothing meta about our properties.
* Document and test resetting properties in a state change.Michael Brasser2010-02-251-1/+28
| | | | Task-number: QT-1817
* Remove QDeclarativeMetaProperty::createProperty() methodAaron Kennedy2010-02-251-1/+1
| | | | | The behavior of createProperty() (to resolve dot properties) is now the behavior of the constructors.
* Move private QDeclarativeMetaProperty functions into the private classAaron Kennedy2010-02-251-4/+7
| | | | | | We don't want to allow manipulation of bindings and signal properties through the public API. Equivalents of the public functions now exist in QDeclarativeMetaPropertyPrivate for internal use.
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+456
QDeclarativeXXX.