Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 768f7d9f703884aa2562bf0a651086df > files > 3557

qtbase5-doc-5.9.4-1.1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qstyleoption.cpp -->
  <title>QStyleOptionTab Class | Qt Widgets 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="qtwidgets-index.html">Qt Widgets</a></td><td ><a href="qtwidgets-module.html">C++ Classes</a></td><td >QStyleOptionTab</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 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="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#public-variables">Public Variables</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">QStyleOptionTab Class</h1>
<!-- $$$QStyleOptionTab-brief -->
<p>The <a href="qstyleoptiontab.html">QStyleOptionTab</a> class is used to describe the parameters for drawing a tab bar. <a href="#details">More...</a></p>
<!-- @@@QStyleOptionTab -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QStyleOptionTab&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += widgets</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qstyleoption.html">QStyleOption</a></td></tr></table></div><ul>
<li><a href="qstyleoptiontab-members.html">List of all members, including inherited members</a></li>
<li><a href="qstyleoptiontab-obsolete.html">Obsolete members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#CornerWidget-enum">CornerWidget</a></b> { NoCornerWidgets, LeftCornerWidget, RightCornerWidget }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#CornerWidget-enum">CornerWidgets</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#SelectedPosition-enum">SelectedPosition</a></b> { NotAdjacent, NextIsSelected, PreviousIsSelected }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#StyleOptionType-enum">StyleOptionType</a></b> { Type }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#StyleOptionVersion-enum">StyleOptionVersion</a></b> { Version }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#TabFeature-enum">TabFeature</a></b> { None, HasFrame }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#TabFeature-enum">TabFeatures</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#TabPosition-enum">TabPosition</a></b> { Beginning, Middle, End, OnlyOneTab }</td></tr>
</table></div>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#QStyleOptionTab">QStyleOptionTab</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#QStyleOptionTab-1">QStyleOptionTab</a></b>(const QStyleOptionTab &amp;<i>other</i>)</td></tr>
</table></div>
<ul>
<li class="fn">2 public functions inherited from <a href="qstyleoption.html#public-functions">QStyleOption</a></li>
</ul>
<a name="public-variables"></a>
<h2 id="public-variables">Public Variables</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> CornerWidgets </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#cornerWidgets-var">cornerWidgets</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#documentMode-var">documentMode</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QIcon </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#icon-var">icon</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSize </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#iconSize-var">iconSize</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSize </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#leftButtonSize-var">leftButtonSize</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> TabPosition </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#position-var">position</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSize </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#rightButtonSize-var">rightButtonSize</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#row-var">row</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> SelectedPosition </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#selectedPosition-var">selectedPosition</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QTabBar::Shape </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#shape-var">shape</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qstyleoptiontab.html#text-var">text</a></b></td></tr>
</table></div>
<ul>
<li class="fn">8 public variables inherited from <a href="qstyleoption.html#public-variables">QStyleOption</a></li>
</ul>
<a name="details"></a>
<!-- $$$QStyleOptionTab-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qstyleoptiontab.html">QStyleOptionTab</a> class is used to describe the parameters for drawing a tab bar.</p>
<p>The <a href="qstyleoptiontab.html">QStyleOptionTab</a> class is used for drawing several built-in Qt widgets including <a href="qtabbar.html">QTabBar</a> and the panel for <a href="qtabwidget.html">QTabWidget</a>.</p>
<p>An instance of the <a href="qstyleoptiontab.html">QStyleOptionTab</a> class has <a href="qstyleoption.html#type-var">type</a> <a href="qstyleoption.html#OptionType-enum">SO_Tab</a> and <a href="qstyleoption.html#version-var">version</a> 3. The type is used internally by <a href="qstyleoption.html">QStyleOption</a>, its subclasses, and <a href="qstyleoption.html#qstyleoption_cast">qstyleoption_cast</a>() to determine the type of style option. In general you do not need to worry about this unless you want to create your own <a href="qstyleoption.html">QStyleOption</a> subclass and your own styles. The version is used by <a href="qstyleoption.html">QStyleOption</a> subclasses to implement extensions without breaking compatibility. If you use <a href="qstyleoption.html#qstyleoption_cast">qstyleoption_cast</a>(), you normally do not need to check it.</p>
<p>For an example demonstrating how style options can be used, see the <a href="qtwidgets-widgets-styles-example.html">Styles</a> example.</p>
</div>
<p><b>See also </b><a href="qstyleoption.html">QStyleOption</a>.</p>
<!-- @@@QStyleOptionTab -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$CornerWidget$$$NoCornerWidgets$$$LeftCornerWidget$$$RightCornerWidget -->
<h3 class="flags" id="CornerWidget-enum"><a name="CornerWidget-enum"></a>enum QStyleOptionTab::<span class="name">CornerWidget</span><br/>flags QStyleOptionTab::<span class="name">CornerWidgets</span></h3>
<p>These flags indicate the corner widgets in a tab.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::NoCornerWidgets</code></td><td class="topAlign tblval"><code>0x00</code></td><td class="topAlign">There are no corner widgets</td></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::LeftCornerWidget</code></td><td class="topAlign tblval"><code>0x01</code></td><td class="topAlign">Left corner widget</td></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::RightCornerWidget</code></td><td class="topAlign tblval"><code>0x02</code></td><td class="topAlign">Right corner widget</td></tr>
</table></div>
<p>The CornerWidgets type is a typedef for <a href="../qtcore/qflags.html">QFlags</a>&lt;CornerWidget&gt;. It stores an OR combination of CornerWidget values.</p>
<p><b>See also </b><a href="qstyleoptiontab.html#cornerWidgets-var">cornerWidgets</a>.</p>
<!-- @@@CornerWidget -->
<!-- $$$SelectedPosition$$$NotAdjacent$$$NextIsSelected$$$PreviousIsSelected -->
<h3 class="fn" id="SelectedPosition-enum"><a name="SelectedPosition-enum"></a>enum QStyleOptionTab::<span class="name">SelectedPosition</span></h3>
<p>This enum describes the position of the selected tab. Some styles need to draw a tab differently depending on whether or not it is adjacent to the selected tab.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::NotAdjacent</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The tab is not adjacent to a selected tab (or is the selected tab).</td></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::NextIsSelected</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The next tab (typically the tab on the right) is selected.</td></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::PreviousIsSelected</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The previous tab (typically the tab on the left) is selected.</td></tr>
</table></div>
<p><b>See also </b><a href="qstyleoptiontab.html#selectedPosition-var">selectedPosition</a>.</p>
<!-- @@@SelectedPosition -->
<!-- $$$StyleOptionType$$$Type -->
<h3 class="fn" id="StyleOptionType-enum"><a name="StyleOptionType-enum"></a>enum QStyleOptionTab::<span class="name">StyleOptionType</span></h3>
<p>This enum is used to hold information about the type of the style option, and is defined for each <a href="qstyleoption.html">QStyleOption</a> subclass.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::Type</code></td><td class="topAlign tblval"><code>SO_Tab</code></td><td class="topAlign">The type of style option provided (<a href="qstyleoption.html#OptionType-enum">SO_Tab</a> for this class).</td></tr>
</table></div>
<p>The type is used internally by <a href="qstyleoption.html">QStyleOption</a>, its subclasses, and <a href="qstyleoption.html#qstyleoption_cast">qstyleoption_cast</a>() to determine the type of style option. In general you do not need to worry about this unless you want to create your own <a href="qstyleoption.html">QStyleOption</a> subclass and your own styles.</p>
<p><b>See also </b><a href="qstyleoptiontab.html#StyleOptionVersion-enum">StyleOptionVersion</a>.</p>
<!-- @@@StyleOptionType -->
<!-- $$$StyleOptionVersion$$$Version -->
<h3 class="fn" id="StyleOptionVersion-enum"><a name="StyleOptionVersion-enum"></a>enum QStyleOptionTab::<span class="name">StyleOptionVersion</span></h3>
<p>This enum is used to hold information about the version of the style option, and is defined for each <a href="qstyleoption.html">QStyleOption</a> subclass.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::Version</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">3</td></tr>
</table></div>
<p>The version is used by <a href="qstyleoption.html">QStyleOption</a> subclasses to implement extensions without breaking compatibility. If you use <a href="qstyleoption.html#qstyleoption_cast">qstyleoption_cast</a>(), you normally do not need to check it.</p>
<p><b>See also </b><a href="qstyleoptiontab.html#StyleOptionType-enum">StyleOptionType</a>.</p>
<!-- @@@StyleOptionVersion -->
<!-- $$$TabFeature$$$None$$$HasFrame -->
<h3 class="flags" id="TabFeature-enum"><a name="TabFeature-enum"></a>enum QStyleOptionTab::<span class="name">TabFeature</span><br/>flags QStyleOptionTab::<span class="name">TabFeatures</span></h3>
<p>Describes the various features that a tab button can have.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::None</code></td><td class="topAlign tblval"><code>0x00</code></td><td class="topAlign">A normal tab button.</td></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::HasFrame</code></td><td class="topAlign tblval"><code>0x01</code></td><td class="topAlign">The tab button is positioned on a tab frame</td></tr>
</table></div>
<p>The TabFeatures type is a typedef for <a href="../qtcore/qflags.html">QFlags</a>&lt;TabFeature&gt;. It stores an OR combination of TabFeature values.</p>
<p><b>See also </b><a href="qstyleoptiontab.html#features-var">features</a>.</p>
<!-- @@@TabFeature -->
<!-- $$$TabPosition$$$Beginning$$$Middle$$$End$$$OnlyOneTab -->
<h3 class="fn" id="TabPosition-enum"><a name="TabPosition-enum"></a>enum QStyleOptionTab::<span class="name">TabPosition</span></h3>
<p>This enum describes the position of the tab.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::Beginning</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">The tab is the first tab in the tab bar.</td></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::Middle</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The tab is neither the first nor the last tab in the tab bar.</td></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::End</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The tab is the last tab in the tab bar.</td></tr>
<tr><td class="topAlign"><code>QStyleOptionTab::OnlyOneTab</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The tab is both the first and the last tab in the tab bar.</td></tr>
</table></div>
<p><b>See also </b><a href="qstyleoptiontab.html#position-var">position</a>.</p>
<!-- @@@TabPosition -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QStyleOptionTab[overload1]$$$QStyleOptionTab -->
<h3 class="fn" id="QStyleOptionTab"><a name="QStyleOptionTab"></a>QStyleOptionTab::<span class="name">QStyleOptionTab</span>()</h3>
<p>Constructs a <a href="qstyleoptiontab.html">QStyleOptionTab</a> object, initializing the members variables to their default values.</p>
<!-- @@@QStyleOptionTab -->
<!-- $$$QStyleOptionTab$$$QStyleOptionTabconstQStyleOptionTab& -->
<h3 class="fn" id="QStyleOptionTab-1"><a name="QStyleOptionTab-1"></a>QStyleOptionTab::<span class="name">QStyleOptionTab</span>(const <span class="type"><a href="qstyleoptiontab.html#QStyleOptionTab">QStyleOptionTab</a></span> &amp;<i>other</i>)</h3>
<p>Constructs a copy of the <i>other</i> style option.</p>
<!-- @@@QStyleOptionTab -->
</div>
<div class="vars">
<h2>Member Variable Documentation</h2>
<!-- $$$cornerWidgets -->
<h3 class="fn" id="cornerWidgets-var"><a name="cornerWidgets-var"></a><span class="type"><a href="qstyleoptiontab.html#CornerWidget-enum">CornerWidgets</a></span> QStyleOptionTab::<span class="name">cornerWidgets</span></h3>
<p>This variable holds an OR combination of <a href="qstyleoptiontab.html#CornerWidget-enum">CornerWidget</a> values indicating the corner widgets of the tab bar</p>
<p>The default value is <a href="qstyleoptiontab.html#CornerWidget-enum">NoCornerWidgets</a>.</p>
<p><b>See also </b><a href="qstyleoptiontab.html#CornerWidget-enum">CornerWidget</a>.</p>
<!-- @@@cornerWidgets -->
<!-- $$$documentMode -->
<h3 class="fn" id="documentMode-var"><a name="documentMode-var"></a><span class="type">bool</span> QStyleOptionTab::<span class="name">documentMode</span></h3>
<p>This variable holds whether the tabbar is in document mode.</p>
<p>The default value is false;</p>
<!-- @@@documentMode -->
<!-- $$$icon -->
<h3 class="fn" id="icon-var"><a name="icon-var"></a><span class="type"><a href="../qtgui/qicon.html">QIcon</a></span> QStyleOptionTab::<span class="name">icon</span></h3>
<p>This variable holds the icon for the tab</p>
<p>The default value is an empty icon, i.e&#x2e; an icon with neither a pixmap nor a filename.</p>
<!-- @@@icon -->
<!-- $$$iconSize -->
<h3 class="fn" id="iconSize-var"><a name="iconSize-var"></a><span class="type"><a href="../qtcore/qsize.html">QSize</a></span> QStyleOptionTab::<span class="name">iconSize</span></h3>
<p>This variable holds the size for the icons</p>
<p>The default value is <a href="../qtcore/qsize.html">QSize</a>(-1, -1), i.e&#x2e; an invalid size; use <a href="qstyle.html#pixelMetric">QStyle::pixelMetric</a>() to find the default icon size for tab bars.</p>
<p><b>See also </b><a href="qtabbar.html#iconSize-prop">QTabBar::iconSize</a>().</p>
<!-- @@@iconSize -->
<!-- $$$leftButtonSize -->
<h3 class="fn" id="leftButtonSize-var"><a name="leftButtonSize-var"></a><span class="type"><a href="../qtcore/qsize.html">QSize</a></span> QStyleOptionTab::<span class="name">leftButtonSize</span></h3>
<p>This variable holds the size for the left widget on the tab.</p>
<p>The default value is <a href="../qtcore/qsize.html">QSize</a>(-1, -1), i.e&#x2e; an invalid size;</p>
<!-- @@@leftButtonSize -->
<!-- $$$position -->
<h3 class="fn" id="position-var"><a name="position-var"></a><span class="type"><a href="qstyleoptiontab.html#TabPosition-enum">TabPosition</a></span> QStyleOptionTab::<span class="name">position</span></h3>
<p>This variable holds the position of the tab in the tab bar</p>
<p>The default value is <a href="qstyleoptiontab.html#TabPosition-enum">Beginning</a>, i.e&#x2e; the tab is the first tab in the tab bar.</p>
<!-- @@@position -->
<!-- $$$rightButtonSize -->
<h3 class="fn" id="rightButtonSize-var"><a name="rightButtonSize-var"></a><span class="type"><a href="../qtcore/qsize.html">QSize</a></span> QStyleOptionTab::<span class="name">rightButtonSize</span></h3>
<p>This variable holds the size for the right widget on the tab.</p>
<p>The default value is <a href="../qtcore/qsize.html">QSize</a>(-1, -1), i.e&#x2e; an invalid size;</p>
<!-- @@@rightButtonSize -->
<!-- $$$row -->
<h3 class="fn" id="row-var"><a name="row-var"></a><span class="type">int</span> QStyleOptionTab::<span class="name">row</span></h3>
<p>This variable holds which row the tab is currently in</p>
<p>The default value is 0, indicating the front row. Currently this property can only be 0.</p>
<!-- @@@row -->
<!-- $$$selectedPosition -->
<h3 class="fn" id="selectedPosition-var"><a name="selectedPosition-var"></a><span class="type"><a href="qstyleoptiontab.html#SelectedPosition-enum">SelectedPosition</a></span> QStyleOptionTab::<span class="name">selectedPosition</span></h3>
<p>This variable holds the position of the selected tab in relation to this tab</p>
<p>The default value is <a href="qstyleoptiontab.html#SelectedPosition-enum">NotAdjacent</a>, i.e&#x2e; the tab is not adjacent to a selected tab nor is it the selected tab.</p>
<!-- @@@selectedPosition -->
<!-- $$$shape -->
<h3 class="fn" id="shape-var"><a name="shape-var"></a><span class="type"><a href="qtabbar.html#Shape-enum">QTabBar::Shape</a></span> QStyleOptionTab::<span class="name">shape</span></h3>
<p>This variable holds the tab shape used to draw the tab; by default <a href="qtabbar.html#Shape-enum">QTabBar::RoundedNorth</a></p>
<p><b>See also </b><a href="qtabbar.html#Shape-enum">QTabBar::Shape</a>.</p>
<!-- @@@shape -->
<!-- $$$text -->
<h3 class="fn" id="text-var"><a name="text-var"></a><span class="type"><a href="../qtcore/qstring.html">QString</a></span> QStyleOptionTab::<span class="name">text</span></h3>
<p>This variable holds the text of the tab</p>
<p>The default value is an empty string.</p>
<!-- @@@text -->
</div>
        </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>