summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeloader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Updated year in copyright headerKai Koehne2014-03-261-1/+1
| | | | | | | | | | | | | | | | | | find . -path '*/3rdparty/*' -prune -o -type f -print | xargs -L1 sed -i -E 's/Copyright(.*) 2013 Digia/Copyright\1 2014 Digia/g' Manually patched files: demos/spectrum/3rdparty/fftreal/fftreal_wrapper.h demos/spectrum/3rdparty/fftreal/fftreal_wrapper.cpp src/3rdparty/s60/eiksoftkeyimage.h tools/qdoc3/test/qt-project.qdocconf tests/auto/qsharedpointer/nontracked.h tests/auto/qsharedpointer/nontracked.cpp Change-Id: I3f9074923b4d6bd4666258ab04f01476cc6e901c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Sergio Ahumada <sahumada@blackberry.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-131-1/+1
| | | | | | Change-Id: I52bf8ef0447b701b4ebf7d7d240013a72adb9425 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-291-24/+24
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I280c0a575987d1770e354b4948f1d4d767d711ea Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Update contact information in license headers.Sergio Ahumada2012-08-011-2/+2
| | | | | | | | | | | | | - Replace Nokia contact email address with Qt Project website. - Remove "All rights reserved" line from license headers. As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: Ie7ba62011752fcb149b99b26317c54f2a0cfa931 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Update year in Nokia copyright messages.Jason McDonald2012-01-111-1/+1
| | | | | | | | | Simple search and replace. This commit doesn't touch 3rd-party files, nor translations (where the change is not so simple and will be handled in a separate commit). Change-Id: I4e48513b8078a44a8cd272326685b25338890148 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-131-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* 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