~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qstyleoptionframev2.html

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!DOCTYPE html
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 -->
6
6
<head>
7
 
  <title>Qt 4.5: QStyleOptionFrameV2 Class Reference</title>
 
7
  <title>Qt 4.6: QStyleOptionFrameV2 Class Reference</title>
8
8
  <link href="classic.css" rel="stylesheet" type="text/css" />
9
9
</head>
10
10
<body>
 
11
<a name="//apple_ref/cpp/cl//QStyleOptionFrameV2" />
11
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
12
13
<tr>
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">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <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">QStyleOptionFrameV2 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">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <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">QStyleOptionFrameV2 Class Reference<br /><span class="small-subtitle">[<a href="qtgui.html">QtGui</a> module]</span>
16
17
</h1>
17
18
<p>The QStyleOptionFrameV2 class is used to describe the parameters necessary for drawing a frame in Qt 4.1 or above. <a href="#details">More...</a></p>
18
19
<pre> #include &lt;QStyleOptionFrameV2&gt;</pre><p>Inherits <a href="qstyleoptionframe.html">QStyleOptionFrame</a>.</p>
21
22
<ul>
22
23
<li><a href="qstyleoptionframev2-members.html">List of all members, including inherited members</a></li>
23
24
</ul>
 
25
<hr />
24
26
<a name="public-types"></a>
25
 
<h3>Public Types</h3>
26
 
<ul>
27
 
<li><div class="fn"></div>enum <b><a href="qstyleoptionframev2.html#FrameFeature-enum">FrameFeature</a></b> { None, Flat }</li>
28
 
<li><div class="fn"></div>flags <b><a href="qstyleoptionframev2.html#FrameFeature-enum">FrameFeatures</a></b></li>
29
 
<li><div class="fn"></div>enum <b><a href="qstyleoptionframev2.html#StyleOptionVersion-enum">StyleOptionVersion</a></b> { Version }</li>
30
 
</ul>
 
27
<h2>Public Types</h2>
 
28
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
29
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptionframev2.html#FrameFeature-enum">FrameFeature</a></b> { None, Flat }</td></tr>
 
30
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptionframev2.html#FrameFeature-enum">FrameFeatures</a></b></td></tr>
 
31
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptionframev2.html#StyleOptionVersion-enum">StyleOptionVersion</a></b> { Version }</td></tr>
 
32
</table>
 
33
<hr />
31
34
<a name="public-functions"></a>
32
 
<h3>Public Functions</h3>
33
 
<ul>
34
 
<li><div class="fn"></div><b><a href="qstyleoptionframev2.html#QStyleOptionFrameV2">QStyleOptionFrameV2</a></b> ()</li>
35
 
<li><div class="fn"></div><b><a href="qstyleoptionframev2.html#QStyleOptionFrameV2-2">QStyleOptionFrameV2</a></b> ( const QStyleOptionFrameV2 &amp; <i>other</i> )</li>
36
 
<li><div class="fn"></div><b><a href="qstyleoptionframev2.html#QStyleOptionFrameV2-3">QStyleOptionFrameV2</a></b> ( const QStyleOptionFrame &amp; <i>other</i> )</li>
37
 
<li><div class="fn"></div>QStyleOptionFrameV2 &amp; <b><a href="qstyleoptionframev2.html#operator-eq">operator=</a></b> ( const QStyleOptionFrame &amp; <i>other</i> )</li>
38
 
</ul>
39
 
<ul>
40
 
<li><div class="fn"></div>2 public functions inherited from <a href="qstyleoption.html#public-functions">QStyleOption</a></li>
41
 
</ul>
 
35
<h2>Public Functions</h2>
 
36
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
37
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptionframev2.html#QStyleOptionFrameV2">QStyleOptionFrameV2</a></b> ()</td></tr>
 
38
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptionframev2.html#QStyleOptionFrameV2-2">QStyleOptionFrameV2</a></b> ( const QStyleOptionFrameV2 &amp; <i>other</i> )</td></tr>
 
