| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
QDeclarativeComponent)
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
Also updated examples to still work, and the dynamic example now uses
exceptions a little, to demonstrate that it can be done. Exceptions are
also now filled out with the QML error data.
Task-number: QT-2801
Reviewed-by: Aaron Kennedy
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Could use some cleanup, as I didn't manage to get code snippets working
correctly. Also might benefit from being re-written by a good tutor.
|