/usr/share/qt5/doc/qtquickcontrols/qml-qtquick-controls-tabview.html is in qtquickcontrols5-doc-html 5.3.2-2.
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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TabView.qml -->
<title>TabView QML Type | QtQuickControls 5.3</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.3</li>
<li><a href="qtquickcontrols-index.html">Qt Quick Controls</a></li>
<li><a href="qtquick-controls-qmlmodule.html">QML Types</a></li>
<li>TabView QML Type</li>
<li id="buildversion">
Qt 5.3.2 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<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>
<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 -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> </b><tt>import QtQuick.Controls 1.2</tt></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><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>Properties</h2>
<ul>
<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>Methods</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtquick-controls-tabview.html#addTab-method">addTab</a></b></b>(<i>title</i>, <i>component</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-controls-tabview.html#getTab-method">getTab</a></b></b>(<i>index</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-controls-tabview.html#insertTab-method">insertTab</a></b></b>(<i>index</i>, <i>title</i>, <i>component</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-controls-tabview.html#moveTab-method">moveTab</a></b></b>(<i>from</i>, <i>to</i>)</li>
<li class="fn"><b><b><a href="qml-qtquick-controls-tabview.html#removeTab-method">removeTab</a></b></b>(<i>index</i>)</li>
</ul>
<!-- $$$TabView-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p class="centerAlign"><img src="images/tabview.png" alt="" /></p><p>TabView 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">TabView</span> {
<span class="type"><a href="qml-qtquick-controls-tab.html">Tab</a></span> {
<span class="name">title</span>: <span class="string">"Red"</span>
<span class="type"><a href="../qtquick/qml-qtquick-rectangle.html">Rectangle</a></span> { <span class="name">color</span>: <span class="string">"red"</span> }
}
<span class="type"><a href="qml-qtquick-controls-tab.html">Tab</a></span> {
<span class="name">title</span>: <span class="string">"Blue"</span>
<span class="type"><a href="../qtquick/qml-qtquick-rectangle.html">Rectangle</a></span> { <span class="name">color</span>: <span class="string">"blue"</span> }
}
<span class="type"><a href="qml-qtquick-controls-tab.html">Tab</a></span> {
<span class="name">title</span>: <span class="string">"Green"</span>
<span class="type"><a href="../qtquick/qml-qtquick-rectangle.html">Rectangle</a></span> { <span class="name">color</span>: <span class="string">"green"</span> }
}
}</pre>
<p><b>Note: </b>You can create a custom appearance for a TabView 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 TabView.</p>
<!-- @@@TabView -->
<h2>Property Documentation</h2>
<!-- $$$count -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="count-prop"></a><span class="qmlreadonly">read-only</span><span class="name">count</span> : <span class="type"><a href="../qtqml/qml-int.html">int</a></span></p></td></tr></table></div><div class="qmldoc"><p>The current tab count</p>
</div></div><!-- @@@count -->
<br/>
<!-- $$$currentIndex -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="currentIndex-prop"></a><span class="name">currentIndex</span> : <span class="type"><a href="../qtqml/qml-int.html">int</a></span></p></td></tr></table></div><div class="qmldoc"><p>The current tab index</p>
</div></div><!-- @@@currentIndex -->
<br/>
<!-- $$$frameVisible -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="frameVisible-prop"></a><span class="name">frameVisible</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr></table></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"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="tabPosition-prop"></a><span class="name">tabPosition</span> : <span class="type"><a href="../qtqml/qml-int.html">int</a></span></p></td></tr></table></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"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="tabsVisible-prop"></a><span class="name">tabsVisible</span> : <span class="type"><a href="../qtqml/qml-bool.html">bool</a></span></p></td></tr></table></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"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="addTab-method"></a><span class="name">addTab</span>(<i> title</i>, <i> component</i>)</p></td></tr></table></div><div class="qmldoc"><p>Adds a new tab page with title with and optional Component. Returns the newly added tab.</p>
</div></div><!-- @@@addTab -->
<br/>
<!-- $$$getTab -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="getTab-method"></a><span class="name">getTab</span>(<i> index</i>)</p></td></tr></table></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"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="insertTab-method"></a><span class="name">insertTab</span>(<i> index</i>, <i> title</i>, <i> component</i>)</p></td></tr></table></div><div class="qmldoc"><p>Inserts a new tab with title at index, with an optional Component. Returns the newly added tab.</p>
</div></div><!-- @@@insertTab -->
<br/>
<!-- $$$moveTab -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="moveTab-method"></a><span class="name">moveTab</span>(<i> from</i>, <i> to</i>)</p></td></tr></table></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"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="removeTab-method"></a><span class="name">removeTab</span>(<i> index</i>)</p></td></tr></table></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">©</acronym> 2014 Digia Plc and/or its
subsidiaries. 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> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|