This file is indexed.

/usr/share/qt5/doc/qtquickcontrols/qml-qtquick-controls-tabview.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TabView.qml -->
  <title>TabView QML Type | Qt Quick Controls 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="qtquickcontrols-index.html">Qt Quick Controls</a></td><td ><a href="qtquick-controls-qmlmodule.html">QML Types</a></td><td >TabView QML Type</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="#properties">Properties</a></li>
<li class="level1"><a href="#methods">Methods</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">TabView QML Type</h1>
<span class="subtitle"></span>
<!-- $$$TabView-brief -->
<p>A control that allows the user to select one of multiple stacked items. <a href="#details">More...</a></p>
<!-- @@@TabView -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtQuick.Controls 1.4</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.1</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="../qtquick/qml-qtquick-focusscope.html">FocusScope</a></p>
</td></tr></table></div><ul>
<li><a href="qml-qtquick-controls-tabview-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-controls-tabview.html#contentItem-prop">contentItem</a></b></b> : Item</li>
<li class="fn"><b><b><a href="qml-qtquick-controls-tabview.html#count-prop">count</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-controls-tabview.html#currentIndex-prop">currentIndex</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-controls-tabview.html#frameVisible-prop">frameVisible</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtquick-controls-tabview.html#tabPosition-prop">tabPosition</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtquick-controls-tabview.html#tabsVisible-prop">tabsVisible</a></b></b> : bool</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn">Tab <b><b><a href="qml-qtquick-controls-tabview.html#addTab-method">addTab</a></b></b>(string <i>title</i>, Component <i>component</i>)</li>
<li class="fn">Tab <b><b><a href="qml-qtquick-controls-tabview.html#getTab-method">getTab</a></b></b>(int <i>index</i>)</li>
<li class="fn">Tab <b><b><a href="qml-qtquick-controls-tabview.html#insertTab-method">insertTab</a></b></b>(int <i>index</i>, string <i>title</i>, Component <i>component</i>)</li>
<li class="fn">void <b><b><a href="qml-qtquick-controls-tabview.html#moveTab-method">moveTab</a></b></b>(int <i>from</i>, int <i>to</i>)</li>
<li class="fn">void <b><b><a href="qml-qtquick-controls-tabview.html#removeTab-method">removeTab</a></b></b>(int <i>index</i>)</li>
</ul>
<!-- $$$TabView-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p class="centerAlign"><img src="images/tabview.png" alt="" /></p><p><a href="qml-qtquick-controls-tabview.html">TabView</a> provides tab-based navigation model for your application. For example, the following snippet uses tabs to present rectangles of different color on each tab page:</p>
<pre class="qml">

  <span class="type"><a href="qml-qtquick-controls-tabview.html">TabView</a></span> {
      <span class="type"><a href="qml-qtquick-controls-tab.html">Tab</a></span> {
          <span class="name">title</span>: <span class="string">&quot;Red&quot;</span>
          <span class="type"><a href="../qtquick/qml-qtquick-rectangle.html">Rectangle</a></span> { <span class="name">color</span>: <span class="string">&quot;red&quot;</span> }
      }
      <span class="type"><a href="qml-qtquick-controls-tab.html">Tab</a></span> {
          <span class="name">title</span>: <span class="string">&quot;Blue&quot;</span>
          <span class="type"><a href="../qtquick/qml-qtquick-rectangle.html">Rectangle</a></span> { <span class="name">color</span>: <span class="string">&quot;blue&quot;</span> }
      }
      <span class="type"><a href="qml-qtquick-controls-tab.html">Tab</a></span> {
          <span class="name">title</span>: <span class="string">&quot;Green&quot;</span>
          <span class="type"><a href="../qtquick/qml-qtquick-rectangle.html">Rectangle</a></span> { <span class="name">color</span>: <span class="string">&quot;green&quot;</span> }
      }
  }

