/usr/share/qt5/doc/qtquickextras/qml-qtquick-extras-circulargauge.html is in qtquickcontrols5-doc-html 5.5.1-1ubuntu1.
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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- CircularGauge.qml -->
<title>CircularGauge QML Type | Qt Quick Extras 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="qtquickextras-index.html">Qt Quick Extras</a></li>
<li><a href="qtquick-extras-qmlmodule.html">QML Types</a></li>
<li>CircularGauge 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="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">CircularGauge QML Type</h1>
<span class="subtitle"></span>
<!-- $$$CircularGauge-brief -->
<p>A gauge that displays a value within a range along an arc. <a href="#details">More...</a></p>
<!-- @@@CircularGauge -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtQuick.Extras 1.4</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.5</td></tr></table></div><ul>
<li><a href="qml-qtquick-extras-circulargauge-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-extras-circulargauge.html#maximumValue-prop">maximumValue</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-extras-circulargauge.html#minimumValue-prop">minimumValue</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-extras-circulargauge.html#stepSize-prop">stepSize</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtquick-extras-circulargauge.html#tickmarksVisible-prop">tickmarksVisible</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-extras-circulargauge.html#value-prop">value</a></b></b> : alias</li>
</ul>
<!-- $$$CircularGauge-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
</p>
<p class="centerAlign"><img src="images/circulargauge.png" alt="CircularGauge" /></p><p>The <a href="qml-qtquick-extras-circulargauge.html">CircularGauge</a> is similar to traditional mechanical gauges that use a needle to display a value from some input, such as the speed of a vehicle or air pressure, for example.</p>
<p>The minimum and maximum values displayable by the gauge can be set with the <a href="qml-qtquick-extras-circulargauge.html#minimumValue-prop">minimumValue</a> and <a href="qml-qtquick-extras-circulargauge.html#maximumValue-prop">maximumValue</a> properties. The angle at which these values are displayed can be set with the minimumValueAngle and maximumValueAngle properties of CircularGaugeStyle.</p>
<p>Example:</p>
<pre class="cpp">CircularGauge {
value: accelerating <span class="operator">?</span> maximumValue : <span class="number">0</span>
anchors<span class="operator">.</span>centerIn: parent
property bool accelerating: <span class="keyword">false</span>
Keys<span class="operator">.</span>onSpacePressed: accelerating <span class="operator">=</span> <span class="keyword">true</span>
Keys<span class="operator">.</span>onReleased: {
<span class="keyword">if</span> (event<span class="operator">.</span>key <span class="operator">=</span><span class="operator">=</span><span class="operator">=</span> <span class="type"><a href="../qtgui/qt.html">Qt</a></span><span class="operator">.</span>Key_Space) {
accelerating <span class="operator">=</span> <span class="keyword">false</span>;
event<span class="operator">.</span>accepted <span class="operator">=</span> <span class="keyword">true</span>;
}
}
Component<span class="operator">.</span>onCompleted: forceActiveFocus()
Behavior on value {
NumberAnimation {
duration: <span class="number">1000</span>
}
}
}</pre>
<p>You can create a custom appearance for a <a href="qml-qtquick-extras-circulargauge.html">CircularGauge</a> by assigning a CircularGaugeStyle.</p>
<!-- @@@CircularGauge -->
<h2>Property Documentation</h2>
<!-- $$$maximumValue -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="maximumValue-prop"><td class="tblQmlPropNode"><p><a name="maximumValue-prop"></a><span class="name">maximumValue</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the largest value displayed by the gauge.</p>
</div></div><!-- @@@maximumValue -->
<br/>
<!-- $$$minimumValue -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="minimumValue-prop"><td class="tblQmlPropNode"><p><a name="minimumValue-prop"></a><span class="name">minimumValue</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the smallest value displayed by the gauge.</p>
</div></div><!-- @@@minimumValue -->
<br/>
<!-- $$$stepSize -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="stepSize-prop"><td class="tblQmlPropNode"><p><a name="stepSize-prop"></a><span class="name">stepSize</span> : <span class="type">real</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the size of the value increments that the needle displays.</p>
<p>For example, when stepSize is <code>10</code> and value is <code>0</code>, adding <code>5</code> to <a href="qml-qtquick-extras-circulargauge.html#value-prop">value</a> will have no visible effect on the needle, although <a href="qml-qtquick-extras-circulargauge.html#value-prop">value</a> will still be incremented. Adding an extra <code>5</code> to <a href="qml-qtquick-extras-circulargauge.html#value-prop">value</a> will then cause the needle to point to <code>10</code>.</p>
</div></div><!-- @@@stepSize -->
<br/>
<!-- $$$tickmarksVisible -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="tickmarksVisible-prop"><td class="tblQmlPropNode"><p><a name="tickmarksVisible-prop"></a><span class="name">tickmarksVisible</span> : <span class="type">bool</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property determines whether or not the gauge displays tickmarks, minor tickmarks, and labels.</p>
<p>For more fine-grained control over what is displayed, the following style components of CircularGaugeStyle can be used:</p>
<ul>
<li>tickmark</li>
<li>minorTickmark</li>
<li>tickmarkLabel</li>
</ul>
</div></div><!-- @@@tickmarksVisible -->
<br/>
<!-- $$$value -->
<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="odd" id="value-prop"><td class="tblQmlPropNode"><p><a name="value-prop"></a><span class="name">value</span> : <span class="type">alias</span></p></td></tr></table></div></div><div class="qmldoc"><p>This property holds the current value displayed by the gauge, which will always be between <a href="qml-qtquick-extras-circulargauge.html#minimumValue-prop">minimumValue</a> and <a href="qml-qtquick-extras-circulargauge.html#maximumValue-prop">maximumValue</a>, inclusive.</p>
</div></div><!-- @@@value -->
<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>
|