summaryrefslogtreecommitdiffstats
path: root/src/declarative
Commit message (Collapse)AuthorAgeFilesLines
* Autotest and small fix for QDeclarativeFontLoader.Yann Bodson2010-09-171-5/+1
|
* Improve error messagesBea Lam2010-09-171-3/+3
|
* Changes to objects returned from get() should emit itemsChanged() soBea Lam2010-09-175-38/+411
| | | | | | | | | | | that the view is updated (currently the model data changes but the view does not). In flat-model mode, get() now returns a QScriptClass-type object so that changes to the returned object are received, and for nested-model mode, the fix adds a QDeclarativeOpenMetaObject subclass and ModelNode::listIndex so that itemsChanged() can be emitted when the node data changes. Task-number: QTBUG-12363
* Make it clear that private ListModel constructor is only for workerBea Lam2010-09-174-20/+33
| | | | | agent. Also set up the worker list copy in the ListModel implementation instead of the agent.
* Remove duplicated move() implementationsBea Lam2010-09-171-34/+26
|
* Doc changesBea Lam2010-09-171-4/+4
|
* Fix QDeclarativeXmlQuery mutex locking and don't wait for new jobs if the ↵Joona Petrell2010-09-171-3/+5
| | | | | | | query has already quit Task-number: QTBUG-13041 Reviewed-by: Aaron Kennedy
* PathView didn't accept mouse events, preventing it from working in a Flickable.Martin Jones2010-09-172-75/+112
| | | | | | | | | | | Since it didn't accept the press it didn't get a grab, so its events were always filtered away by Flickable. Use the same implementation as Flickable, i.e. create private handler functions for mouse events and accept normal events in the mouse*Event() methods. Task-number: QTBUG-13687 Reviewed-by: Michael Brasser
* Moving items in a PathView caused PathView.onPath to be set to false.Martin Jones2010-09-171-3/+5
| | | | | | | | Check that we no longer hold a reference to the item before setting onPath to false. Task-number: QTBUG-13689 Reviewed-by: Michael Brasser
* Fix worker agent to emit ListModel itemsChanged() correctly when set()Bea Lam2010-09-171-1/+1
| | | | | | and setProperty() are called Task-number: QTBUG-13666
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Qt Continuous Integration System2010-09-162-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Check S60_VERSION instead of existence of certain files in bearer plugin Fixed EPOCROOT references in createpackage.pl. Restore 4.7.0 behavior that non-existing paths are possible. QTBUG-4852 Turning on runtime nested exception support where available Fix warnings Fixed incorrect Symbian scoping. QS60style: itemview selection indication works incorrectly
| * Fix warningsThomas Zander2010-09-162-2/+2
| |
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-09-162-72/+129
|\ \ | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Update QtDeclarative def files Optimize FontLoader for "multi-use".
| * | Optimize FontLoader for "multi-use".Yann Bodson2010-09-162-72/+129
| |/ | | | | | | | | Task-number: QTBUG-13419 Reviewed-by: Michael Brasser
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-09-168-145/+294
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Fixed regression in QPixmap::size() for null pixmaps. Make test less sensitive to platform specifics Doc: Further QML improvements. Doc: Minor improvements to QML-related documentation. The test livelock of QTimer is now expected to work Make sure mapSelectionFromSource does not return a selection with invalid ranges. QEventDispatcherUnix: do not process too many timer if other events need to be processed first Doc: Continued work on the QML documentation. Doc: More work on the QML documentation. Doc: More work on the declarative API documentation. Doc: Some editing and tidying up. Doc: Added a missing file. Doc: Fixed text in license headers.
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7David Boddie2010-09-1521-62/+118
| |\
| * | Doc: Further QML improvements.David Boddie2010-09-151-22/+61
| | |
| * | Doc: Minor improvements to QML-related documentation.David Boddie2010-09-151-2/+2
| | |
| * | Doc: Continued work on the QML documentation.David Boddie2010-09-141-10/+49
| | |
| * | Doc: More work on the QML documentation.David Boddie2010-09-141-57/+59
| | |
| * | Doc: More work on the declarative API documentation.David Boddie2010-09-136-54/+123
| | |
* | | Compile fix for static build using mingw.Michael Brasser2010-09-161-1/+1
| | | | | | | | | | | | | | | | | | Fix follows the pattern of commit bbf78c9b422c4c7eda7e7fce067578c75d3bc9b3. Reviewed-by: Martin Jones
* | | Models with a single role may not update due to "modelData" conflict.Martin Jones2010-09-161-10/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | Models with a single role also have a modelData property added. These role names both ended up in a hash, resulting in only one or the other updating. Now we handle modelData specially. Task-number: QTBUG-13664 Reviewed-by: Michael Brasser
* | | Fix bug in 34b805d66c09fb324d1b6a7bcf259e8743ef3894Thomas Hartmann2010-09-152-6/+8
| | | | | | | | | | | | | | | | | | | | | This time the implementation of clear is correct Reviewed-by: Marco Bubke
* | | crashfix for tst_qdeclarativeanimations::badTypes()Thomas Hartmann2010-09-152-6/+7
| | | | | | | | | | | | | | | | | | | | | We always have to check for 0 before converting a raw pointer into a smart pointer Reviewed-by: Kai Koehne
* | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-09-1516-53/+845
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Compile with QT_NO_GESTURES. Give file and line error information for errors in dummydata. Restore any absolute geometry changed by AnchorChanges when returning Export QDeclarativeScriptAction Completing the interface for children/data/resources Unit tests for Bauhaus enablers This patch allows modifications on PropertyChanges on the fly
| * | Restore any absolute geometry changed by AnchorChanges when returningMichael Brasser2010-09-151-0/+54
| | | | | | | | | | | | | | | | | | to the base state. Task-number: QTBUG-11834
| * | Export QDeclarativeScriptActionMarco Bubke2010-09-141-1/+1
| | | | | | | | | | | | It is needed in Bauhaus to disable the animation.
| * | Completing the interface for children/data/resourcesThomas Hartmann2010-09-144-3/+120
| | | | | | | | | | | | | | | | | | | | | | | | This patch makes the handling of properties like children and data easier in Bauhaus. Especially in the case of property alias Reviewed-by: Aaron Kennedy
| * | This patch allows modifications on PropertyChanges on the flyThomas Hartmann2010-09-1411-49/+670
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Rename "interface" in qdeclarativeinterface.h to "qmlInterface"Rhys Weatherley2010-09-151-2/+2
|/ / | | | | | | | | | | | | | | The "interface" name is #define'd to "struct" in Windows COM headers in some SDK's, and creates problems when such headers are mixed with QML bindings. Reviewed-by: Joona Petrell
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-09-144-8/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: L10n: Update German translations for 4.7.1, part 1. build fix for configure.exe I18n: Fix some lupdate warnings. Fix compile warnings. expose GestureType for using in QML
| * | I18n: Fix some lupdate warnings.Friedemann Kleint2010-09-141-4/+4
| | |
| * | Fix compile warnings.Friedemann Kleint2010-09-143-4/+4
| | | | | | | | | | | | Reviewed-by: Thomas Hartmann <thomas.hartmann@nokia.com>
* | | In ParentChange treat flip in x and y as a 180 degree rotationMartin Jones2010-09-142-4/+6
|/ / | | | | | | | | | | | | The two are equivalent, but flip doesn't work in ParentChange. Task-number: QTBUG-13554 Reviewed-by: Michael Brasser
* | When onDoubleClicked: is handled don't emit a second onPressed/onClickedMartin Jones2010-09-132-7/+16
| | | | | | | | | | Task-number: QTBUG-12250 Reviewed-by: Michael Brasser
* | Ensure flickable velocity is updated when view is moved by setCurrentIndexMartin Jones2010-09-134-3/+8
| | | | | | | | Task-number: QTBUG-13543
* | Autotest for QTBUG-13454.Yann Bodson2010-09-101-2/+1
| |
* | Changing the Image 'source' should not go through the 'Loading' state if the ↵Yann Bodson2010-09-101-10/+13
| | | | | | | | | | | | | | image is cached. Task-number: QTBUG-13454 Reviewed-by: Martin Jones
* | Update running animations if a SmoothedAnimation is changedAlan Alpert2010-09-092-1/+20
| | | | | | | | | | | | | | This behavior is consistent with the other animations. Task-number: QTBUG-12336 Reviewed-by: Leonardo Sobral Cunha
* | Fix SmoothedAnimation test and docsAlan Alpert2010-09-091-1/+7
| | | | | | | | | | | | | | | | | | The SmoothedAnimation visual test was misleading, and has been expanded to include more common use cases. The property documentation was also slightly extended. This should help solve the confusion in the related task. Task-number: QTBUG-12114
* | Fix reversingModes of QDeclarativeSmoothedAnimationAlan Alpert2010-09-091-2/+3
| | | | | | | | | | | | | | None of them actually worked. The updated visual test now shows the correct behavior. Task-number: QTBUG-13513
* | Don't cause repaints during painting in Text elementMartin Jones2010-09-081-9/+7
| | | | | | | | | | | | | | | | | | | | Calling prepareGeometryChange in a paint event is a bad idea and was causing jerky scrolling. There is no longer any need for the removed code since we don't use imgCache.size() to determine boundingRect() anymore. Task-number: QTBUG-13453 Reviewed-by: Joona Petrell
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-09-0818-350/+530
|\ \
| * | Remove unused objectBea Lam2010-09-081-1/+0
| | |
| * | Fix Worker ListModel to emit the right signal when items changeBea Lam2010-09-081-1/+1
| |/
| * Merge branch '4.7' into qmldocsDavid Boddie2010-09-078-173/+239
| |\
| * | Doc: More work on the QML documentation.David Boddie2010-09-073-23/+37
| | |
| * | Merge branch '4.7' into qmldocsDavid Boddie2010-09-067-39/+59
| |\ \
| * | | Doc: Worked on two more elements, replacing an image.David Boddie2010-09-061-10/+19
| | | |