summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecomponent.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename QDeclarativeDebugTiming -> QDeclarativeDebugTraceAaron Kennedy2010-05-271-3/+4
|
* Improve QML framerate debuggingAaron Kennedy2010-05-271-0/+8
|
* Added autotest for Component.createObject() without Qt.createComponent()Alan Alpert2010-05-241-3/+7
| | | | | | Also augmented the docs for both functions a little. Task-number: QTBUG-10926
* Component::createObject() don't attempt to set parent of null objectMartin Jones2010-05-241-4/+6
| | | | | Don't try to set graphics item parent on an object that is not a QGraphicsItem
* Rename Component::errorsString() -> errorString() (and also forBea Lam2010-05-201-4/+4
| | | | QDeclarativeComponent)
* Document Component::createObject() parent argument.Martin Jones2010-05-111-1/+1
| | | | Task-number: QTBUG-10617
* Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-05-051-4/+4
|\
| * docWarwick Allison2010-05-051-4/+4
| | | | | | | | Task-number: QTBUG-10386
* | Make component.createObject require a parent argumentAlan Alpert2010-05-051-1/+19
|/ | | | | | | | | For graphical objects (the common case) a common mistake is to not parent a dynamically created item. Since you almost always want to add a parent, and it's hard for a beginner to diagnose this problem, a parent is now a required argument and dealt with by the createObject function. Task-number: QTBUG-10110
* Doc fixesBea Lam2010-04-301-1/+5
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-04-291-55/+4
|\
| * Don't call qRegisterMetaType() in global scopeBea Lam2010-04-291-1/+0
| |
| * Remove Component's isReady, isLoading, isError and isNull properties.Bea Lam2010-04-291-54/+4
| | | | | | | | | | | | | | The Component status enum covers all of these properties already and removing these also makes the API consistent with Image and Loader. Note this change only affects the QML Component API; the methods are still available for QDeclarativeComponent.
* | Ensure filenames are correctly resolvedWarwick Allison2010-04-291-1/+1
|/ | | | | | Works around QUrl("file:a").isRelative() being false. Reviewed-by: Aaron Kennedy
* Prevent Behavior from being triggered on initialization.Michael Brasser2010-04-291-0/+15
| | | | | | | | Add an additional private notification mechanism that is triggered after all QDeclarativeParserStatus items have had their componentComplete called. Task-number: QTBUG-6332
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integrationQt Continuous Integration System2010-04-271-3/+78
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '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 ...
| * Return null if creation fails.Michael Brasser2010-04-231-3/+5
| |
| * Basic Component doc.Michael Brasser2010-04-231-1/+74
| |
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7Peter Yard2010-04-271-25/+25
|\ \ | |/
| * Doc.Michael Brasser2010-04-221-18/+20
| |
| * Emit runtime warnings through QDeclarativeEngineAaron Kennedy2010-04-191-7/+5
| | | | | | | | QTBUG-9726
* | Docs Changes to start page. Minor change to Elements doc. See also added to ↵Peter Yard2010-04-271-0/+2
|/ | | | some elements docs.
* DocAaron Kennedy2010-04-151-0/+20
|
* Add Component.onDestruction attached propertyAaron Kennedy2010-04-151-20/+25
| | | | | | | | | This property complements Component.onCompleted. It is emitted before the destruction actually begins (for the most part) so the objects are still alive and accessible. The QtObject.onDestroyed signal is now blocked as it never really worked properly anyway.
* Remove unused parameterAaron Kennedy2010-04-151-1/+1
|
* Rename the ridiculous QDeclarativeDeclarativeData -> QDeclarativeDataAaron Kennedy2010-04-151-2/+2
|
* Reduce warnings at shutdownAaron Kennedy2010-04-141-0/+5
| | | | | | QTBUG-9799 Reviewed-by: Alexis Menard
* Doc: more mention of using QUrl::fromLocalFile() for URLs on local filesystemMartin Jones2010-04-141-0/+6
|
* Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-10/+10
| | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* Deprecate inline Script {} blocksAaron Kennedy2010-03-221-0/+5
| | | | | | | | Inline blocks/includes have been replaced with an import syntax: import "foo.js" as Foo this gives better separation between QML and code. Imported script blocks also have a mandatory qualifier, which leads to better optimization potential.
* Remove dead performance measurement code from QMLAaron Kennedy2010-03-221-2/+0
|
* Fix crash when calling createObject on a component with errors.Michael Brasser2010-03-211-0/+2
|
* Fix test failuresAaron Kennedy2010-03-171-2/+0
|
* Optimization: Reduce unnecessary QObject allocationsAaron Kennedy2010-03-171-40/+21
|
* Simplify QDeclarativeComponent::creationContext() logicAaron Kennedy2010-03-171-5/+2
|
* Integrate QML's object ownership with the JS collectorAaron Kennedy2010-03-091-4/+16
| | | | | | | QML now behaves in a way similar to QtScript when it comes to QObject ownership. QT-2803
* Empty URL testAaron Kennedy2010-03-021-0/+7
|
* Rename QDeclarativeGraphics_setParent_noEvent QDeclarative_setParent_noEventMartin Jones2010-03-011-1/+1
|
* Rename QDeclarativeMetaProperty -> QDeclarativePropertyAaron Kennedy2010-02-251-2/+2
| | | | There's nothing meta about our properties.
* Make more private QDeclarativeMetaProperty methods privateAaron Kennedy2010-02-251-2/+2
|
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+798
QDeclarativeXXX.