/usr/share/qt5/doc/qtfeedback/qtfeedback-hapticsplayer-example.html is in qtfeedback5-doc-html 5.0~git20130529-0ubuntu13.
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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- hapticsplayer.qdoc -->
<title>Haptics Player | Qt 5.0 </title>
<link rel="stylesheet" type="text/css" href="style/style.css" />
</head>
<body>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.0</li>
<li>Haptics Player</li>
<li id="buildversion">Qt 5.0.0 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="#overview">Overview</a></li>
<li class="level2"><a href="#use-case">Use Case</a></li>
<li class="level2"><a href="#interface">Interface</a></li>
<li class="level2"><a href="#known-issues">Known Issues</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Haptics Player</h1>
<span class="subtitle"></span>
<!-- $$$hapticsplayer-description -->
<div class="descr"> <a name="details"></a>
<a name="overview"></a>
<h2 id="overview">Overview</h2>
<p>This example shows how to use various haptic effects in an application via the Qt Feedback API.</p>
<p>It provides an example of how to use the QtMobility libraries to:</p>
<ul>
<li>play "system theme" haptic effects corresponding to certain predefined events</li>
<li>play a dynamic custom effect, single or repeating</li>
<li>play a custom effect which is stored in a file</li>
</ul>
<a name="use-case"></a>
<h3 >Use Case</h3>
<p>This example is more feature complete than the <a href="qtfeedback-hapticsquare-example.html">Haptic Square</a> example, but is intended more as a way to test the haptics provider plugins which are available on a system, than as an example for application developers.</p>
<p>It is useful for people who wish to learn how to use the API to create and play custom effects dynamically, or to allow users of an application to select which haptic effect to play when a particular event occurs. It is also useful to test how effects are implemented on specific devices.</p>
<p>It is a more complex example than the <a href="qtfeedback-hapticsquare-example.html">Haptic Square</a> example, so it is suggested that developers look at that example first.</p>
<a name="interface"></a>
<h3 >Interface</h3>
<p>The application is designed to work on desktop and mobile platforms with minimal differences in code between the platforms. The interface consists of three tabs which allow the user to select and play different custom, system theme, and file effects, respectively. The custom effect tab also allows the user to modify the custom effect dynamically, and see the effect of attack and fade, intensity and duration, and periodicity, on the user experience.</p>
<a name="known-issues"></a>
<h3 >Known Issues</h3>
<p>The example will not work correctly on platforms which do not have a QFeedbackHapticInterface (haptic effect provider) plugin loaded. On such platforms, the example will do nothing.</p>
</div>
<!-- @@@hapticsplayer -->
<div class="footer">Copyright (c) 2011 Nokia Corporation and/or its subsidiaries. All rights reserved.</div>
</body>
</html>
|