Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 1.0
- Rectangle {
- width: 400
- height: 300
- property string identity: "a123"
- id: identity
- color: "lightyellow"
- Rectangle {
- anchors.bottom: parent.bottom
- anchors.left: parent.left
- width: 100
- height: 100
- color: "blue"
- MouseArea {
- anchors.fill: parent
- onClicked: {
- console.log(a123.identity)
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement