summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/componentCreation.js
Commit message (Collapse)AuthorAgeFilesLines
* fixes for dynamic object creation docsBea Lam2010-07-201-29/+34
|
* Rename Component::errorsString() -> errorString() (and also forBea Lam2010-05-201-2/+2
| | | | QDeclarativeComponent)
* Make component.createObject require a parent argumentAlan Alpert2010-05-051-6/+2
| | | | | | | | | 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-27/+21
|
* Remove Component's isReady, isLoading, isError and isNull properties.Bea Lam2010-04-291-3/+3
| | | | | | | 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.
* Fix references to createComponent() and createQmlObject() toBea Lam2010-04-281-0/+57
Qt.createComponent() and Qt.createQmlObject(). Also move code into snippets/ for verification.