summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeloader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make sure we update Loader size if item size changes after creation.Martin Jones2011-02-021-1/+6
| | | | | Task-number: QTBUG-17114 Reviewed-by: Bea Lam
* Merge branch 'qtquick11' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Martin Jones2011-01-271-5/+4
|\
| * Don't load components until the Loader component itself is completedBea Lam2011-01-271-26/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously components were loaded as soon as setSource() or setSourceComponent() were called, even if the Loader component was not complete. If a source component had been set, the itemChanged(), statusChanged() etc. signals would be emitted before the Loader would be complete and before the internal item had been sized. If a source had been set via url, these signals were not emitted at all. It also caused loaded() to be emitted twice for components set by setSourceComponent(). Task-number: QTBUG-16319 Reviewed-by: Martin Jones
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Bea Lam2011-01-271-33/+27
| |\ | | | | | | | | | | | | | | | Conflicts: src/declarative/graphicsitems/qdeclarativegridview.cpp src/declarative/graphicsitems/qdeclarativelistview.cpp
| | * Revert "Fix loaded() signal to be emitted only once"Bea Lam2011-01-211-33/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 82ff3f484c7ec49e60b7fddf23794937974a6768. QTBUG-16796 reports that this commit is causing regressions relating to initial sizing of items. Task-number: QTBUG-16796
* | | Setting the size of a loader overwrote its implict size.Martin Jones2011-01-271-4/+18
|/ / | | | | | | | | | | | | | | If the created item does not have a valid width/height then our implictWidth/Height should be the same as the items implict size. Task-number: QTBUG-16928 Reviewed-by: Bea Lam
* | Expose implicitWidth and implicitHeight properties of Item.Martin Jones2011-01-241-1/+1
|/ | | | | | | | Overridden as readonly for elements that have an inherent implicit size such as Text, TextEdit, TextInput, positioners, Loader. Task-number: QTBUG-14957 Reviewed-by: Michael Brasser
* Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | Reviewed-by: Trust Me
* Fix loaded() signal to be emitted only onceBea Lam2011-01-101-27/+33
| | | | | Task-number: QTBUG-16319 Reviewed-by: Martin Jones
* Ensure loaded item's parent is set before component completion.Martin Jones2010-11-121-6/+35
| | | | | | | Also documented Loader sizing behavior. Task-number: QTBUG-14873 Reviewed-by: Michael Brasser
* Fix errors in example code. Also reverts the example code to the oldBea Lam2010-11-041-7/+9
| | | | | | list format. Task-number: QTBUG-14871
* Doc clarification for Loader.Michael Brasser2010-10-271-1/+2
|
* Create Loader components in correct contextAaron Kennedy2010-10-061-1/+3
| | | | Task-number: QTBUG-13481
* Doc: More work on the declarative API documentation.David Boddie2010-09-131-4/+4
|
* Remove pointless \internal docs (that contain no information)Aaron Kennedy2010-08-271-11/+0
|
* Add info to Loader docs about receiving signals and key eventsBea Lam2010-08-201-39/+68
|
* qdoc: Reorganized the QML elements table to be a dictionary...Martin Smith2010-08-161-0/+1
| | | | ...and a set of functional group pages.
* Document elements that are focus scopes.Yann Bodson2010-07-291-0/+3
| | | | Task-number: QTBUG-12404
* doc: Fixed last of the declarative/QML qdoc warnings.Martin Smith2010-07-091-4/+3
|
* Ensure Loader item change listener is removed when Loader is destroyedMartin Jones2010-06-291-1/+9
| | | | Task-number: QTBUG-11771
* Doc improvements, including snippet fixes, linking to examples, makingBea Lam2010-06-111-9/+19
| | | | docs more consistent
* Doc fixes and improvements - fix some example code, link toBea Lam2010-06-021-14/+36
| | | | examples from class docs and improve assorted docs
* When changing Loader source, remove old item from scene immediately.Martin Jones2010-05-191-2/+6
| | | | | | This ensures focus is restored to the correct item. Task-number: QTBUG-10787
* Regression fix for Loader anchors not workingJoona Petrell2010-05-181-0/+1
| | | | | Task-number: QTBUG-10766 Reviewed-by: Yann Bodson
* Fix doc for status, add Image::onLoaded.Warwick Allison2010-05-171-2/+20
| | | | | | | | statusChanged is NOT emitted for local files, nor should it be (they are loaded synchronously, so status is *initially* Ready). Add onLoaded signal that *is* emitted. Reviewed-by: Michael Brasser
* docWarwick Allison2010-05-051-4/+4
| | | | Task-number: QTBUG-10386
* Remove QDeclarativeLoader::resizeModemae2010-05-031-92/+26
| | | | | | | | | | | | The explicit resizeMode is superfluous, all usecases could be achieved with the corrected default behaviour of the former ResizeLoaderToItem mode. The NoResize usecase is covered by wrapping the loader in an extra item. That means: A loader automatically gets its size from the item loaded unless the loader has an explicit size itself. Go-ahead-by: Michael Brasser
* Allow Loader sourceComponent to be set to undefeined.Martin Jones2010-04-201-1/+9
|
* Emit runtime warnings through QDeclarativeEngineAaron Kennedy2010-04-191-2/+2
| | | | QTBUG-9726
* Doc: in QML use "real" and "enumeration", not "qreal" and "enum"Martin Jones2010-04-161-2/+2
|
* Make sure Loader doesn't leak when component has errors.Michael Brasser2010-04-071-3/+3
|
* Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-1/+1
| | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* Fix parenting after 6f88388db4e8e202780d789e66664ff824691948.Michael Brasser2010-03-301-6/+2
|
* Revert 95aa8c8fc76e2309a629b05994a2677b0887140b.Warwick Allison2010-03-241-5/+0
|
* Make compile.Michael Brasser2010-03-241-1/+1
|
* Output all Loader errors.Michael Brasser2010-03-241-0/+2
| | | | | Previously we were not outputting those that occurred on component->create().
* Fix Loader leak when loading a non-QGraphicsObject object.Michael Brasser2010-03-241-1/+5
|
* Use setParent_NoEvent in Loader and benchmark Loader performance.Michael Brasser2010-03-241-2/+3
|
* Origin safety testing for imported resources.Warwick Allison2010-03-241-1/+4
| | | | | Extends upon 95aa8c8fc76e2309a629b05994a2677b0887140b. Still under discussion.
* Basic Loader origin safety (for discussion).Warwick Allison2010-03-231-0/+3
|
* Fix Loader crash.Michael Brasser2010-03-221-1/+10
| | | | | | | | | If setting the source of a Loader triggered a change to the source (i.e. the thing being loaded set the source to something else) a crash would occur. We now no longer delete the component immediately when the source changes. Task-number: QTBUG-9241
* Make the loader a focusscope.Yann Bodson2010-03-141-1/+3
|
* Replace QDeclarativeContext::addDefaultObject() -> setContextObject()Aaron Kennedy2010-03-111-1/+1
| | | | It is faster and easier to use to just support a single context object.
* DocAaron Kennedy2010-03-101-4/+5
| | | | QTBUG-8448
* Expand documention of status property with examplesAlan Alpert2010-03-011-0/+9
| | | | Task-number: QTBUG-8542
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+488
QDeclarativeXXX.