qtdeclarative/tests/auto/qml/qqmlecmascript/data/SubObject.qml

9 lines
159 B
QML

import QtQml 2.0
QtObject {
property int testValue: -1
property int subValue;
onSubValueChanged: {
testValue = this.someExpression
}
}