Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 8e6051afcdb111a0317a58fb64c2abf5 > files > 5520

qt4-doc-4.6.3-0.2mdv2010.2.i586.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- qwindowsstyle.cpp -->
<head>
  <title>Qt 4.6: QWindowsStyle Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<a name="//apple_ref/cpp/cl//QWindowsStyle"></a>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<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>
<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></tr></table><h1 class="title">QWindowsStyle Class Reference<br /><span class="small-subtitle">[<a href="qtgui.html">QtGui</a> module]</span>
</h1>
<p>The QWindowsStyle class provides a Microsoft Windows-like look and feel. <a href="#details">More...</a></p>
<pre> #include &lt;QWindowsStyle&gt;</pre><p>Inherits <a href="qcommonstyle.html">QCommonStyle</a>.</p>
<p>Inherited by <a href="qcleanlooksstyle.html">QCleanlooksStyle</a>, <a href="qmacstyle.html">QMacStyle</a>, <a href="qplastiquestyle.html">QPlastiqueStyle</a>, and <a href="qwindowsxpstyle.html">QWindowsXPStyle</a>.</p>
<ul>
<li><a href="qwindowsstyle-members.html">List of all members, including inherited members</a></li>
</ul>
<hr />
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#QWindowsStyle">QWindowsStyle</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#dtor.QWindowsStyle">~QWindowsStyle</a></b> ()</td></tr>
</table>
<hr />
<a name="reimplemented-public-functions"></a>
<h2>Reimplemented Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#drawComplexControl">drawComplexControl</a></b> ( ComplexControl <i>cc</i>, const QStyleOptionComplex * <i>opt</i>, QPainter * <i>p</i>, const QWidget * <i>widget</i> = 0 ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#drawControl">drawControl</a></b> ( ControlElement <i>ce</i>, const QStyleOption * <i>opt</i>, QPainter * <i>p</i>, const QWidget * <i>widget</i> = 0 ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#drawPrimitive">drawPrimitive</a></b> ( PrimitiveElement <i>pe</i>, const QStyleOption * <i>opt</i>, QPainter * <i>p</i>, const QWidget * <i>w</i> = 0 ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#pixelMetric">pixelMetric</a></b> ( PixelMetric <i>pm</i>, const QStyleOption * <i>opt</i> = 0, const QWidget * <i>widget</i> = 0 ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#polish">polish</a></b> ( QApplication * <i>app</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#polish-2">polish</a></b> ( QWidget * <i>widget</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#polish-3">polish</a></b> ( QPalette &amp; <i>pal</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#sizeFromContents">sizeFromContents</a></b> ( ContentsType <i>ct</i>, const QStyleOption * <i>opt</i>, const QSize &amp; <i>csz</i>, const QWidget * <i>widget</i> = 0 ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QPixmap </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#standardPixmap">standardPixmap</a></b> ( StandardPixmap <i>standardPixmap</i>, const QStyleOption * <i>opt</i>, const QWidget * <i>widget</i> = 0 ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#styleHint">styleHint</a></b> ( StyleHint <i>hint</i>, const QStyleOption * <i>opt</i> = 0, const QWidget * <i>widget</i> = 0, QStyleHintReturn * <i>returnData</i> = 0 ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QRect </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#subElementRect">subElementRect</a></b> ( SubElement <i>sr</i>, const QStyleOption * <i>opt</i>, const QWidget * <i>w</i> = 0 ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#unpolish">unpolish</a></b> ( QApplication * <i>app</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#unpolish-2">unpolish</a></b> ( QWidget * <i>widget</i> )</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>16 public functions inherited from <a href="qcommonstyle.html#public-functions">QCommonStyle</a></li>
<li><div bar="2" class="fn"></div>24 public functions inherited from <a href="qstyle.html#public-functions">QStyle</a></li>
<li><div bar="2" class="fn"></div>29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
</ul>
<hr />
<a name="reimplemented-protected-functions"></a>
<h2>Reimplemented Protected Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#eventFilter">eventFilter</a></b> ( QObject * <i>o</i>, QEvent * <i>e</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qwindowsstyle.html#timerEvent">timerEvent</a></b> ( QTimerEvent * <i>event</i> )</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li><div class="fn"></div>1 property inherited from <a href="qobject.html#properties">QObject</a></li>
<li><div class="fn"></div>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
<li><div class="fn"></div>1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
<li><div class="fn"></div>6 static public members inherited from <a href="qstyle.html#static-public-members">QStyle</a></li>
<li><div class="fn"></div>5 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
<li><div class="fn"></div>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
<li><div class="fn"></div>2 protected slots inherited from <a href="qstyle.html#protected-slots">QStyle</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QWindowsStyle class provides a Microsoft Windows-like look and feel.</p>
<p>This style is Qt's default GUI style on Windows.</p>
<p align="center"><img src="images/qwindowsstyle.png" /></p><p>See also <a href="qwindowsxpstyle.html">QWindowsXPStyle</a>, <a href="qmacstyle.html">QMacStyle</a>, <a href="qplastiquestyle.html">QPlastiqueStyle</a>, <a href="qcdestyle.html">QCDEStyle</a>, and <a href="qmotifstyle.html">QMotifStyle</a>.</p>
<hr />
<h2>Member Function Documentation</h2>
<a name="//apple_ref/cpp/instm/QWindowsStyle/QWindowsStyle"></a>
<h3 class="fn"><a name="QWindowsStyle"></a>QWindowsStyle::QWindowsStyle ()</h3>
<p>Constructs a <a href="qwindowsstyle.html">QWindowsStyle</a> object.</p>
<a name="//apple_ref/cpp/instm/QWindowsStyle/~QWindowsStyle"></a>
<h3 class="fn"><a name="dtor.QWindowsStyle"></a>QWindowsStyle::~QWindowsStyle ()</h3>
<p>Destroys the <a href="qwindowsstyle.html">QWindowsStyle</a> object.</p>
<a name="//apple_ref/cpp/instm/QWindowsStyle/drawComplexControl"></a>
<h3 class="fn"><a name="drawComplexControl"></a>void QWindowsStyle::drawComplexControl ( <a href="qstyle.html#ComplexControl-enum">ComplexControl</a> <i>cc</i>, const <a href="qstyleoptioncomplex.html">QStyleOptionComplex</a> * <i>opt</i>, <a href="qpainter.html">QPainter</a> * <i>p</i>, const <a href="qwidget.html">QWidget</a> * <i>widget</i> = 0 ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qstyle.html#drawComplexControl">QStyle::drawComplexControl</a>().</p>
<a name="//apple_ref/cpp/instm/QWindowsStyle/drawControl"></a>
<h3 class="fn"><a name="drawControl"></a>void QWindowsStyle::drawControl ( <a href="qstyle.html#ControlElement-enum">ControlElement</a> <i>ce</i>, const <a href="qstyleoption.html">QStyleOption</a> * <i>opt</i>, <a href="qpainter.html">QPainter</a> * <i>p</i>, const <a href="qwidget.html">QWidget</a> * <i>widget</i> = 0 ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qstyle.html#drawControl">QStyle::drawControl</a>().</p>
<a name="//apple_ref/cpp/instm/QWindowsStyle/drawPrimitive"></a>
<h3 class="fn"><a name="drawPrimitive"></a>void QWindowsStyle::drawPrimitive ( <a href="qstyle.html#PrimitiveElement-enum">PrimitiveElement</a> <i>pe</i>, const <a href="qstyleoption.html">QStyleOption</a> * <i>opt</i>, <a href="qpainter.html">QPainter</a> * <i>p</i>, const <a href="qwidget.html">QWidget</a> * <i>w</i> = 0 ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qstyle.html#drawPrimitive">QStyle::drawPrimitive</a>().</p>
<a name="//apple_ref/cpp/instm/QWindowsStyle/eventFilter"></a>
<h3 class="fn"><a name="eventFilter"></a>bool QWindowsStyle::eventFilter ( <a href="qobject.html">QObject</a> * <i>o</i>, <a href="qevent.html">QEvent</a> * <i>e</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qobject.html#eventFilter">QObject::eventFilter</a>().</p>
<a name="//apple_ref/cpp/instm/QWindowsStyle/pixelMetric"></a>
<h3 class="fn"><a name="pixelMetric"></a>int QWindowsStyle::pixelMetric ( <a href="qstyle.html#PixelMetric-enum">PixelMetric</a> <i>pm</i>, const <a href="qstyleoption.html">QStyleOption</a> * <i>opt</i> = 0, const <a href="qwidget.html">QWidget</a> * <i>widget</i> = 0 ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qstyle.html#pixelMetric">QStyle::pixelMetric</a>().</p>
<a name="//apple_ref/cpp/instm/QWindowsStyle/polish"></a>
<h3 class="fn"><a name="polish"></a>void QWindowsStyle::polish ( <a href="qapplication.html">QApplication</a> * <i>app</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qstyle.html#polish-2">QStyle::polish</a>().</p>
<h3 class="fn"><a name="polish-2"></a>void QWindowsStyle::polish ( <a href="qwidget.html">QWidget</a> * <i>widget</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qstyle.html#polish">QStyle::polish</a>().</p>
<h3 class="fn"><a name="polish-3"></a>void QWindowsStyle::polish ( <a href="qpalette.html">QPalette</a> &amp; <i>pal</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qstyle.html#polish-3">QStyle::polish</a>().</p>
<a name="//apple_ref/cpp/instm/QWindowsStyle/sizeFromContents"></a>
<h3 class="fn"><a name="sizeFromContents"></a><a href="qsize.html">QSize</a> QWindowsStyle::sizeFromContents ( <a href="qstyle.html#ContentsType-enum">ContentsType</a> <i>ct</i>, const <a href="qstyleoption.html">QStyleOption</a> * <i>opt</i>, const <a href="qsize.html">QSize</a> &amp; <i>csz</i>, const <a href="qwidget.html">QWidget</a> * <i>widget</i> = 0 ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qstyle.html#sizeFromContents">QStyle::sizeFromContents</a>().</p>
<a name="//apple_ref/cpp/instm/QWindowsStyle/standardPixmap"></a>
<h3 class="fn"><a name="standardPixmap"></a><a href="qpixmap.html">QPixmap</a> QWindowsStyle::standardPixmap ( <a href="qstyle.html#StandardPixmap-enum">StandardPixmap</a> <i>standardPixmap</i>, const <a href="qstyleoption.html">QStyleOption</a> * <i>opt</i>, const <a href="qwidget.html">QWidget</a> * <i>widget</i> = 0 ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qstyle-obsolete.html#standardPixmap" class="obsolete">QStyle::standardPixmap</a>().</p>
<a name="//apple_ref/cpp/instm/QWindowsStyle/styleHint"></a>
<h3 class="fn"><a name="styleHint"></a>int QWindowsStyle::styleHint ( <a href="qstyle.html#StyleHint-enum">StyleHint</a> <i>hint</i>, const <a href="qstyleoption.html">QStyleOption</a> * <i>opt</i> = 0, const <a href="qwidget.html">QWidget</a> * <i>widget</i> = 0, <a href="qstylehintreturn.html">QStyleHintReturn</a> * <i>returnData</i> = 0 ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qstyle.html#styleHint">QStyle::styleHint</a>().</p>
<a name="//apple_ref/cpp/instm/QWindowsStyle/subElementRect"></a>
<h3 class="fn"><a name="subElementRect"></a><a href="qrect.html">QRect</a> QWindowsStyle::subElementRect ( <a href="qstyle.html#SubElement-enum">SubElement</a> <i>sr</i>, const <a href="qstyleoption.html">QStyleOption</a> * <i>opt</i>, const <a href="qwidget.html">QWidget</a> * <i>w</i> = 0 ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qstyle.html#subElementRect">QStyle::subElementRect</a>().</p>
<a name="//apple_ref/cpp/instm/QWindowsStyle/timerEvent"></a>
<h3 class="fn"><a name="timerEvent"></a>void QWindowsStyle::timerEvent ( <a href="qtimerevent.html">QTimerEvent</a> * <i>event</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qobject.html#timerEvent">QObject::timerEvent</a>().</p>
<a name="//apple_ref/cpp/instm/QWindowsStyle/unpolish"></a>
<h3 class="fn"><a name="unpolish"></a>void QWindowsStyle::unpolish ( <a href="qapplication.html">QApplication</a> * <i>app</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qstyle.html#unpolish-2">QStyle::unpolish</a>().</p>
<h3 class="fn"><a name="unpolish-2"></a>void QWindowsStyle::unpolish ( <a href="qwidget.html">QWidget</a> * <i>widget</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qstyle.html#unpolish">QStyle::unpolish</a>().</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="40%" align="left">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies)</td>
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="40%" align="right"><div align="right">Qt 4.6.3</div></td>
</tr></table></div></address></body>
</html>