qt6-bb10/qtdeclarative/tests/auto/quick/qquickstates/data/reset.qml

20 lines
288 B
QML

import QtQuick 2.0
Rectangle {
width: 640
height: 480
Image {
id: image
width: 40
source: "image.png"
}
states: State {
name: "state1"
PropertyChanges {
target: image
width: undefined
}
}
}