Guest User

Untitled

a guest
Jul 18th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. import Qt 4.7
  2.  
  3. Rectangle {
  4.  
  5. width: 360
  6. height: 640
  7.  
  8. color: "#444444"
  9.  
  10.  
  11. Button {
  12. id: selectButton
  13. anchors.left: parent.left
  14. anchors.leftMargin: 30
  15. anchors.right: parent.right
  16. anchors.rightMargin: 30
  17. anchors.bottom: quitButton.top
  18. anchors.bottomMargin: 20
  19. text: "Select person"
  20.  
  21. onClicked: { proxyItem.sourceItem = picker; proxyItem.grabImage(); }
  22. }
  23.  
  24. Button {
  25. id: quitButton
  26. anchors.left: parent.left
  27. anchors.leftMargin: 30
  28. anchors.right: parent.right
  29. anchors.rightMargin: 30
  30. anchors.bottom: parent.bottom
  31. anchors.bottomMargin: 30
  32. text: "Exit"
  33.  
  34. onClicked: Qt.quit();
  35. }
  36. }
Add Comment
Please, Sign In to add comment