3
3
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/src/gui/styles/qstyleoption.cpp -->
5
<!-- qstyleoption.cpp -->
7
<title>Qt 4.5: QStyleOptionTabBarBaseV2 Class Reference</title>
7
<title>Qt 4.6: QStyleOptionTabBarBaseV2 Class Reference</title>
8
8
<link href="classic.css" rel="stylesheet" type="text/css" />
11
<a name="//apple_ref/cpp/cl//QStyleOptionTabBarBaseV2" />
11
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
13
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="namespaces.html"><font color="#004faf">All Namespaces</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="mainclasses.html"><font color="#004faf">Main Classes</font></a> · <a href="groups.html"><font color="#004faf">Grouped Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QStyleOptionTabBarBaseV2 Class Reference<br /><span class="small-subtitle">[<a href="qtgui.html">QtGui</a> module]</span>
14
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
15
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="functions.html"><font color="#004faf">All Functions</font></a> · <a href="overviews.html"><font color="#004faf">Overviews</font></a></td><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
16
</tr></table><h1 class="title">QStyleOptionTabBarBaseV2 Class Reference<br /><span class="small-subtitle">[<a href="qtgui.html">QtGui</a> module]</span>
17
18
<p>The QStyleOptionTabBarBaseV2 class is used to describe the base of a tab bar, i.e. the part that the tab bar usually overlaps with. <a href="#details">More...</a></p>
18
19
<pre> #include <QStyleOptionTabBarBaseV2></pre><p>Inherits <a href="qstyleoptiontabbarbase.html">QStyleOptionTabBarBase</a>.</p>
21
22
<li><a href="qstyleoptiontabbarbasev2-members.html">List of all members, including inherited members</a></li>
23
25
<a name="public-types"></a>
26
<li><div class="fn"></div>enum <b><a href="qstyleoptiontabbarbasev2.html#StyleOptionVersion-enum">StyleOptionVersion</a></b> { Version }</li>
27
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
28
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptiontabbarbasev2.html#StyleOptionVersion-enum">StyleOptionVersion</a></b> { Version }</td></tr>
28
31
<a name="public-functions"></a>
29
<h3>Public Functions</h3>
31
<li><div class="fn"></div><b><a href="qstyleoptiontabbarbasev2.html#QStyleOptionTabBarBaseV2">QStyleOptionTabBarBaseV2</a></b> ()</li>
32
<li><div class="fn"></div><b><a href="qstyleoptiontabbarbasev2.html#QStyleOptionTabBarBaseV2-2">QStyleOptionTabBarBaseV2</a></b> ( const QStyleOptionTabBarBaseV2 & <i>other</i> )</li>
33
<li><div class="fn"></div><b><a href="qstyleoptiontabbarbasev2.html#QStyleOptionTabBarBaseV2-3">QStyleOptionTabBarBaseV2</a></b> ( const QStyleOptionTabBarBase & <i>other</i> )</li>
34
<li><div class="fn"></div>QStyleOptionTabBarBaseV2 & <b><a href="qstyleoptiontabbarbasev2.html#operator-eq">operator=</a></b> ( const QStyleOptionTabBarBase & <i>other</i> )</li>
37
<li><div class="fn"></div>2 public functions inherited from <a href="qstyleoption.html#public-functions">QStyleOption</a></li>
32
<h2>Public Functions</h2>
33
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
34
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptiontabbarbasev2.html#QStyleOptionTabBarBaseV2">QStyleOptionTabBarBaseV2</a></b> ()</td></tr>
35
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptiontabbarbasev2.html#QStyleOptionTabBarBaseV2-2">QStyleOptionTabBarBaseV2</a></b> ( const QStyleOptionTabBarBaseV2 & <i>other</i> )</td></tr>
36
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptiontabbarbasev2.html#QStyleOptionTabBarBaseV2-3">QStyleOptionTabBarBaseV2</a></b> ( const QStyleOptionTabBarBase & <i>other</i> )</td></tr>
37
<tr><td class="memItemLeft" align="right" valign="top">QStyleOptionTabBarBaseV2 & </td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptiontabbarbasev2.html#operator-eq">operator=</a></b> ( const QStyleOptionTabBarBase & <i>other</i> )</td></tr>
40
<li><div bar="2" class="fn"></div>2 public functions inherited from <a href="qstyleoption.html#public-functions">QStyleOption</a></li>
39
43
<a name="public-variables"></a>
40
<h3>Public Variables</h3>
42
<li><div class="fn"></div>bool <b><a href="qstyleoptiontabbarbasev2.html#documentMode-var">documentMode</a></b></li>
45
<li><div class="fn"></div>3 public variables inherited from <a href="qstyleoptiontabbarbase.html#public-variables">QStyleOptionTabBarBase</a></li>
46
<li><div class="fn"></div>7 public variables inherited from <a href="qstyleoption.html#public-variables">QStyleOption</a></li>
44
<h2>Public Variables</h2>
45
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
46
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptiontabbarbasev2.html#documentMode-var">documentMode</a></b></td></tr>
49
<li><div bar="2" class="fn"></div>3 public variables inherited from <a href="qstyleoptiontabbarbase.html#public-variables">QStyleOptionTabBarBase</a></li>
50
<li><div bar="2" class="fn"></div>7 public variables inherited from <a href="qstyleoption.html#public-variables">QStyleOption</a></li>
48
52
<a name="details"></a>
55
59
<p>See also <a href="qstyleoption.html">QStyleOption</a> and <a href="qtabbar.html#drawBase-prop">QTabBar::drawBase</a>().</p>
57
61
<h2>Member Type Documentation</h2>
62
<a name="//apple_ref/cpp/tag/QStyleOptionTabBarBaseV2/StyleOptionVersion" />
63
<a name="//apple_ref/cpp/econst/QStyleOptionTabBarBaseV2/Version" />
58
64
<h3 class="fn"><a name="StyleOptionVersion-enum"></a>enum QStyleOptionTabBarBaseV2::StyleOptionVersion</h3>
59
65
<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>
60
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
66
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
61
67
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
62
68
<tr><td valign="top"><tt>QStyleOptionTabBarBaseV2::Version</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">2</td></tr>
65
71
<p>See also <a href="qstyleoptiontabbarbase.html#StyleOptionType-enum">StyleOptionType</a>.</p>
67
73
<h2>Member Function Documentation</h2>
74
<a name="//apple_ref/cpp/instm/QStyleOptionTabBarBaseV2/QStyleOptionTabBarBaseV2" />
68
75
<h3 class="fn"><a name="QStyleOptionTabBarBaseV2"></a>QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2 ()</h3>
69
76
<p>Construct a <a href="qstyleoptiontabbarbasev2.html">QStyleOptionTabBarBaseV2</a>, initializing the members vaiables to their default values.</p>
70
77
<h3 class="fn"><a name="QStyleOptionTabBarBaseV2-2"></a>QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2 ( const QStyleOptionTabBarBaseV2 & <i>other</i> )</h3>
71
78
<p>Constructs a copy of <i>other</i>.</p>
72
79
<h3 class="fn"><a name="QStyleOptionTabBarBaseV2-3"></a>QStyleOptionTabBarBaseV2::QStyleOptionTabBarBaseV2 ( const <a href="qstyleoptiontabbarbase.html">QStyleOptionTabBarBase</a> & <i>other</i> )</h3>
73
80
<p>Constructs a copy of <i>other</i>.</p>
81
<a name="//apple_ref/cpp/instm/QStyleOptionTabBarBaseV2/operator=" />
74
82
<h3 class="fn"><a name="operator-eq"></a>QStyleOptionTabBarBaseV2 & QStyleOptionTabBarBaseV2::operator= ( const <a href="qstyleoptiontabbarbase.html">QStyleOptionTabBarBase</a> & <i>other</i> )</h3>
75
83
<p>Constructs a <a href="qstyleoptiontabbarbasev2.html">QStyleOptionTabBarBaseV2</a> copy of the <i>other</i> style option which can be either of the <a href="qstyleoptiontabbarbasev2.html">QStyleOptionTabBarBaseV2</a>, or <a href="qstyleoptiontabbarbase.html">QStyleOptionTabBarBase</a> types.</p>
76
84
<p>If the other style option's version is not 1, the new style option's <tt>documentMode</tt> is set to false. If its version is 2, its <tt>documentMode</tt> value is simply copied to the new style option.</p>
78
86
<h2>Member Variable Documentation</h2>
87
<a name="//apple_ref/cpp/data/QStyleOptionTabBarBaseV2/documentMode" />
79
88
<h3 class="fn"><a name="documentMode-var"></a>bool QStyleOptionTabBarBaseV2::documentMode</h3>
80
89
<p>This variable holds whether the tabbar is in document mode.</p>
81
90
<p>The default value is false;</p>
82
91
<p /><address><hr /><div align="center">
83
92
<table width="100%" cellspacing="0" border="0"><tr class="address">
84
<td width="30%" align="left">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
85
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
86
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
87
</tr></table></div></address></body>
93
<td width="40%" align="left">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
94
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
95
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
96
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>