projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
QML_RUNTIME_TESTING should be disabled by default.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
quick
/
qquickloader
/
data
/
active.8.qml
1
import QtQuick 2.0
2
Rectangle {
3
id: root
4
color: "blue"
5
width: 100; height: 100
6
property bool success: false
7
8
Loader {
9
anchors.fill: parent
10
sourceComponent: Rectangle { color: "red" }
11
onLoaded: { root.success = true; } // should be triggered since active is true by default
12
}
13
}