/usr/share/qt5/doc/qtquick/qml-qtquick-keys.html is in qtdeclarative5-doc-html 5.5.1-2ubuntu6.
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 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qquickitem.cpp -->
<title>Keys QML Type | Qt Quick 5.5</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.5</li>
<li><a href="qtquick-index.html">Qt Quick</a></li>
<li><a href="qtquick-qmlmodule.html">QML Types</a></li>
<li>Keys QML Type</li>
<li id="buildversion">Qt 5.5.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<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>
<li class="level2"><a href="#example-usage">Example Usage</a></li>
<li class="level2"><a href="#key-handling-priorities">Key Handling Priorities</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Keys QML Type</h1>
<span class="subtitle"></span>
<!-- $$$Keys-brief -->
<p>Provides key handling to Items <a href="#details">More...</a></p>
<!-- @@@Keys -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtQuick 2.5</td></tr></table></div><ul>
<li><a href="qml-qtquick-keys-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#enabled-prop">enabled</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#forwardTo-prop">forwardTo</a></b></b> : list<Object></li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#priority-prop">priority</a></b></b> : enumeration</li>
</ul>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#asteriskPressed-signal">asteriskPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#backPressed-signal">backPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#backtabPressed-signal">backtabPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#callPressed-signal">callPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#cancelPressed-signal">cancelPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#context1Pressed-signal">context1Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#context2Pressed-signal">context2Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#context3Pressed-signal">context3Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#context4Pressed-signal">context4Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#deletePressed-signal">deletePressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#digit0Pressed-signal">digit0Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#digit1Pressed-signal">digit1Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#digit2Pressed-signal">digit2Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#digit3Pressed-signal">digit3Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#digit4Pressed-signal">digit4Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#digit5Pressed-signal">digit5Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#digit6Pressed-signal">digit6Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#digit7Pressed-signal">digit7Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#digit8Pressed-signal">digit8Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#digit9Pressed-signal">digit9Pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#downPressed-signal">downPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#enterPressed-signal">enterPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#escapePressed-signal">escapePressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#flipPressed-signal">flipPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#hangupPressed-signal">hangupPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#leftPressed-signal">leftPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#menuPressed-signal">menuPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#noPressed-signal">noPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#pressed-signal">pressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#released-signal">released</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#returnPressed-signal">returnPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#rightPressed-signal">rightPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#selectPressed-signal">selectPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#spacePressed-signal">spacePressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#tabPressed-signal">tabPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#upPressed-signal">upPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#volumeDownPressed-signal">volumeDownPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#volumeUpPressed-signal">volumeUpPressed</a></b></b>(KeyEvent <i> event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#yesPressed-signal">yesPressed</a></b></b>(KeyEvent <i> event</i>)</li>
</ul>
<!-- $$$Keys-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
</p>
<p>All visual primitives support key handling via the Keys attached property. Keys can be handled via the onPressed and onReleased signal properties.</p>
<p>The signal properties have a <a href="qml-qtquick-keyevent.html">KeyEvent</a> parameter, named <i>event</i> which contains details of the event. If a key is handled <i>event.accepted</i> should be set to true to prevent the event from propagating up the item hierarchy.</p>
<a name="example-usage"></a>
<h2 id="example-usage">Example Usage</h2>
<p>The following example shows how the general onPressed handler can be used to test for a certain key; in this case, the left cursor key:</p>
<pre class="qml"><span class="type"><a href="qml-qtquick-item.html">Item</a></span> {
<span class="name">anchors</span>.fill: <span class="name">parent</span>
<span class="name">focus</span>: <span class="number">true</span>
<span class="name">Keys</span>.onPressed: {
<span class="keyword">if</span> (<span class="name">event</span>.<span class="name">key</span> <span class="operator">==</span> <span class="name">Qt</span>.<span class="name">Key_Left</span>) {
<span class="name">console</span>.<span class="name">log</span>(<span class="string">"move left"</span>);
<span class="name">event</span>.<span class="name">accepted</span> <span class="operator">=</span> <span class="number">true</span>;
}
}
}</pre>
<p>Some keys may alternatively be handled via specific signal properties, for example <i>onSelectPressed</i>. These handlers automatically set <i>event.accepted</i> to true.</p>
<pre class="qml"><span class="type"><a href="qml-qtquick-item.html">Item</a></span> {
<span class="name">anchors</span>.fill: <span class="name">parent</span>
<span class="name">focus</span>: <span class="number">true</span>
<span class="name">Keys</span>.onLeftPressed: <span class="name">console</span>.<span class="name">log</span>(<span class="string">"move left"</span>)
}</pre>
<p>See Qt.Key for the list of keyboard codes.</p>
<a name="key-handling-priorities"></a>
<h2 id="key-handling-priorities">Key Handling Priorities</h2>
<p>The Keys attached property can be configured to handle key events before or after the item it is attached to. This makes it possible to intercept events in order to override an item's default behavior, or act as a fallback for keys not handled by the item.</p>
<p>If <a href="qml-qtquick-keys.html#priority-prop">priority</a> is Keys.BeforeItem (default) the order of key event processing is:</p>
<ol class="1">
<li>Items specified in <code>forwardTo</code></li>
<li>specific key handlers, e.g. onReturnPressed</li>
<li>onPressed, onReleased handlers</li>
<li>Item specific key handling, e.g. <a href="qml-qtquick-textinput.html">TextInput</a> key handling</li>
<li>parent item</li>
</ol>
<p>If priority is Keys.AfterItem the order of key event processing is:</p>
<ol class="1">
<li>Item specific key handling, e.g. <a href="qml-qtquick-textinput.html">TextInput</a> key handling</li>
<li>Items specified in <code>forwardTo</code></li>
<li>specific key handlers, e.g. onReturnPressed</li>
<li>onPressed, onReleased handlers</li>
<li>parent item</li>
</ol>
<p>If the event is accepted during any of the above steps, key propagation stops.</p>
<p><b>See also </b><a href="qml-qtquick-keyevent.html">KeyEvent</a> and <a href="qml-qtquick-keynavigation.html">KeyNavigation attached property</a>.</p>
<!-- @@@Keys -->
<h2>Property Documentation</h2>
<!-- $$$enabled -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="enabled-prop"><td class="tblQmlPropNode"><p><a name="enabled-prop"></a><span class="name">enabled</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>This flags enables key handling if true (default); otherwise no key handlers will be called.</p>
</div></div><!-- @@@enabled -->
<br/>
<!-- $$$forwardTo -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="forwardTo-prop"><td class="tblQmlPropNode"><p><a name="forwardTo-prop"></a><span class="name">forwardTo</span> : <span class="type">list</span><<span class="type">Object</span>></p></td></tr></table></div></div><div class="qmldoc"><p>This property provides a way to forward key presses, key releases, and keyboard input coming from input methods to other items. This can be useful when you want one item to handle some keys (e.g. the up and down arrow keys), and another item to handle other keys (e.g. the left and right arrow keys). Once an item that has been forwarded keys accepts the event it is no longer forwarded to items later in the list.</p>
<p>This example forwards key events to two lists:</p>
<pre class="qml"><span class="type"><a href="qml-qtquick-item.html">Item</a></span> {
<span class="type"><a href="qml-qtquick-listview.html">ListView</a></span> {
<span class="name">id</span>: <span class="name">list1</span>
<span class="comment">// ...</span>
}
<span class="type"><a href="qml-qtquick-listview.html">ListView</a></span> {
<span class="name">id</span>: <span class="name">list2</span>
<span class="comment">// ...</span>
}
<span class="name">Keys</span>.forwardTo: [<span class="name">list1</span>, <span class="name">list2</span>]
<span class="name">focus</span>: <span class="number">true</span>
}</pre>
<p>To see the order in which events are received when using forwardTo, see <a href="qml-qtquick-keys.html#key-handling-priorities">Key Handling Priorities</a>.</p>
</div></div><!-- @@@forwardTo -->
<br/>
<!-- $$$priority -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="priority-prop"><td class="tblQmlPropNode"><p><a name="priority-prop"></a><span class="name">priority</span> : <span class="type">enumeration</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property determines whether the keys are processed before or after the attached item's own key handling.</p>
<ul>
<li>Keys.BeforeItem (default) - process the key events before normal item key processing. If the event is accepted it will not be passed on to the item.</li>
<li>Keys.AfterItem - process the key events after normal item key handling. If the item accepts the key event it will not be handled by the Keys attached property handler.</li>
</ul>
<p><b>See also </b><a href="qml-qtquick-keys.html#key-handling-priorities">Key Handling Priorities</a>.</p>
</div></div><!-- @@@priority -->
<br/>
<h2>Signal Documentation</h2>
<!-- $$$asteriskPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="asteriskPressed-signal"><td class="tblQmlFuncNode"><p><a name="asteriskPressed-signal"></a><span class="name">asteriskPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Asterisk '*' has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onAsteriskPressed</code>.</p>
</div></div><!-- @@@asteriskPressed -->
<br/>
<!-- $$$backPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="backPressed-signal"><td class="tblQmlFuncNode"><p><a name="backPressed-signal"></a><span class="name">backPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Back key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onBackPressed</code>.</p>
</div></div><!-- @@@backPressed -->
<br/>
<!-- $$$backtabPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="backtabPressed-signal"><td class="tblQmlFuncNode"><p><a name="backtabPressed-signal"></a><span class="name">backtabPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Shift+Tab key combination (Backtab) has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onBacktabPressed</code>.</p>
</div></div><!-- @@@backtabPressed -->
<br/>
<!-- $$$callPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="callPressed-signal"><td class="tblQmlFuncNode"><p><a name="callPressed-signal"></a><span class="name">callPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Call key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onCallPressed</code>.</p>
</div></div><!-- @@@callPressed -->
<br/>
<!-- $$$cancelPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="cancelPressed-signal"><td class="tblQmlFuncNode"><p><a name="cancelPressed-signal"></a><span class="name">cancelPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Cancel key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onCancelPressed</code>.</p>
</div></div><!-- @@@cancelPressed -->
<br/>
<!-- $$$context1Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="context1Pressed-signal"><td class="tblQmlFuncNode"><p><a name="context1Pressed-signal"></a><span class="name">context1Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Context1 key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onContext1Pressed</code>.</p>
</div></div><!-- @@@context1Pressed -->
<br/>
<!-- $$$context2Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="context2Pressed-signal"><td class="tblQmlFuncNode"><p><a name="context2Pressed-signal"></a><span class="name">context2Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Context2 key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onContext2Pressed</code>.</p>
</div></div><!-- @@@context2Pressed -->
<br/>
<!-- $$$context3Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="context3Pressed-signal"><td class="tblQmlFuncNode"><p><a name="context3Pressed-signal"></a><span class="name">context3Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Context3 key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onContext3Pressed</code>.</p>
</div></div><!-- @@@context3Pressed -->
<br/>
<!-- $$$context4Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="context4Pressed-signal"><td class="tblQmlFuncNode"><p><a name="context4Pressed-signal"></a><span class="name">context4Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Context4 key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onContext4Pressed</code>.</p>
</div></div><!-- @@@context4Pressed -->
<br/>
<!-- $$$deletePressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="deletePressed-signal"><td class="tblQmlFuncNode"><p><a name="deletePressed-signal"></a><span class="name">deletePressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Delete key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onDeletePressed</code>.</p>
</div></div><!-- @@@deletePressed -->
<br/>
<!-- $$$digit0Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="digit0Pressed-signal"><td class="tblQmlFuncNode"><p><a name="digit0Pressed-signal"></a><span class="name">digit0Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the digit '0' has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onDigit0Pressed</code>.</p>
</div></div><!-- @@@digit0Pressed -->
<br/>
<!-- $$$digit1Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="digit1Pressed-signal"><td class="tblQmlFuncNode"><p><a name="digit1Pressed-signal"></a><span class="name">digit1Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the digit '1' has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onDigit1Pressed</code>.</p>
</div></div><!-- @@@digit1Pressed -->
<br/>
<!-- $$$digit2Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="digit2Pressed-signal"><td class="tblQmlFuncNode"><p><a name="digit2Pressed-signal"></a><span class="name">digit2Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the digit '2' has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onDigit2Pressed</code>.</p>
</div></div><!-- @@@digit2Pressed -->
<br/>
<!-- $$$digit3Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="digit3Pressed-signal"><td class="tblQmlFuncNode"><p><a name="digit3Pressed-signal"></a><span class="name">digit3Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the digit '3' has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onDigit3Pressed</code>.</p>
</div></div><!-- @@@digit3Pressed -->
<br/>
<!-- $$$digit4Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="digit4Pressed-signal"><td class="tblQmlFuncNode"><p><a name="digit4Pressed-signal"></a><span class="name">digit4Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the digit '4' has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onDigit4Pressed</code>.</p>
</div></div><!-- @@@digit4Pressed -->
<br/>
<!-- $$$digit5Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="digit5Pressed-signal"><td class="tblQmlFuncNode"><p><a name="digit5Pressed-signal"></a><span class="name">digit5Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the digit '5' has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onDigit5Pressed</code>.</p>
</div></div><!-- @@@digit5Pressed -->
<br/>
<!-- $$$digit6Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="digit6Pressed-signal"><td class="tblQmlFuncNode"><p><a name="digit6Pressed-signal"></a><span class="name">digit6Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the digit '6' has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onDigit6Pressed</code>.</p>
</div></div><!-- @@@digit6Pressed -->
<br/>
<!-- $$$digit7Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="digit7Pressed-signal"><td class="tblQmlFuncNode"><p><a name="digit7Pressed-signal"></a><span class="name">digit7Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the digit '7' has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onDigit7Pressed</code>.</p>
</div></div><!-- @@@digit7Pressed -->
<br/>
<!-- $$$digit8Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="digit8Pressed-signal"><td class="tblQmlFuncNode"><p><a name="digit8Pressed-signal"></a><span class="name">digit8Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the digit '8' has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onDigit8Pressed</code>.</p>
</div></div><!-- @@@digit8Pressed -->
<br/>
<!-- $$$digit9Pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="digit9Pressed-signal"><td class="tblQmlFuncNode"><p><a name="digit9Pressed-signal"></a><span class="name">digit9Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the digit '9' has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onDigit9Pressed</code>.</p>
</div></div><!-- @@@digit9Pressed -->
<br/>
<!-- $$$downPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="downPressed-signal"><td class="tblQmlFuncNode"><p><a name="downPressed-signal"></a><span class="name">downPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Down arrow has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onDownPressed</code>.</p>
</div></div><!-- @@@downPressed -->
<br/>
<!-- $$$enterPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="enterPressed-signal"><td class="tblQmlFuncNode"><p><a name="enterPressed-signal"></a><span class="name">enterPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Enter key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onEnterPressed</code>.</p>
</div></div><!-- @@@enterPressed -->
<br/>
<!-- $$$escapePressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="escapePressed-signal"><td class="tblQmlFuncNode"><p><a name="escapePressed-signal"></a><span class="name">escapePressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Escape key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onEscapePressed</code>.</p>
</div></div><!-- @@@escapePressed -->
<br/>
<!-- $$$flipPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="flipPressed-signal"><td class="tblQmlFuncNode"><p><a name="flipPressed-signal"></a><span class="name">flipPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Flip key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onFlipPressed</code>.</p>
</div></div><!-- @@@flipPressed -->
<br/>
<!-- $$$hangupPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="hangupPressed-signal"><td class="tblQmlFuncNode"><p><a name="hangupPressed-signal"></a><span class="name">hangupPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Hangup key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onHangupPressed</code>.</p>
</div></div><!-- @@@hangupPressed -->
<br/>
<!-- $$$leftPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="leftPressed-signal"><td class="tblQmlFuncNode"><p><a name="leftPressed-signal"></a><span class="name">leftPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Left arrow has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onLeftPressed</code>.</p>
</div></div><!-- @@@leftPressed -->
<br/>
<!-- $$$menuPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="menuPressed-signal"><td class="tblQmlFuncNode"><p><a name="menuPressed-signal"></a><span class="name">menuPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Menu key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onMenuPressed</code>.</p>
</div></div><!-- @@@menuPressed -->
<br/>
<!-- $$$noPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="noPressed-signal"><td class="tblQmlFuncNode"><p><a name="noPressed-signal"></a><span class="name">noPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the No key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onNoPressed</code>.</p>
</div></div><!-- @@@noPressed -->
<br/>
<!-- $$$pressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="pressed-signal"><td class="tblQmlFuncNode"><p><a name="pressed-signal"></a><span class="name">pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when a key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onPressed</code>.</p>
</div></div><!-- @@@pressed -->
<br/>
<!-- $$$released -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="released-signal"><td class="tblQmlFuncNode"><p><a name="released-signal"></a><span class="name">released</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when a key has been released. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onReleased</code>.</p>
</div></div><!-- @@@released -->
<br/>
<!-- $$$returnPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="returnPressed-signal"><td class="tblQmlFuncNode"><p><a name="returnPressed-signal"></a><span class="name">returnPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Return key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onReturnPressed</code>.</p>
</div></div><!-- @@@returnPressed -->
<br/>
<!-- $$$rightPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="rightPressed-signal"><td class="tblQmlFuncNode"><p><a name="rightPressed-signal"></a><span class="name">rightPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Right arrow has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onRightPressed</code>.</p>
</div></div><!-- @@@rightPressed -->
<br/>
<!-- $$$selectPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="selectPressed-signal"><td class="tblQmlFuncNode"><p><a name="selectPressed-signal"></a><span class="name">selectPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Select key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onSelectPressed</code>.</p>
</div></div><!-- @@@selectPressed -->
<br/>
<!-- $$$spacePressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="spacePressed-signal"><td class="tblQmlFuncNode"><p><a name="spacePressed-signal"></a><span class="name">spacePressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Space key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onSpacePressed</code>.</p>
</div></div><!-- @@@spacePressed -->
<br/>
<!-- $$$tabPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="tabPressed-signal"><td class="tblQmlFuncNode"><p><a name="tabPressed-signal"></a><span class="name">tabPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Tab key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onTabPressed</code>.</p>
</div></div><!-- @@@tabPressed -->
<br/>
<!-- $$$upPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="upPressed-signal"><td class="tblQmlFuncNode"><p><a name="upPressed-signal"></a><span class="name">upPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Up arrow has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onUpPressed</code>.</p>
</div></div><!-- @@@upPressed -->
<br/>
<!-- $$$volumeDownPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="volumeDownPressed-signal"><td class="tblQmlFuncNode"><p><a name="volumeDownPressed-signal"></a><span class="name">volumeDownPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the VolumeDown key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onVolumeDownPressed</code>.</p>
</div></div><!-- @@@volumeDownPressed -->
<br/>
<!-- $$$volumeUpPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="volumeUpPressed-signal"><td class="tblQmlFuncNode"><p><a name="volumeUpPressed-signal"></a><span class="name">volumeUpPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the VolumeUp key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onVolumeUpPressed</code>.</p>
</div></div><!-- @@@volumeUpPressed -->
<br/>
<!-- $$$yesPressed -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="yesPressed-signal"><td class="tblQmlFuncNode"><p><a name="yesPressed-signal"></a><span class="name">yesPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div></div><div class="qmldoc"><p>This signal is emitted when the Yes key has been pressed. The <i>event</i> parameter provides information about the event.</p>
<p>The corresponding handler is <code>onYesPressed</code>.</p>
</div></div><!-- @@@yesPressed -->
<br/>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2015 The Qt Company Ltd.
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> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|