<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtquickcontrols2-indicators.qdoc -->
  <title>Indicator Controls | Qt Quick Controls 2 5.11</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 ><a href="../qtdoc/index.html">Qt 5.11</a></td><td ><a href="qtquickcontrols2-index.html">Qt Quick Controls 2</a></td><td >Indicator Controls</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.11.2 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="#busyindicator-control">BusyIndicator Control</a></li>
<li class="level1"><a href="#pageindicator-control">PageIndicator Control</a></li>
<li class="level1"><a href="#progressbar-control">ProgressBar Control</a></li>
<li class="level1"><a href="#scrollbar-control">ScrollBar Control</a></li>
<li class="level1"><a href="#scrollindicator-control">ScrollIndicator Control</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">Indicator Controls</h1>
<span class="subtitle"></span>
<!-- $$$qtquickcontrols2-indicators.html-description -->
<div class="descr"> <a name="details"></a>
<p>Qt Quick Controls 2 offers a selection of indicator-like controls.</p>
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtquick-controls2-busyindicator.html">BusyIndicator</a></p></td><td class="tblDescr"><p>Indicates background activity, for example, while content is being loaded</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-qtquick-controls2-pageindicator.html">PageIndicator</a></p></td><td class="tblDescr"><p>Indicates the currently active page</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtquick-controls2-progressbar.html">ProgressBar</a></p></td><td class="tblDescr"><p>Indicates the progress of an operation</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-qtquick-controls2-scrollbar.html">ScrollBar</a></p></td><td class="tblDescr"><p>Vertical or horizontal interactive scroll bar</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qtquick-controls2-scrollindicator.html">ScrollIndicator</a></p></td><td class="tblDescr"><p>Vertical or horizontal non-interactive scroll indicator</p></td></tr>
</table></div>
<p>Each type of indicator has its own specific target use case. The following sections offer guidelines for choosing the appropriate type of indicator, depending on the use case.</p>
<a name="busyindicator-control"></a>
<h2 id="busyindicator-control">BusyIndicator Control</h2>
<p class="centerAlign"><img src="images/qtquickcontrols2-busyindicator.png" alt="" /></p><p><a href="qml-qtquick-controls2-busyindicator.html">BusyIndicator</a> can be used to show that an operation is in progress, and that the UI has to wait for the operation to complete.</p>
<a name="pageindicator-control"></a>
<h2 id="pageindicator-control">PageIndicator Control</h2>
<p class="centerAlign"><img src="images/qtquickcontrols2-pageindicator.png" alt="" /></p><p><a href="qml-qtquick-controls2-pageindicator.html">PageIndicator</a> is used to indicate the currently active page in a container of multiple pages.</p>
<a name="progressbar-control"></a>
<h2 id="progressbar-control">ProgressBar Control</h2>
<p class="centerAlign"><img src="images/qtquickcontrols2-progressbar.gif" alt="" /></p><p><a href="qml-qtquick-controls2-progressbar.html">ProgressBar</a> indicates the progress of an operation. The value should be updated regularly.</p>
<a name="scrollbar-control"></a>
<h2 id="scrollbar-control">ScrollBar Control</h2>
<p class="centerAlign"><img src="images/qtquickcontrols2-scrollbar.gif" alt="" /></p><p><a href="qml-qtquick-controls2-scrollbar.html">ScrollBar</a> is an interactive bar that indicates the current scroll position, and can be used to scroll to a specific position in a <a href="../qtquick/qml-qtquick-flickable.html">Flickable</a>.</p>
<a name="scrollindicator-control"></a>
<h2 id="scrollindicator-control">ScrollIndicator Control</h2>
<p class="centerAlign"><img src="images/qtquickcontrols2-scrollindicator.gif" alt="" /></p><p><a href="qml-qtquick-controls2-scrollindicator.html">ScrollIndicator</a> is a non-interactive indicator that indicates the current scroll position, and can be used to scroll to a specific position in a <a href="../qtquick/qml-qtquick-flickable.html">Flickable</a>.</p>
<a name="related-information"></a>
<h2 id="related-information">Related Information</h2>
<ul>
<li><a href="qtquickcontrols2-guidelines.html">Qt Quick Controls 2 Guidelines</a></li>
</ul>
</div>
<!-- @@@qtquickcontrols2-indicators.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2018 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>