/usr/share/qt5/doc/qtquickextras/qtquickextras-overview.html is in qtquickcontrols5-doc-html 5.9.5-0ubuntu1.
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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtquickextras-overview.qdoc -->
<title>Qt Quick Extras Overview | Qt Quick Extras 5.9</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="text/javascript">
document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
// loading style sheet breaks anchors that were jumped to before
// so force jumping to anchor again
setTimeout(function() {
var anchor = location.hash;
// need to jump to different anchor first (e.g. none)
location.hash = "#";
setTimeout(function() {
location.hash = anchor;
}, 0);
}, 0);
</script>
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<table><tr>
<td >Qt 5.9</td><td ><a href="qtquickextras-index.html">Qt Quick Extras</a></td><td >Qt Quick Extras Overview</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.5 Reference Documentation</td>
</tr></table>
</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="#getting-started">Getting Started</a></li>
<li class="level2"><a href="#building">Building</a></li>
<li class="level2"><a href="#using-the-controls">Using the Controls</a></li>
<li class="level1"><a href="#interactive-controls">Interactive controls</a></li>
<li class="level1"><a href="#non-interactive-controls">Non-interactive controls</a></li>
<li class="level1"><a href="#creating-a-basic-example">Creating a basic example</a></li>
<li class="level1"><a href="#related-information">Related information</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Quick Extras Overview</h1>
<span class="subtitle"></span>
<!-- $$$qtquickextras-overview.html-description -->
<div class="descr"> <a name="details"></a>
<p>Qt Quick Extras provide a set of UI controls to create user interfaces in Qt Quick.</p>
<a name="getting-started"></a>
<h2 id="getting-started">Getting Started</h2>
<a name="building"></a>
<h3 >Building</h3>
<p>If you are building Qt Quick Extras from source, you can follow the steps used for most Qt modules:</p>
<pre class="cpp">
qmake
make
make install
</pre>
<a name="using-the-controls"></a>
<h3 >Using the Controls</h3>
<p>The QML types can be imported into your application using the following import statement in your <code>.qml</code> file.</p>
<pre class="cpp">
import <span class="type"><a href="../qtqml/qtquick-qmlmodule.html">QtQuick</a></span><span class="operator">.</span>Extras <span class="number">1.4</span>
</pre>
<a name="interactive-controls"></a>
<h2 id="interactive-controls">Interactive controls</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtquick-extras-delaybutton.html">DelayButton</a></p></td><td class="tblDescr"><p>A checkable button that triggers an action when held in long enough</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-qtquick-extras-dial.html">Dial</a></p></td><td class="tblDescr"><p>A circular dial that is rotated to set a value</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtquick-extras-piemenu.html">PieMenu</a></p></td><td class="tblDescr"><p>A popup menu that displays several menu items along an arc</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-qtquick-extras-togglebutton.html">ToggleButton</a></p></td><td class="tblDescr"><p>A push button that toggles between two states</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtquick-extras-tumbler.html">Tumbler</a></p></td><td class="tblDescr"><p>A control that can have several spinnable wheels, each with items that can be selected</p></td></tr>
</table></div>
<a name="non-interactive-controls"></a>
<h2 id="non-interactive-controls">Non-interactive controls</h2>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtquick-extras-circulargauge.html">CircularGauge</a></p></td><td class="tblDescr"><p>A gauge that displays a value within a range along an arc</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-qtquick-extras-gauge.html">Gauge</a></p></td><td class="tblDescr"><p>A straight gauge that displays a value within a range</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtquick-extras-statusindicator.html">StatusIndicator</a></p></td><td class="tblDescr"><p>An indicator that displays active or inactive states</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-qtquick-extras-picture.html">Picture</a></p></td><td class="tblDescr"><p>An indicator that displays a colorized QPicture icon</p></td></tr>
</table></div>
<a name="creating-a-basic-example"></a>
<h2 id="creating-a-basic-example">Creating a basic example</h2>
<p>A basic example of a QML file that makes use of controls is shown here:</p>
<pre class="cpp">
import <span class="type"><a href="../qtqml/qtquick-qmlmodule.html">QtQuick</a></span> <span class="number">2.2</span>
import <span class="type"><a href="../qtqml/qtquick-qmlmodule.html">QtQuick</a></span><span class="operator">.</span>Extras <span class="number">1.4</span>
Rectangle {
DelayButton {
anchors<span class="operator">.</span>centerIn: parent
}
}
</pre>
<p>For an interactive showcase of the controls provided by <a href="qtquickextras-index.html">Qt Quick Extras</a>, you can look at the <a href="qtquickextras-gallery-example.html">Gallery</a> example.</p>
<p class="centerAlign"><img src="images/qtquickextras-example-gallery.png" alt="" /></p><a name="related-information"></a>
<h2 id="related-information">Related information</h2>
<ul>
<li><a href="../qtquick/qtquick-index.html">Qt Quick</a></li>
<li><a href="qtquickextras-index.html">Qt Quick Extras</a></li>
<li><a href="qtquickextras-examples.html">Qt Quick Extras Examples</a></li>
</ul>
</div>
<!-- @@@qtquickextras-overview.html -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2017 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>
|