Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.0
- Rectangle {
- width: 360
- height: 360
- Text {
- anchors.centerIn: parent
- text: "Hello World"
- }
- MouseArea {
- anchors.fill: parent
- drag.target: parent
- drag.filterChildren: true
- Rectangle {
- id: hereworks
- color:"yellow"
- width: 200
- height: 150
- }
- Text {
- id: heredoesnt
- anchors.top: hereworks.bottom
- text: "TRY DRAGGING FROM HERE"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement