Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Qt 4.7
- Rectangle {
- width: 360
- height: 640
- color: "#000000"
- Rectangle {
- height: 80
- anchors.left: parent.left; anchors.right: parent.right
- anchors.leftMargin: 30; anchors.rightMargin: 30
- anchors.bottom: parent.bottom
- anchors.bottomMargin: 30
- color: "#dd0000"
- Text {
- anchors.centerIn: parent
- font.pixelSize: 30
- text: "Quit"
- color: "#e0e0e0"
- }
- MouseArea {
- anchors.fill: parent
- onClicked: Qt.quit();
- }
- }
- }
Add Comment
Please, Sign In to add comment