source: trunk/doc/html/qplatinumstyle.html

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

reference documentation added

File size: 4.0 KB
RevLine 
[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/qplatinumstyle.cpp:53 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>QPlatinumStyle 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>QPlatinumStyle Class Reference</h1>
33
34<p>The QPlatinumStyle class provides Mac/Platinum look and feel.
35<a href="#details">More...</a>
36<p><tt>#include &lt;<a href="qplatinumstyle-h.html">qplatinumstyle.h</a>&gt;</tt>
37<p>Inherits <a href="qwindowsstyle.html">QWindowsStyle</a>.
38<p><a href="qplatinumstyle-members.html">List of all member functions.</a>
39<h2>Public Members</h2>
40<ul>
41<li class=fn><a href="#QPlatinumStyle"><b>QPlatinumStyle</b></a> ()</li>
42</ul>
43<h2>Protected Members</h2>
44<ul>
45<li class=fn>QColor <a href="#mixedColor"><b>mixedColor</b></a> ( const&nbsp;QColor&nbsp;&amp;&nbsp;c1, const&nbsp;QColor&nbsp;&amp;&nbsp;c2 ) const</li>
46<li class=fn>void <a href="#drawRiffles"><b>drawRiffles</b></a> ( QPainter&nbsp;*&nbsp;p, int&nbsp;x, int&nbsp;y, int&nbsp;w, int&nbsp;h, const&nbsp;QColorGroup&nbsp;&amp;&nbsp;g, bool&nbsp;horizontal ) const</li>
47</ul>
48<hr><a name="details"></a><h2>Detailed Description</h2>
49
50
51The QPlatinumStyle class provides Mac/Platinum look and feel.
52<p>
53<p> This class implements the Platinum look and feel. It's an
54experimental class that tries to resemble a Macinosh-like GUI
55style with the <a href="qstyle.html">QStyle</a> system. The emulation is currently far from
56perfect.
57<p> <p>See also QAquaStyle and <a href="appearance.html">Widget Appearance and Style</a>.
58
59<hr><h2>Member Function Documentation</h2>
60<h3 class=fn><a name="QPlatinumStyle"></a>QPlatinumStyle::QPlatinumStyle ()
61</h3>
62Constructs a QPlatinumStyle
63
64<h3 class=fn>void <a name="drawRiffles"></a>QPlatinumStyle::drawRiffles ( <a href="qpainter.html">QPainter</a>&nbsp;*&nbsp;p, int&nbsp;x, int&nbsp;y, int&nbsp;w, int&nbsp;h, const&nbsp;<a href="qcolorgroup.html">QColorGroup</a>&nbsp;&amp;&nbsp;g, bool&nbsp;horizontal ) const<tt> [protected]</tt>
65</h3>
66Draws the nifty Macintosh decoration used on sliders using painter
67<em>p</em> and colorgroup <em>g</em>. <em>x</em>, <em>y</em>, <em>w</em>, <em>h</em> and <em>horizontal</em>
68specify the geometry and orientation of the riffles.
69
70<h3 class=fn><a href="qcolor.html">QColor</a> <a name="mixedColor"></a>QPlatinumStyle::mixedColor ( const&nbsp;<a href="qcolor.html">QColor</a>&nbsp;&amp;&nbsp;c1, const&nbsp;<a href="qcolor.html">QColor</a>&nbsp;&amp;&nbsp;c2 ) const<tt> [protected]</tt>
71</h3>
72Mixes two colors <em>c1</em> and <em>c2</em> to a new color.
73
74<!-- eof -->
75<hr><p>
76This file is part of the <a href="index.html">Qt toolkit</a>.
77Copyright &copy; 1995-2007
78<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
79<table width=100% cellspacing=0 border=0><tr>
80<td>Copyright &copy; 2007
81<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
82<td align=right><div align=right>Qt 3.3.8</div>
83</table></div></address></body>
84</html>
Note: See TracBrowser for help on using the repository browser.