39
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptionframev2.html#QStyleOptionFrameV2-3">QStyleOptionFrameV2</a></b> ( const QStyleOptionFrame &amp; <i>other</i> )</td></tr>
 
40
<tr><td class="memItemLeft" align="right" valign="top">QStyleOptionFrameV2 &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptionframev2.html#operator-eq">operator=</a></b> ( const QStyleOptionFrame &amp; <i>other</i> )</td></tr>
 
41
</table>
 
42
<ul>
 
43
<li><div bar="2" class="fn"></div>2 public functions inherited from <a href="qstyleoption.html#public-functions">QStyleOption</a></li>
 
44
</ul>
 
45
<hr />
42
46
<a name="public-variables"></a>
43
 
<h3>Public Variables</h3>
44
 
<ul>
45
 
<li><div class="fn"></div>FrameFeatures <b><a href="qstyleoptionframev2.html#features-var">features</a></b></li>
46
 
</ul>
47
 
<ul>
48
 
<li><div class="fn"></div>2 public variables inherited from <a href="qstyleoptionframe.html#public-variables">QStyleOptionFrame</a></li>
49
 
<li><div class="fn"></div>7 public variables inherited from <a href="qstyleoption.html#public-variables">QStyleOption</a></li>
 
47
<h2>Public Variables</h2>
 
48
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
49
<tr><td class="memItemLeft" align="right" valign="top">FrameFeatures </td><td class="memItemRight" valign="bottom"><b><a href="qstyleoptionframev2.html#features-var">features</a></b></td></tr>
 
50
</table>
 
51
<ul>
 
52
<li><div bar="2" class="fn"></div>2 public variables inherited from <a href="qstyleoptionframe.html#public-variables">QStyleOptionFrame</a></li>
 
53
<li><div bar="2" class="fn"></div>7 public variables inherited from <a href="qstyleoption.html#public-variables">QStyleOption</a></li>
50
54
</ul>
51
55
<a name="details"></a>
52
56
<hr />
68
72
<p>See also <a href="qstyleoptionframe.html">QStyleOptionFrame</a> and <a href="qstyleoption.html">QStyleOption</a>.</p>
69
73
<hr />
70
74
<h2>Member Type Documentation</h2>
 
75
<a name="//apple_ref/cpp/tag/QStyleOptionFrameV2/FrameFeature" />
 
76
<a name="//apple_ref/cpp/econst/QStyleOptionFrameV2/None" />
 
77
<a name="//apple_ref/cpp/econst/QStyleOptionFrameV2/Flat" />
 
78
<a name="//apple_ref/cpp/tdef/QStyleOptionFrameV2/FrameFeatures" />
71
79
<h3 class="flags"><a name="FrameFeature-enum"></a>enum QStyleOptionFrameV2::FrameFeature<br />flags QStyleOptionFrameV2::FrameFeatures</h3>
72
 
<p>This enum describles the different types of features a frame can have.</p>
73
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
80
<p>This enum describes the different types of features a frame can have.</p>
 
81
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
74
82
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
75
83
<tr><td valign="top"><tt>QStyleOptionFrameV2::None</tt></td><td align="center" valign="top"><tt>0x00</tt></td><td valign="top">Indicates a normal frame.</td></tr>
76
84
<tr><td valign="top"><tt>QStyleOptionFrameV2::Flat</tt></td><td align="center" valign="top"><tt>0x01</tt></td><td valign="top">Indicates a flat frame.</td></tr>
77
85
</table></p>
78
86
<p>The FrameFeatures type is a typedef for <a href="qflags.html">QFlags</a>&lt;FrameFeature&gt;. It stores an OR combination of FrameFeature values.</p>
 
87
<a name="//apple_ref/cpp/tag/QStyleOptionFrameV2/StyleOptionVersion" />
 
88
<a name="//apple_ref/cpp/econst/QStyleOptionFrameV2/Version" />
79
89
<h3 class="fn"><a name="StyleOptionVersion-enum"></a>enum QStyleOptionFrameV2::StyleOptionVersion</h3>
80
90
<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>
81
 
