diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-03-01 09:10:50 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-12-27 14:57:09 +0000 |
commit | 6f6fa9ee929292639a24f2b15c432a41df92610d (patch) | |
tree | 25d279bbd24f9fced09e7f9a751dcff1e0981a05 /examples/quick/externaldraganddrop/externaldraganddrop.qml | |
parent | 6c5b2c367d7cfc92563986b35c99f410f2ac42aa (diff) |
externaldraganddrop example: add checkbox to control accepting drop
DropArea.onEntered can reject the drop - this will provide cursor
and color change feedback showing whether dropping is allowed.
Change-Id: I2203cda79cf381bbb71724cdcd6aecd8f001d62d
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples/quick/externaldraganddrop/externaldraganddrop.qml')
-rw-r--r-- | examples/quick/externaldraganddrop/externaldraganddrop.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/externaldraganddrop/externaldraganddrop.qml b/examples/quick/externaldraganddrop/externaldraganddrop.qml index 9c33d1e468..47a76a259a 100644 --- a/examples/quick/externaldraganddrop/externaldraganddrop.qml +++ b/examples/quick/externaldraganddrop/externaldraganddrop.qml @@ -82,8 +82,8 @@ Item { DragAndDropTextItem { Layout.fillWidth: true height: 142 + dropEnabled: false display: "Drag out into other applications." } - } } |