/usr/share/qt5/doc/qtquick/qml-qtquick-droparea.html is in qtdeclarative5-doc-html 5.2.1-3ubuntu15.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qquickdroparea.cpp -->
<title>DropArea | QtQuick 5.2</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.2</li>
<li><a href="qtquick-index.html">Qt Quick</a></li>
<li><a href="qtquick-qmltypereference.html">QML Types</a></li>
<li>DropArea</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">DropArea</h1>
<span class="subtitle"></span>
<!-- $$$DropArea-brief -->
<p>For specifying drag and drop handling in an area <a href="#details">More...</a></p>
<!-- @@@DropArea -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> </b><tt>import QtQuick 2.2</tt></td></tr></table><ul>
<li><a href="qml-qtquick-droparea-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-droparea.html#containsDrag-prop">containsDrag</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-droparea.html#drag-prop">drag</a></b></b><ul>
<li class="fn"><b><b><a href="qml-qtquick-droparea.html#drag.x-prop">drag.x</a></b></b> : qreal</li>
<li class="fn"><b><b><a href="qml-qtquick-droparea.html#drag.y-prop">drag.y</a></b></b> : qreal</li>
</ul>
</li>
<li class="fn"><b><b><a href="qml-qtquick-droparea.html#drag.source-prop">drag.source</a></b></b> : Object</li>
<li class="fn"><b><b><a href="qml-qtquick-droparea.html#keys-prop">keys</a></b></b> : stringlist</li>
</ul>
<a name="signals"></a>
<h2>Signals</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-droparea.html#onDropped-signal">onDropped</a></b></b>(DragEvent <i>drop</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-droparea.html#onEntered-signal">onEntered</a></b></b>(DragEvent <i>drag</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-droparea.html#onExited-signal">onExited</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtquick-droparea.html#onPositionChanged-signal">onPositionChanged</a></b></b>(DragEvent <i>drag</i>)</li>
</ul>
<!-- $$$DropArea-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p>A DropArea is an invisible item which receives events when other items are dragged over it.</p>
<p>The <a href="qml-qtquick-drag.html">Drag</a> attached property can be used to notify the DropArea when an Item is dragged over it.</p>
<p>The <a href="qml-qtquick-droparea.html#keys-prop">keys</a> property can be used to filter drag events which don't include a matching key.</p>
<p>The <a href="qml-qtquick-droparea.html#drag.source-prop">drag.source</a> property is communicated to the source of a drag event as the recipient of a drop on the drag target.</p>
<p>The delegate property provides a means to specify a component to be instantiated for each active drag over a drag target.</p>
<!-- @@@DropArea -->
<h2>Property Documentation</h2>
<!-- $$$containsDrag -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="containsDrag-prop"></a><span class="name">containsDrag</span> : <span class="type">bool</span></p></td></tr></table></div><div class="qmldoc"><p>This property identifies whether the <a href="qml-qtquick-droparea.html">DropArea</a> currently contains any dragged items.</p>
</div></div><!-- @@@containsDrag -->
<br/>
<!-- $$$drag -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="even"><th class="centerAlign"><p><a name="drag-prop"></a><b>drag group</b></p></th></tr><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="drag.x-prop"></a><span class="name">drag.x</span> : <span class="type">qreal</span></p></td></tr><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="drag.y-prop"></a><span class="name">drag.y</span> : <span class="type">qreal</span></p></td></tr></table></div><div class="qmldoc"><p>These properties hold the coordinates of the last drag event.</p>
</div></div><!-- @@@drag -->
<br/>
<!-- $$$drag.source -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="drag.source-prop"></a><span class="name">drag.source</span> : <span class="type">Object</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the source of a drag.</p>
</div></div><!-- @@@drag.source -->
<br/>
<!-- $$$keys -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="keys-prop"></a><span class="name">keys</span> : <span class="type">stringlist</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds a list of drag keys a <a href="qml-qtquick-droparea.html">DropArea</a> will accept.</p>
<p>If no keys are listed the <a href="qml-qtquick-droparea.html">DropArea</a> will accept events from any drag source, otherwise the drag source must have at least one compatible key.</p>
<p><b>See also </b><a href="qml-qtquick-drag.html#keys-prop">QtQuick::Drag::keys</a>.</p>
</div></div><!-- @@@keys -->
<br/>
<h2>Signal Documentation</h2>
<!-- $$$onDropped -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onDropped-signal"></a><span class="name">onDropped</span>(<span class="type"><a href="qml-qtquick-dragevent.html">DragEvent</a></span><i> drop</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when a drop event occurs within the bounds of a a <a href="qml-qtquick-droparea.html">DropArea</a>.</p>
</div></div><!-- @@@onDropped -->
<br/>
<!-- $$$onEntered -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onEntered-signal"></a><span class="name">onEntered</span>(<span class="type"><a href="qml-qtquick-dragevent.html">DragEvent</a></span><i> drag</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when a <i>drag</i> enters the bounds of a <a href="qml-qtquick-droparea.html">DropArea</a>.</p>
</div></div><!-- @@@onEntered -->
<br/>
<!-- $$$onExited -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onExited-signal"></a><span class="name">onExited</span>()</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when a drag exits the bounds of a <a href="qml-qtquick-droparea.html">DropArea</a>.</p>
</div></div><!-- @@@onExited -->
<br/>
<!-- $$$onPositionChanged -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onPositionChanged-signal"></a><span class="name">onPositionChanged</span>(<span class="type"><a href="qml-qtquick-dragevent.html">DragEvent</a></span><i> drag</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the position of a drag has changed.</p>
</div></div><!-- @@@onPositionChanged -->
<br/>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its
subsidiaries. Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|