source: trunk/doc/html/qmotifstyle.html@ 208

Last change on this file since 208 was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 4.3 KB
Line 
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"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { 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&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;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&nbsp;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 &lt;<a href="qmotifstyle-h.html">qmotifstyle.h</a>&gt;</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&nbsp;useHighlightCols = FALSE )</li>
43<li class=fn>void <a href="#setUseHighlightColors"><b>setUseHighlightColors</b></a> ( bool&nbsp;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
49The 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
52resembles the original Motif look as defined by the Open Group,
53but with some minor improvements. The Motif style is Qt's default
54GUI 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&nbsp;useHighlightCols = FALSE )
59</h3>
60Constructs a QMotifStyle.
61<p> If <em>useHighlightCols</em> is FALSE (the default), the style will
62polish the application's color palette to emulate the <a href="motif-extension.html#Motif">Motif</a> way of
63highlighting, which is a simple inversion between the base and the
64text color.
65
66<h3 class=fn>void <a name="setUseHighlightColors"></a>QMotifStyle::setUseHighlightColors ( bool&nbsp;arg )
67</h3>
68If <em>arg</em> is FALSE, the style will polish the application's color
69palette to emulate the <a href="motif-extension.html#Motif">Motif</a> way of highlighting, which is a
70simple inversion between the base and the text color.
71<p> The effect will show up the next time an application palette is
72set via <a href="qapplication.html#setPalette">QApplication::setPalette</a>(). The current color palette of
73the 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>
78Returns TRUE if the style treats the highlight colors of the
79palette in a <a href="motif-extension.html#Motif">Motif</a>-like manner, which is a simple inversion
80between the base and the text color; otherwise returns FALSE. The
81default is FALSE.
82
83<!-- eof -->
84<hr><p>
85This file is part of the <a href="index.html">Qt toolkit</a>.
86Copyright &copy; 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 &copy; 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>
Note: See TracBrowser for help on using the repository browser.