summaryrefslogtreecommitdiff
path: root/doc/src/snippets/declarative/componentCreation.js
Commit message (Collapse)AuthorAgeFilesLines
* fix/improve docs for new QtQuick 1.1 attributesBea Lam2011-02-281-5/+2
| | | | | | | | | Ensure attributes added in QtQuick 1.1 are marked with the '\since QtQuick 1.1' tag. Also add links to items listed in the QtQuick 1.1 section in whatsnew.qdoc. Task-number: QTBUG-17771 Change-Id: Ic8fb3c8d3c99a1469c1767779efaafd27ef460e1
* Update Docs, Examples and Demos for new CreateObject overloadableChristopher Ham2011-01-281-5/+1
| | | | | | | | Dynamic object in Docs explains QScriptValue argument. SameGame and Dynamic scene now make use of overloadable. Task-number: QTBUG-13087 Reviewed-by: Bea Lam
* 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-061-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-291-0/+57
Qt.createComponent() and Qt.createQmlObject(). Also move code into snippets/ for verification.