Better_Software_Header_MobileBetter_Software_Header_Web

Find what you need - explore our website and developer resources

QML Engine Internals, Part 4: Custom Parsers

Rectangle {
    id: rectangle
    width: 300
    height: 300
    anchors.centerIn: parent
    color: "blue"
    radius: 25
    MouseArea {
        id: mouseArea
        anchors.fill: parent
    }
}
states: State {
    when: mouseArea.pressed
    PropertyChanges {
        target: rectangle
        color: "red"
    }
}
PropertyChanges {
    target: rectangle
    color: "red"
    radius: 10
}
PropertyAction { target: rectangle; property: "color"; value: "red" }
PropertyAction { target: rectangle; property: "radius"; value: 10 }
Connections {
    target: _screenController
    onClearAddress: address.text = ""
}

6 Comments

28 - Jun - 2013

X-Krys

28 - Jun - 2013

wazyk

28 - Jun - 2013

charley

29 - Jun - 2013

Alan Alpert

29 - Jun - 2013

TheBootroo

29 - Jun - 2013

Thomas McGuire