Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 397cf13019f8c526877f271962f26f4c > files > 1549

libqt3-devel-3.1.1-13mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- /home/reggie/tmp/qt-3.1-reggie-23625/qt-x11-free-3.1.1/src/styles/qmacstyle_mac.cpp:220 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>QMacStyle Class</title>
<style type="text/css"><!--
h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
body { background: #ffffff; color: black; }
--></style>
</head>
<body>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#E5E5E5">
<td valign=center>
 <a href="index.html">
<font color="#004faf">Home</font></a>
 | <a href="classes.html">
<font color="#004faf">All&nbsp;Classes</font></a>
 | <a href="mainclasses.html">
<font color="#004faf">Main&nbsp;Classes</font></a>
 | <a href="annotated.html">
<font color="#004faf">Annotated</font></a>
 | <a href="groups.html">
<font color="#004faf">Grouped&nbsp;Classes</font></a>
 | <a href="functions.html">
<font color="#004faf">Functions</font></a>
</td>
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QMacStyle Class Reference</h1>

<p>The QMacStyle class implements an Appearance Manager style.
<a href="#details">More...</a>
<p><tt>#include &lt;<a href="qmacstyle_mac-h.html">qmacstyle_mac.h</a>&gt;</tt>
<p>Inherits <a href="qwindowsstyle.html">QWindowsStyle</a>.
<p><a href="qmacstyle-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
<li><div class=fn><a href="#QMacStyle"><b>QMacStyle</b></a> ()</div></li>
<li><div class=fn>virtual <a href="#~QMacStyle"><b>~QMacStyle</b></a> ()</div></li>
</ul>
<hr><a name="details"></a><h2>Detailed Description</h2>


The QMacStyle class implements an Appearance Manager style.
<p> 
<p> This class is implemented as a wrapper to the Apple Appearance
Manager. This allows your application to be styled by whatever
theme your Macintosh is using. This is done by having primitives
in <a href="qstyle.html">QStyle</a> implemented in terms of what the Macintosh would
normally theme (i.e. the Finder). 
<p> There are additional issues that should be taken
into consideration to make an application compatible with the
<a href="http://developer.apple.com/techpubs/macosx/Carbon/HumanInterfaceToolbox/Aqua/aqua.html">Aqua Style Guidelines</a>. Some of these issues are outlined
below.
<p> <ul>
<p> <li> Layout - The restrictions on window layout are such that some
aspects of layout that are style-dependent cannot be achieved
using <a href="qlayout.html">QLayout</a>. Changes are being considered (and feedback would be
appreciated) to make layouts QStyle-able. Some of the restrictions
involve horizontal and vertical widget alignment and widget size
(covered below).
<p> <li> Widget size - Aqua allows widgets to have specific fixed sizes.  Qt
does not fully implement this behaviour so as to maintain multiplatform
compatibility. As a result some widgets sizes may be inappropriate (and
subsequently not rendered correctly by the Appearance Manager).The
<a href="qwidget.html#sizeHint">QWidget::sizeHint</a>() will be return the appropriate size for many
managed widgets (widgets enumerated in QStyle::ContentsType).
<p> <li> Effects - QMacStyle (in contrast to QAquaStyle) is not emulating
(except where Appearance Manager does not provide certain
capabilities), for example <a href="qpushbutton.html">QPushButton</a> pulsing effects. In this case a
near matching emulation has been implemented, but naturally this will
not be as reliable as similar functionality built into the Appearance
Manager. Please report any issues you see in effects or non-standard
widgets.
<p> </ul>
<p> There are other issues that need to be considered in the feel of
your application (including the general color scheme to match the
Aqua colors). The Guidelines mentioned above will remain current
with new advances and design suggestions for Mac OS X.
<p> Note that the functions provided by QMacStyle are
reimplementations of <a href="qstyle.html">QStyle</a> functions; see QStyle for their
documentation.
<p>See also <a href="appearance.html">Widget Appearance and Style</a>.

<hr><h2>Member Function Documentation</h2>
<h3 class=fn><a name="QMacStyle"></a>QMacStyle::QMacStyle ()
</h3>
Constructs a QMacStyle object.

<h3 class=fn><a name="~QMacStyle"></a>QMacStyle::~QMacStyle ()<tt> [virtual]</tt>
</h3>
Destructs a QMacStyle object.

<!-- eof -->
<hr><p>
This file is part of the <a href="index.html">Qt toolkit</a>.
Copyright &copy; 1995-2002
<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
<table width=100% cellspacing=0 border=0><tr>
<td>Copyright &copy; 2002 
<a href="http://www.trolltech.com">Trolltech</a><td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a>
<td align=right><div align=right>Qt version 3.1.1</div>
</table></div></address></body>
</html>