| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
subdirectories to make it easier to locate examples for certain
features (e.g. animation) and to distinguish between different types
of examples (e.g. very basic examples vs complex demo-like examples).
|
|\
| |
| |
| |
| | |
Conflicts:
examples/declarative/dynamic/qml/itemCreation.js
|
| | |
|
|/
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The code is now a bit on the imperative side, but that was the
only working solution to remove the binding loops.
|
| |
|
|
|
|
| |
Dynamic property creation appears to have been restricted.
|
|
|
|
| |
working Z and items can no longer be placed in the sky (due to scaling).
|
|
|
|
| |
SystemPalette.
|
| |
|
|
|