/usr/share/qt5/doc/qtquick/qtquick-input-topic.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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- topic.qdoc -->
<title>Important Concepts In Qt Quick - User Input | 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>Important Concepts In Qt Quick - User Input</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="#touch">Touch</a></li>
<li class="level1"><a href="#mouse">Mouse</a></li>
<li class="level1"><a href="#keyboard-input-and-keyboard-focus">Keyboard Input and Keyboard Focus</a></li>
<li class="level1"><a href="#device-motion-gestures">Device Motion Gestures</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Important Concepts In Qt Quick - User Input</h1>
<span class="subtitle"></span>
<!-- $$$qtquick-input-topic.html-description -->
<div class="descr"> <a name="details"></a>
<p>Being able to respond to user-input is a fundamental part of user-interface design. Depending on the use-case that an application solves, and the form-factor of the device that the application runs on, the best way to receive user-input may be different.</p>
<a name="touch"></a>
<h2 id="touch">Touch</h2>
<p>Allowing users to physically touch a screen to interact with an application is a popular user-interface paradigm on portable devices like smartphones and tablets.</p>
<p>Qt Quick was designed specifically with touch-driven user-interfaces in mind, and thus touch events are supported in various visual object types, from <a href="qtquick-touchinteraction-example.html#flickable">Flickable</a> lists to the generic <a href="qml-qtquick-multipointtoucharea.html">MultiPointTouchArea</a> type, as well as in the <a href="qml-qtquick-mousearea.html">MouseArea</a> type (which will be documented thoroughly in a proceeding section).</p>
<a name="mouse"></a>
<h2 id="mouse">Mouse</h2>
<p>Mouse input is another important user input for user interfaces. Detecting and reacting to clicks and presses according to the mouse cursor position is a fundamental concept in user-interface design.</p>
<p>Qt Quick provides the <a href="qml-qtquick-mousearea.html">MouseArea</a> visual object type which automatically receives mouse events (including clicks and wheel events) which allows developers to create custom user-interface objects to handle mouse input. Please see the documentation about <a href="qtquick-input-mouseevents.html">mouse events in Qt Quick</a> for more information on the topic.</p>
<a name="keyboard-input-and-keyboard-focus"></a>
<h2 id="keyboard-input-and-keyboard-focus">Keyboard Input and Keyboard Focus</h2>
<p>Supporting input from a keyboard is a vital component of the user interface of many applications.</p>
<p>Any visual item can receive keyboard input through the <a href="qml-qtquick-keys.html">Keys</a> attached type. Additionally, the issue of <i>keyboard focus</i> arises when multiple items are required to receive key events, as these events must be passed to the correct item. See the documentation about <a href="qtquick-input-focus.html">Keyboard focus in Qt Quick</a> for more information on this topic.</p>
<p>Qt Quick also provides visual text items which automatically receive keyboard events and key-presses, and displays the appropriate text. See the documentation about <a href="qtquick-input-textinput.html">text input</a> for in-depth information on the topic.</p>
<a name="device-motion-gestures"></a>
<h2 id="device-motion-gestures">Device Motion Gestures</h2>
<p>Detecting device gestures with an accelerometer, or through camera-based gesture recognition, can allow users to interact with an application without requiring their full and undevided attention. It can also provide a more interactive and engaging experience.</p>
<p>Qt Quick itself does not offer first-class support for physical device motion gestures; however, the Qt Sensors module provides QML types with support for such gestures. See the Qt Sensors module documentation for more information on the topic.</p>
</div>
<!-- @@@qtquick-input-topic.html -->
</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>
|