[190] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
---|
| 2 | <!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/styles/qmotifstyle.cpp:76 -->
|
---|
| 3 | <html>
|
---|
| 4 | <head>
|
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
---|
| 6 | <title>QMotifStyle Class</title>
|
---|
| 7 | <style type="text/css"><!--
|
---|
| 8 | fn { margin-left: 1cm; text-indent: -1cm; }
|
---|
| 9 | a:link { color: #004faf; text-decoration: none }
|
---|
| 10 | a:visited { color: #672967; text-decoration: none }
|
---|
| 11 | body { background: #ffffff; color: black; }
|
---|
| 12 | --></style>
|
---|
| 13 | </head>
|
---|
| 14 | <body>
|
---|
| 15 |
|
---|
| 16 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
| 17 | <tr bgcolor="#E5E5E5">
|
---|
| 18 | <td valign=center>
|
---|
| 19 | <a href="index.html">
|
---|
| 20 | <font color="#004faf">Home</font></a>
|
---|
| 21 | | <a href="classes.html">
|
---|
| 22 | <font color="#004faf">All Classes</font></a>
|
---|
| 23 | | <a href="mainclasses.html">
|
---|
| 24 | <font color="#004faf">Main Classes</font></a>
|
---|
| 25 | | <a href="annotated.html">
|
---|
| 26 | <font color="#004faf">Annotated</font></a>
|
---|
| 27 | | <a href="groups.html">
|
---|
| 28 | <font color="#004faf">Grouped Classes</font></a>
|
---|
| 29 | | <a href="functions.html">
|
---|
| 30 | <font color="#004faf">Functions</font></a>
|
---|
| 31 | </td>
|
---|
| 32 | <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QMotifStyle Class Reference</h1>
|
---|
| 33 |
|
---|
| 34 | <p>The QMotifStyle class provides Motif look and feel.
|
---|
| 35 | <a href="#details">More...</a>
|
---|
| 36 | <p><tt>#include <<a href="qmotifstyle-h.html">qmotifstyle.h</a>></tt>
|
---|
| 37 | <p>Inherits <a href="qcommonstyle.html">QCommonStyle</a>.
|
---|
| 38 | <p>Inherited by <a href="qcdestyle.html">QCDEStyle</a>, <a href="qmotifplusstyle.html">QMotifPlusStyle</a>, and <a href="qsgistyle.html">QSGIStyle</a>.
|
---|
| 39 | <p><a href="qmotifstyle-members.html">List of all member functions.</a>
|
---|
| 40 | <h2>Public Members</h2>
|
---|
| 41 | <ul>
|
---|
| 42 | <li class=fn><a href="#QMotifStyle"><b>QMotifStyle</b></a> ( bool useHighlightCols = FALSE )</li>
|
---|
| 43 | <li class=fn>void <a href="#setUseHighlightColors"><b>setUseHighlightColors</b></a> ( bool arg )</li>
|
---|
| 44 | <li class=fn>bool <a href="#useHighlightColors"><b>useHighlightColors</b></a> () const</li>
|
---|
| 45 | </ul>
|
---|
| 46 | <hr><a name="details"></a><h2>Detailed Description</h2>
|
---|
| 47 |
|
---|
| 48 |
|
---|
| 49 | The QMotifStyle class provides <a href="motif-extension.html#Motif">Motif</a> look and feel.
|
---|
| 50 | <p>
|
---|
| 51 | <p> This class implements the Motif look and feel. It closely
|
---|
| 52 | resembles the original Motif look as defined by the Open Group,
|
---|
| 53 | but with some minor improvements. The Motif style is Qt's default
|
---|
| 54 | GUI style on UNIX platforms.
|
---|
| 55 | <p>See also <a href="appearance.html">Widget Appearance and Style</a>.
|
---|
| 56 |
|
---|
| 57 | <hr><h2>Member Function Documentation</h2>
|
---|
| 58 | <h3 class=fn><a name="QMotifStyle"></a>QMotifStyle::QMotifStyle ( bool useHighlightCols = FALSE )
|
---|
| 59 | </h3>
|
---|
| 60 | Constructs a QMotifStyle.
|
---|
| 61 | <p> If <em>useHighlightCols</em> is FALSE (the default), the style will
|
---|
| 62 | polish the application's color palette to emulate the <a href="motif-extension.html#Motif">Motif</a> way of
|
---|
| 63 | highlighting, which is a simple inversion between the base and the
|
---|
| 64 | text color.
|
---|
| 65 |
|
---|
| 66 | <h3 class=fn>void <a name="setUseHighlightColors"></a>QMotifStyle::setUseHighlightColors ( bool arg )
|
---|
| 67 | </h3>
|
---|
| 68 | If <em>arg</em> is FALSE, the style will polish the application's color
|
---|
| 69 | palette to emulate the <a href="motif-extension.html#Motif">Motif</a> way of highlighting, which is a
|
---|
| 70 | simple inversion between the base and the text color.
|
---|
| 71 | <p> The effect will show up the next time an application palette is
|
---|
| 72 | set via <a href="qapplication.html#setPalette">QApplication::setPalette</a>(). The current color palette of
|
---|
| 73 | the application remains unchanged.
|
---|
| 74 | <p> <p>See also <a href="qstyle.html#polish">QStyle::polish</a>().
|
---|
| 75 |
|
---|
| 76 | <h3 class=fn>bool <a name="useHighlightColors"></a>QMotifStyle::useHighlightColors () const
|
---|
| 77 | </h3>
|
---|
| 78 | Returns TRUE if the style treats the highlight colors of the
|
---|
| 79 | palette in a <a href="motif-extension.html#Motif">Motif</a>-like manner, which is a simple inversion
|
---|
| 80 | between the base and the text color; otherwise returns FALSE. The
|
---|
| 81 | default is FALSE.
|
---|
| 82 |
|
---|
| 83 | <!-- eof -->
|
---|
| 84 | <hr><p>
|
---|
| 85 | This file is part of the <a href="index.html">Qt toolkit</a>.
|
---|
| 86 | Copyright © 1995-2007
|
---|
| 87 | <a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
|
---|
| 88 | <table width=100% cellspacing=0 border=0><tr>
|
---|
| 89 | <td>Copyright © 2007
|
---|
| 90 | <a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
|
---|
| 91 | <td align=right><div align=right>Qt 3.3.8</div>
|
---|
| 92 | </table></div></address></body>
|
---|
| 93 | </html>
|
---|