Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Qt 4.7
- Rectangle {
- width: 360
- height: 640
- color: "#444444"
- Button {
- id: selectButton
- anchors.left: parent.left
- anchors.leftMargin: 30
- anchors.right: parent.right
- anchors.rightMargin: 30
- anchors.bottom: quitButton.top
- anchors.bottomMargin: 20
- text: "Select person"
- onClicked: { proxyItem.sourceItem = picker; proxyItem.grabImage(); }
- }
- Button {
- id: quitButton
- anchors.left: parent.left
- anchors.leftMargin: 30
- anchors.right: parent.right
- anchors.rightMargin: 30
- anchors.bottom: parent.bottom
- anchors.bottomMargin: 30
- text: "Exit"
- onClicked: Qt.quit();
- }
- }
Add Comment
Please, Sign In to add comment