/usr/share/qt5/doc/qtfeedback/qml-hapticseffect.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 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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qdeclarativehapticseffect.cpp -->
<title>HapticsEffect QML Type | 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 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="#properties">Properties</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">HapticsEffect QML Type</h1>
<span class="subtitle"></span>
<!-- $$$HapticsEffect-brief -->
<p>The <a href="qml-hapticseffect.html">HapticsEffect</a> element represents a custom haptic feedback effect. <a href="#details">More...</a></p>
<!-- @@@HapticsEffect -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import .</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-feedbackeffect.html">FeedbackEffect</a></p>
</td></tr></table></div><ul>
<li><a href="qml-hapticseffect-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-hapticseffect.html#actuator-prop">actuator</a></b></b> : Actuator</li>
<li class="fn"><b><b><a href="qml-hapticseffect.html#attackIntensity-prop">attackIntensity</a></b></b> : double</li>
<li class="fn"><b><b><a href="qml-hapticseffect.html#attackTime-prop">attackTime</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-hapticseffect.html#availableActuators-prop">availableActuators</a></b></b> : list<Actuator></li>
<li class="fn"><b><b><a href="qml-hapticseffect.html#fadeIntensity-prop">fadeIntensity</a></b></b> : double</li>
<li class="fn"><b><b><a href="qml-hapticseffect.html#fadeTime-prop">fadeTime</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-hapticseffect.html#intensity-prop">intensity</a></b></b> : double</li>
<li class="fn"><b><b><a href="qml-hapticseffect.html#period-prop">period</a></b></b> : int</li>
</ul>
<!-- $$$HapticsEffect-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
</p>
<p>This class closely corresponds to the C++ <a href="qfeedbackhapticseffect.html">QFeedbackHapticsEffect</a> class.</p>
<pre class="qml">import QtFeedback 5.0
HapticsEffect {
id: rumbleEffect
attackIntensity: 0.0
attackTime: 250
intensity: 1.0
duration: 100
fadeTime: 250
fadeIntensity: 0.0
}
MouseArea {
onClicked: {
rumbleEffect.start(); // plays a rumble effect
}</pre>
<p><b>See also </b><a href="qml-actuator.html">Actuator</a> and <a href="qfeedbackhapticseffect.html">QFeedbackHapticsEffect</a>.</p>
<!-- @@@HapticsEffect -->
<h2>Property Documentation</h2>
<!-- $$$actuator -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="actuator-prop"><td class="tblQmlPropNode"><p><a name="actuator-prop"></a><span class="name">actuator</span> : <span class="type"><a href="qml-actuator.html">Actuator</a></span></p></td></tr></table></div></div><div class="qmldoc"><p>The actuator that is used for playing this effect.</p>
<p><b>See also </b><a href="qml-actuator.html">Actuator</a>.</p>
</div></div><!-- @@@actuator -->
<br/>
<!-- $$$attackIntensity -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="attackIntensity-prop"><td class="tblQmlPropNode"><p><a name="attackIntensity-prop"></a><span class="name">attackIntensity</span> : <span class="type">double</span></p></td></tr></table></div></div><div class="qmldoc"><p>The intensity of the attack (fade-in) part of the haptics effect, from 0.0 to 1.0.</p>
</div></div><!-- @@@attackIntensity -->
<br/>
<!-- $$$attackTime -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="attackTime-prop"><td class="tblQmlPropNode"><p><a name="attackTime-prop"></a><span class="name">attackTime</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>The duration of the attack (fade-in) part of the haptics effect.</p>
</div></div><!-- @@@attackTime -->
<br/>
<!-- $$$availableActuators -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="availableActuators-prop"><td class="tblQmlPropNode"><p><a name="availableActuators-prop"></a><span class="name">availableActuators</span> : <span class="type">list</span><<span class="type"><a href="qml-actuator.html">Actuator</a></span>></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds a list of available actuators. This property is read only.</p>
<p><b>See also </b><a href="qml-actuator.html">Actuator</a>.</p>
</div></div><!-- @@@availableActuators -->
<br/>
<!-- $$$fadeIntensity -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="fadeIntensity-prop"><td class="tblQmlPropNode"><p><a name="fadeIntensity-prop"></a><span class="name">fadeIntensity</span> : <span class="type">double</span></p></td></tr></table></div></div><div class="qmldoc"><p>The intensity of the fade-out part of the haptics effect, from 0.0 to 1.0.</p>
</div></div><!-- @@@fadeIntensity -->
<br/>
<!-- $$$fadeTime -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="fadeTime-prop"><td class="tblQmlPropNode"><p><a name="fadeTime-prop"></a><span class="name">fadeTime</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>The duration of the fade-out part of the haptics effect.</p>
</div></div><!-- @@@fadeTime -->
<br/>
<!-- $$$intensity -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="intensity-prop"><td class="tblQmlPropNode"><p><a name="intensity-prop"></a><span class="name">intensity</span> : <span class="type">double</span></p></td></tr></table></div></div><div class="qmldoc"><p>The intensity of the main part of the haptics effect, from 0.0 to 1.0.</p>
</div></div><!-- @@@intensity -->
<br/>
<!-- $$$period -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="period-prop"><td class="tblQmlPropNode"><p><a name="period-prop"></a><span class="name">period</span> : <span class="type">int</span></p></td></tr></table></div></div><div class="qmldoc"><p>The period of the haptics effect. If the period is zero, the effect will not repeat. If it is non-zero, the effect will repeat every period milliseconds.</p>
</div></div><!-- @@@period -->
<br/>
<div class="footer">Copyright (c) 2011 Nokia Corporation and/or its subsidiaries. All rights reserved.</div>
</body>
</html>
|