This file is indexed.

/usr/share/qt5/doc/qtquick/qml-qtquick-keys.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
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
<?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" />
<!-- qquickitem.cpp -->
  <title>Keys | 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>Keys</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>
<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>
<h1 class="title">Keys</h1>
<span class="subtitle"></span>
<!-- $$$Keys-brief -->
<p>Provides key handling to Items <a href="#details">More...</a></p>
<!-- @@@Keys -->
<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-keys-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-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&lt;Object&gt;</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>Signals</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onAsteriskPressed-signal">onAsteriskPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onBackPressed-signal">onBackPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onBacktabPressed-signal">onBacktabPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onCallPressed-signal">onCallPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onCancelPressed-signal">onCancelPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onContext1Pressed-signal">onContext1Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onContext2Pressed-signal">onContext2Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onContext3Pressed-signal">onContext3Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onContext4Pressed-signal">onContext4Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onDeletePressed-signal">onDeletePressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onDigit0Pressed-signal">onDigit0Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onDigit1Pressed-signal">onDigit1Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onDigit2Pressed-signal">onDigit2Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onDigit3Pressed-signal">onDigit3Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onDigit4Pressed-signal">onDigit4Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onDigit5Pressed-signal">onDigit5Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onDigit6Pressed-signal">onDigit6Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onDigit7Pressed-signal">onDigit7Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onDigit8Pressed-signal">onDigit8Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onDigit9Pressed-signal">onDigit9Pressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onDownPressed-signal">onDownPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onEnterPressed-signal">onEnterPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onEscapePressed-signal">onEscapePressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onFlipPressed-signal">onFlipPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onHangupPressed-signal">onHangupPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onLeftPressed-signal">onLeftPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onMenuPressed-signal">onMenuPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onNoPressed-signal">onNoPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onPressed-signal">onPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onReleased-signal">onReleased</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onReturnPressed-signal">onReturnPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onRightPressed-signal">onRightPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onSelectPressed-signal">onSelectPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onSpacePressed-signal">onSpacePressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onTabPressed-signal">onTabPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onUpPressed-signal">onUpPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onVolumeDownPressed-signal">onVolumeDownPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onVolumeUpPressed-signal">onVolumeUpPressed</a></b></b>(KeyEvent <i>event</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-keys.html#onYesPressed-signal">onYesPressed</a></b></b>(KeyEvent <i>event</i>)</li>
</ul>
<!-- $$$Keys-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p>All visual primitives support key handling via the Keys attached property. Keys can be handled via the <a href="qml-qtquick-keys.html#onPressed-signal">onPressed</a> and <a href="qml-qtquick-keys.html#onReleased-signal">onReleased</a> 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>Example Usage</h2>
<p>The following example shows how the general <a href="qml-qtquick-keys.html#onPressed-signal">onPressed</a> 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">&quot;move left&quot;</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">&quot;move left&quot;</span>)
}</pre>
<p>See Qt.Key for the list of keyboard codes.</p>
<a name="key-handling-priorities"></a>
<h2>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 <tt>forwardTo</tt></li>
<li>specific key handlers, e.g&#x2e; <a href="qml-qtquick-keys.html#onReturnPressed-signal">onReturnPressed</a></li>
<li><a href="qml-qtquick-keys.html#onPressed-signal">onPressed</a>, <a href="qml-qtquick-keys.html#onReleased-signal">onReleased</a> handlers</li>
<li>Item specific key handling, e.g&#x2e; <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&#x2e; <a href="qml-qtquick-textinput.html">TextInput</a> key handling</li>
<li>Items specified in <tt>forwardTo</tt></li>
<li>specific key handlers, e.g&#x2e; <a href="qml-qtquick-keys.html#onReturnPressed-signal">onReturnPressed</a></li>
<li><a href="qml-qtquick-keys.html#onPressed-signal">onPressed</a>, <a href="qml-qtquick-keys.html#onReleased-signal">onReleased</a> 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"><table class="qmlname"><tr valign="top" class="odd"><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 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"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="forwardTo-prop"></a><span class="name">forwardTo</span> : <span class="type">list</span>&lt;<span class="type">Object</span>&gt;</p></td></tr></table></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&#x2e; the up and down arrow keys), and another item to handle other keys (e.g&#x2e; 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>
</div></div><!-- @@@forwardTo -->
<br/>
<!-- $$$priority -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><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 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>
</div></div><!-- @@@priority -->
<br/>
<h2>Signal Documentation</h2>
<!-- $$$onAsteriskPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onAsteriskPressed-signal"></a><span class="name">onAsteriskPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Asterisk '*' has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onAsteriskPressed -->
<br/>
<!-- $$$onBackPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onBackPressed-signal"></a><span class="name">onBackPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Back key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onBackPressed -->
<br/>
<!-- $$$onBacktabPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onBacktabPressed-signal"></a><span class="name">onBacktabPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Shift+Tab key combination (Backtab) has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onBacktabPressed -->
<br/>
<!-- $$$onCallPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onCallPressed-signal"></a><span class="name">onCallPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Call key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onCallPressed -->
<br/>
<!-- $$$onCancelPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onCancelPressed-signal"></a><span class="name">onCancelPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Cancel key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onCancelPressed -->
<br/>
<!-- $$$onContext1Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onContext1Pressed-signal"></a><span class="name">onContext1Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Context1 key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onContext1Pressed -->
<br/>
<!-- $$$onContext2Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onContext2Pressed-signal"></a><span class="name">onContext2Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Context2 key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onContext2Pressed -->
<br/>
<!-- $$$onContext3Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onContext3Pressed-signal"></a><span class="name">onContext3Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Context3 key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onContext3Pressed -->
<br/>
<!-- $$$onContext4Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onContext4Pressed-signal"></a><span class="name">onContext4Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Context4 key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onContext4Pressed -->
<br/>
<!-- $$$onDeletePressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onDeletePressed-signal"></a><span class="name">onDeletePressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Delete key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onDeletePressed -->
<br/>
<!-- $$$onDigit0Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onDigit0Pressed-signal"></a><span class="name">onDigit0Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the digit '0' has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onDigit0Pressed -->
<br/>
<!-- $$$onDigit1Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onDigit1Pressed-signal"></a><span class="name">onDigit1Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the digit '1' has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onDigit1Pressed -->
<br/>
<!-- $$$onDigit2Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onDigit2Pressed-signal"></a><span class="name">onDigit2Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the digit '2' has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onDigit2Pressed -->
<br/>
<!-- $$$onDigit3Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onDigit3Pressed-signal"></a><span class="name">onDigit3Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the digit '3' has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onDigit3Pressed -->
<br/>
<!-- $$$onDigit4Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onDigit4Pressed-signal"></a><span class="name">onDigit4Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the digit '4' has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onDigit4Pressed -->
<br/>
<!-- $$$onDigit5Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onDigit5Pressed-signal"></a><span class="name">onDigit5Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the digit '5' has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onDigit5Pressed -->
<br/>
<!-- $$$onDigit6Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onDigit6Pressed-signal"></a><span class="name">onDigit6Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the digit '6' has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onDigit6Pressed -->
<br/>
<!-- $$$onDigit7Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onDigit7Pressed-signal"></a><span class="name">onDigit7Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the digit '7' has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onDigit7Pressed -->
<br/>
<!-- $$$onDigit8Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onDigit8Pressed-signal"></a><span class="name">onDigit8Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the digit '8' has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onDigit8Pressed -->
<br/>
<!-- $$$onDigit9Pressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onDigit9Pressed-signal"></a><span class="name">onDigit9Pressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the digit '9' has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onDigit9Pressed -->
<br/>
<!-- $$$onDownPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onDownPressed-signal"></a><span class="name">onDownPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Down arrow has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onDownPressed -->
<br/>
<!-- $$$onEnterPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onEnterPressed-signal"></a><span class="name">onEnterPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Enter key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onEnterPressed -->
<br/>
<!-- $$$onEscapePressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onEscapePressed-signal"></a><span class="name">onEscapePressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Escape key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onEscapePressed -->
<br/>
<!-- $$$onFlipPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onFlipPressed-signal"></a><span class="name">onFlipPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Flip key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onFlipPressed -->
<br/>
<!-- $$$onHangupPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onHangupPressed-signal"></a><span class="name">onHangupPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Hangup key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onHangupPressed -->
<br/>
<!-- $$$onLeftPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onLeftPressed-signal"></a><span class="name">onLeftPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Left arrow has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onLeftPressed -->
<br/>
<!-- $$$onMenuPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onMenuPressed-signal"></a><span class="name">onMenuPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Menu key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onMenuPressed -->
<br/>
<!-- $$$onNoPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onNoPressed-signal"></a><span class="name">onNoPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the No key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onNoPressed -->
<br/>
<!-- $$$onPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onPressed-signal"></a><span class="name">onPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when a key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onPressed -->
<br/>
<!-- $$$onReleased -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onReleased-signal"></a><span class="name">onReleased</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when a key has been released. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onReleased -->
<br/>
<!-- $$$onReturnPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onReturnPressed-signal"></a><span class="name">onReturnPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Return key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onReturnPressed -->
<br/>
<!-- $$$onRightPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onRightPressed-signal"></a><span class="name">onRightPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Right arrow has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onRightPressed -->
<br/>
<!-- $$$onSelectPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onSelectPressed-signal"></a><span class="name">onSelectPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Select key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onSelectPressed -->
<br/>
<!-- $$$onSpacePressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onSpacePressed-signal"></a><span class="name">onSpacePressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Space key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onSpacePressed -->
<br/>
<!-- $$$onTabPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onTabPressed-signal"></a><span class="name">onTabPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Tab key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onTabPressed -->
<br/>
<!-- $$$onUpPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onUpPressed-signal"></a><span class="name">onUpPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Up arrow has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onUpPressed -->
<br/>
<!-- $$$onVolumeDownPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onVolumeDownPressed-signal"></a><span class="name">onVolumeDownPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the VolumeDown key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onVolumeDownPressed -->
<br/>
<!-- $$$onVolumeUpPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onVolumeUpPressed-signal"></a><span class="name">onVolumeUpPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the VolumeUp key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onVolumeUpPressed -->
<br/>
<!-- $$$onYesPressed -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="onYesPressed-signal"></a><span class="name">onYesPressed</span>(<span class="type"><a href="qml-qtquick-keyevent.html">KeyEvent</a></span><i> event</i>)</p></td></tr></table></div><div class="qmldoc"><p>This handler is called when the Yes key has been pressed. The <i>event</i> parameter provides information about the event.</p>
</div></div><!-- @@@onYesPressed -->
<br/>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</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>