From 6f6fa9ee929292639a24f2b15c432a41df92610d Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Wed, 1 Mar 2017 09:10:50 +0100 Subject: 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 --- examples/quick/externaldraganddrop/externaldraganddrop.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/quick/externaldraganddrop/externaldraganddrop.qml') 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." } - } } -- cgit v1.2.3