</pre>
<p><b>Note: </b>You can create a custom appearance for a <a href="qml-qtquick-controls-tabview.html">TabView</a> by assigning a <a href="qml-qtquick-controls-styles-tabviewstyle.html">TabViewStyle</a>.</p><p><a href="qml-qtquick-controls-tab.html">Tab</a> represents the content of a tab in a <a href="qml-qtquick-controls-tabview.html">TabView</a>.</p>
<!-- @@@TabView -->
<h2>Property Documentation</h2>
<!-- $$$contentItem -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="contentItem-prop">
<td class="tblQmlPropNode"><p>
<a name="contentItem-prop"></a><span class="qmlreadonly">[read-only] </span><span class="name">contentItem</span> : <span class="type"><a href="../qtquick/qml-qtquick-item.html">Item</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This property holds the content item of the tab view.</p>
<p>Tabs declared as children of a <a href="qml-qtquick-controls-tabview.html">TabView</a> are automatically parented to the <a href="qml-qtquick-controls-tabview.html">TabView</a>'s contentItem.</p>
<p>This QML property was introduced in  QtQuick.Controls 1.3.</p>
</div></div><!-- @@@contentItem -->
<br/>
<!-- $$$count -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="count-prop">
<td class="tblQmlPropNode"><p>
<a name="count-prop"></a><span class="qmlreadonly">[read-only] </span><span class="name">count</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The current tab count</p>
</div></div><!-- @@@count -->
<br/>
<!-- $$$currentIndex -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="currentIndex-prop">
<td class="tblQmlPropNode"><p>
<a name="currentIndex-prop"></a><span class="name">currentIndex</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The current tab index</p>
</div></div><!-- @@@currentIndex -->
<br/>
<!-- $$$frameVisible -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="frameVisible-prop">
<td class="tblQmlPropNode"><p>
<a name="frameVisible-prop"></a><span class="name">frameVisible</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The visibility of the tab frame around contents</p>
</div></div><!-- @@@frameVisible -->
<br/>
<!-- $$$tabPosition -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="tabPosition-prop">
<td class="tblQmlPropNode"><p>
<a name="tabPosition-prop"></a><span class="name">tabPosition</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><ul>
<li>Qt.TopEdge (default)</li>
<li>Qt.BottomEdge</li>
</ul>
</div></div><!-- @@@tabPosition -->
<br/>
<!-- $$$tabsVisible -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="tabsVisible-prop">
<td class="tblQmlPropNode"><p>
<a name="tabsVisible-prop"></a><span class="name">tabsVisible</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The visibility of the tab bar</p>
</div></div><!-- @@@tabsVisible -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$addTab -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="addTab-method">
<td class="tblQmlFuncNode"><p>
<a name="addTab-method"></a><span class="type"><a href="qml-qtquick-controls-tab.html">Tab</a></span> <span class="name">addTab</span>(<span class="type">string</span> <i>title</i>, <span class="type"><a href="../qtqml/qml-qtqml-component.html">Component</a></span> <i>component</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Adds a new tab with the given <i>title</i> and an optional <i>component</i>.</p>
<p>Returns the newly added tab.</p>
</div></div><!-- @@@addTab -->
<br/>
<!-- $$$getTab -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="getTab-method">
<td class="tblQmlFuncNode"><p>
<a name="getTab-method"></a><span class="type"><a href="qml-qtquick-controls-tab.html">Tab</a></span> <span class="name">getTab</span>(<span class="type">int</span> <i>index</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns the <a href="qml-qtquick-controls-tab.html">Tab</a> item at <i>index</i>.</p>
</div></div><!-- @@@getTab -->
<br/>
<!-- $$$insertTab -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="insertTab-method">
<td class="tblQmlFuncNode"><p>
<a name="insertTab-method"></a><span class="type"><a href="qml-qtquick-controls-tab.html">Tab</a></span> <span class="name">insertTab</span>(<span class="type">int</span> <i>index</i>, <span class="type">string</span> <i>title</i>, <span class="type"><a href="../qtqml/qml-qtqml-component.html">Component</a></span> <i>component</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Inserts a new tab at <i>index</i>, with the given <i>title</i> and an optional <i>component</i>.</p>
<p>Returns the newly added tab.</p>
</div></div><!-- @@@insertTab -->
<br/>
<!-- $$$moveTab -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="moveTab-method">
<td class="tblQmlFuncNode"><p>
<a name="moveTab-method"></a><span class="type">void</span> <span class="name">moveTab</span>(<span class="type">int</span> <i>from</i>, <span class="type">int</span> <i>to</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Moves a tab <i>from</i> index <i>to</i> another.</p>
</div></div><!-- @@@moveTab -->
<br/>
<!-- $$$removeTab -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="removeTab-method">
<td class="tblQmlFuncNode"><p>
<a name="removeTab-method"></a><span class="type">void</span> <span class="name">removeTab</span>(<span class="type">int</span> <i>index</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Removes and destroys a tab at the given <i>index</i>.</p>
</div></div><!-- @@@removeTab -->
<br/>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</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>