<p><table border="1" cellpadding="2" cellspacing="1" width="100%">
 
91
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
82
92
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
83
93
<tr><td valign="top"><tt>QStyleOptionFrameV2::Version</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">2</td></tr>
84
94
</table></p>
86
96
<p>See also <a href="qstyleoptionframe.html#StyleOptionType-enum">StyleOptionType</a>.</p>
87
97
<hr />
88
98
<h2>Member Function Documentation</h2>
 
99
<a name="//apple_ref/cpp/instm/QStyleOptionFrameV2/QStyleOptionFrameV2" />
89
100
<h3 class="fn"><a name="QStyleOptionFrameV2"></a>QStyleOptionFrameV2::QStyleOptionFrameV2 ()</h3>
90
101
<p>Constructs a <a href="qstyleoptionframev2.html">QStyleOptionFrameV2</a> object.</p>
91
102
<h3 class="fn"><a name="QStyleOptionFrameV2-2"></a>QStyleOptionFrameV2::QStyleOptionFrameV2 ( const QStyleOptionFrameV2 &amp; <i>other</i> )</h3>
94
105
<p>Constructs a <a href="qstyleoptionframev2.html">QStyleOptionFrameV2</a> copy of the <i>other</i> style option which can be either of the <a href="qstyleoptionframev2.html">QStyleOptionFrameV2</a> or <a href="qstyleoptionframe.html">QStyleOptionFrame</a> types.</p>
95
106
<p>If the <i>other</i> style option's version is 1, the new style option's <a href="qstyleoptionframev2.html#FrameFeature-enum">FrameFeature</a> value is set to <a href="qstyleoptionframev2.html#FrameFeature-enum">QStyleOptionFrameV2::None</a>. If its version is 2, its <a href="qstyleoptionframev2.html#FrameFeature-enum">FrameFeature</a> value is simply copied to the new style option.</p>
96
107
<p>See also <a href="qstyleoption.html#version-var">version</a>.</p>
 
108
<a name="//apple_ref/cpp/instm/QStyleOptionFrameV2/operator=" />
97
109
<h3 class="fn"><a name="operator-eq"></a>QStyleOptionFrameV2 &amp; QStyleOptionFrameV2::operator= ( const <a href="qstyleoptionframe.html">QStyleOptionFrame</a> &amp; <i>other</i> )</h3>
98
110
<p>Assigns the <i>other</i> style option to this style option. The <i>other</i> style option can be either of the <a href="qstyleoptionframev2.html">QStyleOptionFrameV2</a> or <a href="qstyleoptionframe.html">QStyleOptionFrame</a> types.</p>
99
111
<p>If the <i>other</i> style option's version is 1, this style option's <a href="qstyleoptionframev2.html#FrameFeature-enum">FrameFeature</a> value is set to <a href="qstyleoptionframev2.html#FrameFeature-enum">QStyleOptionFrameV2::None</a>. If its version is 2, its <a href="qstyleoptionframev2.html#FrameFeature-enum">FrameFeature</a> value is simply copied to this style option.</p>
100
112
<hr />
101
113
<h2>Member Variable Documentation</h2>
 
114
<a name="//apple_ref/cpp/data/QStyleOptionFrameV2/features" />
102
115
<h3 class="fn"><a name="features-var"></a><a href="qstyleoptionframev2.html#FrameFeature-enum">FrameFeatures</a> QStyleOptionFrameV2::features</h3>
103
116
<p>This variable holds a bitwise OR of the features that describe this frame.</p>
104
117
<p>See also <a href="qstyleoptionframev2.html#FrameFeature-enum">FrameFeature</a>.</p>
105
118
<p /><address><hr /><div align="center">
106
119
<table width="100%" cellspacing="0" border="0"><tr class="address">
107
 
<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
108
 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
109
 
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
110
 
</tr></table></div></address></body>
 
120
<td width="40%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
 
121
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
122
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
 
123
<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>
111
124
</html>