summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems
Commit message (Collapse)AuthorAgeFilesLines
* Update sections if model content changes.Martin Jones2010-10-124-3/+64
| | | | | | | | We didn't handle the section property changing, e.g. due to asynchronous model. Task-number: QT-4093 Reviewed-by: Aaron Kennedy
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-10-082-6/+9
|\
| * Image.sourceSize is incorrect after changing Image.sourceYann Bodson2010-10-082-6/+9
| | | | | | | | Task-number: QTBUG-14303
* | Ensure GridView header is visible at the top of the view.Martin Jones2010-10-081-1/+8
|/ | | | | | | | The view was scrolled to the top of the first item, rather than the top of the header. Task-number: QTBUG-13906 Reviewed-by: Michael Brasser
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-10-081-2/+2
|\
| * Disable Text {} image caching by defaultAaron Kennedy2010-10-081-2/+2
| | | | | | | | Task-number: QTBUG-14050
* | Don't forward keys to invisible items.Martin Jones2010-10-081-4/+4
|/ | | | | Task-number: QTBUG-13685 Reviewed-by: Michael Brasser
* Ensure that onRelease is called for doubleClick events.Martin Jones2010-10-082-7/+8
| | | | | | | | Also ensures that the pressed property is updated appropriately and the double click and hold is possible. Task-number: QTBUG-14279 Reviewed-by: Michael Brasser
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-10-083-4/+0
|\
| * Remove some unnecessary includes in cpp filesAaron Kennedy2010-10-083-4/+0
| |
* | emit currentSectionChanged when section changes in ListView.Martin Jones2010-10-081-3/+12
|/ | | | | Task-number: QTBUG-13981 Reviewed-by: Michael Brasser
* Ensure Flickable.contentX and Flickable.contentY return correct values.Martin Jones2010-10-081-2/+2
| | | | | | | | The animation value was used previously, but this isn't the actual position of the contentItem. Task-number: QTBUG-13603 Reviewed-by: Michael Brasser
* Fix dragging items within a PathViewMartin Jones2010-10-071-3/+3
| | | | | | | | | The test to determine whether the mouse had moved greater than startDragDistance() compared the starting point on the path to the current mouse position. Fix to compare nearest path position. Task-number: QTBUG-14220 Reviewed-by: Michael Brasser
* Doc fix.Michael Brasser2010-10-071-3/+3
|
* Fix setting PathView offset when all visible items are removed.Martin Jones2010-10-071-0/+2
| | | | | | | | If we remove all items then we don't have a valid firstIndex with which to anchor item positions, so just use offset. Task-number: QTBUG-14199 Reviewed-by: Michael Brasser
* Ensure the TextInput cursor blinks immediately when enabled.Michael Brasser2010-10-061-1/+5
| | | | | | | | Previously we relied on cursorPosChanged being called to do the update, but that isn't called in all circumstances. Now we explicitly update when the cursor is enabled or disabled. Task-number: QTBUG-13993
* Ensure PathView updates positions when path changes.Michael Brasser2010-10-062-2/+16
| | | | | | | | Fixes regression caused by optimization added in commit 35a51442ed21f58c06b21293eeb56e843251ee82. Task-number: QTBUG-14239 Reviewed-by: Martin Jones
* Create Loader components in correct contextAaron Kennedy2010-10-061-1/+3
| | | | Task-number: QTBUG-13481
* Document and test paintedWidth and paintedHeight properties of ImageYann Bodson2010-10-051-0/+9
| | | | Task-number: QTBUG-14197
* Add missing license header.Michael Brasser2010-10-041-0/+41
|
* Improve test coverage for declarative module.Michael Brasser2010-10-041-2/+1
| | | | Add additional autotests, and remove unreachable functions.
* Avoid potential null dereference.Martin Jones2010-10-042-2/+2
| | | | Task-number: QT-4030
* Fix clipping behavior for non-cached text.Michael Brasser2010-10-042-2/+1
|
* CompileAaron Kennedy2010-10-042-0/+55
| | | | Task-number: QTBUG-14050
* Only cache textlayout in paint engines that support transformationsAaron Kennedy2010-10-011-1/+6
| | | | Task-number: QTBUG-14050
* Apply the QStaticText text-caching strategy for QMLAaron Kennedy2010-10-015-28/+365
| | | | | | | | | | | | QML cannot use QStaticText directly as it doesn't support caching a QTextLayout. QDeclarativeTextLayout is basically a copy of QStaticText that adds this support. Currently this feature is disabled by default (enable with QML_DISABLE_IMAGE_CACHE=1) while we double check the perf consequences of this change. Task-number: QTBUG-14050
* Use setParentItem() instead of setParentItemHelper if componentComplete is trueMarco Bubke2010-09-302-9/+34
| | | | | | | | | | This ensures that if the component has already been completed, itemChange() is called. This is required to modify QDeclarativePositions in the visual editor, while keeping a legal state. Without this patch notifications are missing and the Positioner keeps track of already deleted children. This resulted in a crash. Reviewed-by: Thomas Hartmann
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-09-293-30/+104
|\
| * Correct property type of PathAttribute::value in the docs.Michael Brasser2010-09-291-1/+1
| |
| * Fix crash when trying to append a null transform to QDeclarativeItem.Michael Brasser2010-09-281-1/+1
| | | | | | | | Task-number: QTBUG-13893
| * Documentation.Michael Brasser2010-09-282-24/+98
| |
| * Documentation fix for Flickable (mark content properties as real, not int).Michael Brasser2010-09-281-4/+4
| |
* | Replace all occurances of "Qt 4.7" with "QtQuick 1.0"Aaron Kennedy2010-09-294-7/+7
| | | | | | | | | | Task-number: QTBUG-13799 Reviewed-by: Martin Jones
* | Register QtQuick 1.0 module.Aaron Kennedy2010-09-291-20/+78
|/ | | | | | | Qt 4.7 is still supported, but deprecated. Reviewed-by: Martin Jones Task-number: QTBUG-13799
* Add export to QDeclarativeBasePositionerMarco Bubke2010-09-271-1/+1
| | | | Bauhaus needs this export to manage layouts.
* Fix a crash in QDeclarativeVisualDataModelJoona Petrell2010-09-211-3/+3
| | | | | Task-number: QTBUG-13754 Reviewed-by: Martin Jones
* Small optimization for QDeclarativeVisualDataModel.Michael Brasser2010-09-211-2/+2
| | | | Reviewed-by: Martin Jones
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-09-172-78/+117
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Fix example after changes to font.letterSpacing. Autotest and small fix for QDeclarativeFontLoader. Improve error messages Changes to objects returned from get() should emit itemsChanged() so Make it clear that private ListModel constructor is only for worker Remove duplicated move() implementations Doc changes Fix QDeclarativeXmlQuery mutex locking and don't wait for new jobs if the query has already quit PathView didn't accept mouse events, preventing it from working in a Flickable. Moving items in a PathView caused PathView.onPath to be set to false. Fix worker agent to emit ListModel itemsChanged() correctly when set()
| * 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
* | Merge branch '4.7-upstream' into 4.7-docA-Team2010-09-1611-130/+367
|\ \ | |/
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-09-167-117/+215
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-159-31/+45
| | |\
| | * | 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-135-26/+44
| | | |
| * | | 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