Sophie

Sophie

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

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">
<!-- qabstractfontengine_qws.cpp -->
<head>
  <title>Qt 4.6: QFontEngineInfo Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<a name="//apple_ref/cpp/cl//QFontEngineInfo"></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">QFontEngineInfo Class Reference<br /><span class="small-subtitle">[<a href="qtgui.html">QtGui</a> module]</span>
</h1>
<p>The QFontEngineInfo class describes a specific font provided by a font engine plugin. <a href="#details">More...</a></p>
<pre> #include &lt;QFontEngineInfo&gt;</pre><p><b>This class is under development and is subject to change.</b></p>
<p>This class was introduced in Qt 4.3.</p>
<ul>
<li><a href="qfontengineinfo-members.html">List of all members, including inherited members</a></li>
</ul>
<hr />
<a name="properties"></a>
<h2>Properties</h2>
<p><table class="propsummary" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td width="45%" valign="top"><ul>
<li><div class="fn"><b><a href="qfontengineinfo.html#family-prop">family</a></b> : QString</div></li>
<li><div class="fn"><b><a href="qfontengineinfo.html#pixelSize-prop">pixelSize</a></b> : qreal</div></li>
<li><div class="fn"><b><a href="qfontengineinfo.html#style-prop">style</a></b> : QFont::Style</div></li>
</ul></td><td valign="top"><ul>
<li><div class="fn"><b><a href="qfontengineinfo.html#weight-prop">weight</a></b> : int</div></li>
<li><div class="fn"><b><a href="qfontengineinfo.html#writingSystems-prop">writingSystems</a></b> : QList&lt;QFontDatabase::WritingSystem&gt;</div></li>
</ul>
</td></tr>
</table></p>
<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="qfontengineinfo.html#QFontEngineInfo">QFontEngineInfo</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#QFontEngineInfo-2">QFontEngineInfo</a></b> ( const QString &amp; <i>family</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#QFontEngineInfo-3">QFontEngineInfo</a></b> ( const QFontEngineInfo &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#dtor.QFontEngineInfo">~QFontEngineInfo</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#family-prop">family</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">qreal </td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#pixelSize-prop">pixelSize</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#family-prop">setFamily</a></b> ( const QString &amp; <i>name</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#pixelSize-prop">setPixelSize</a></b> ( qreal <i>size</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#style-prop">setStyle</a></b> ( QFont::Style <i>style</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#weight-prop">setWeight</a></b> ( int <i>weight</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#writingSystems-prop">setWritingSystems</a></b> ( const QList&lt;QFontDatabase::WritingSystem&gt; &amp; <i>writingSystems</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QFont::Style </td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#style-prop">style</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#weight-prop">weight</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QList&lt;QFontDatabase::WritingSystem&gt; </td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#writingSystems-prop">writingSystems</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QFontEngineInfo &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qfontengineinfo.html#operator-eq">operator=</a></b> ( const QFontEngineInfo &amp; <i>other</i> )</td></tr>
</table>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QFontEngineInfo class describes a specific font provided by a font engine plugin.</p>
<p>QFontEngineInfo is used to describe a request of a font to a font engine plugin as well as to describe the actual fonts a plugin provides.</p>
<p>See also <a href="qabstractfontengine.html">QAbstractFontEngine</a> and <a href="qfontengineplugin.html">QFontEnginePlugin</a>.</p>
<hr />
<h2>Property Documentation</h2>
<a name="//apple_ref/cpp/instm/QFontEngineInfo/family"></a>
<a name="//apple_ref/cpp/instm/QFontEngineInfo/setFamily"></a>
<h3 class="fn"><a name="family-prop"></a>family : <a href="qstring.html">QString</a></h3>
<p>the family name of the font</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b>family</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setFamily</b> ( const QString &amp; <i>name</i> )</td></tr>
</table>
<a name="//apple_ref/cpp/instm/QFontEngineInfo/pixelSize"></a>
<a name="//apple_ref/cpp/instm/QFontEngineInfo/setPixelSize"></a>
<h3 class="fn"><a name="pixelSize-prop"></a>pixelSize : <a href="qtglobal.html#qreal-typedef">qreal</a></h3>
<p>the pixel size of the font</p>
<p>A pixel size of 0 represents a freely scalable font.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">qreal </td><td class="memItemRight" valign="bottom"><b>pixelSize</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setPixelSize</b> ( qreal <i>size</i> )</td></tr>
</table>
<a name="//apple_ref/cpp/instm/QFontEngineInfo/style"></a>
<a name="//apple_ref/cpp/instm/QFontEngineInfo/setStyle"></a>
<h3 class="fn"><a name="style-prop"></a>style : <a href="qfont.html#Style-enum">QFont::Style</a></h3>
<p>the style of the font</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">QFont::Style </td><td class="memItemRight" valign="bottom"><b>style</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setStyle</b> ( QFont::Style <i>style</i> )</td></tr>
</table>
<a name="//apple_ref/cpp/instm/QFontEngineInfo/weight"></a>
<a name="//apple_ref/cpp/instm/QFontEngineInfo/setWeight"></a>
<h3 class="fn"><a name="weight-prop"></a>weight : int</h3>
<p>the weight of the font</p>
<p>The value should be from the <a href="qfont.html#Weight-enum">QFont::Weight</a> enumeration.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b>weight</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setWeight</b> ( int <i>weight</i> )</td></tr>
</table>
<a name="//apple_ref/cpp/instm/QFontEngineInfo/writingSystems"></a>
<a name="//apple_ref/cpp/instm/QFontEngineInfo/setWritingSystems"></a>
<h3 class="fn"><a name="writingSystems-prop"></a>writingSystems : <a href="qlist.html">QList</a>&lt;<a href="qfontdatabase.html#WritingSystem-enum">QFontDatabase::WritingSystem</a>&gt;</h3>
<p>the writing systems supported by the font</p>
<p>An empty list means that any writing system is supported.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">QList&lt;QFontDatabase::WritingSystem&gt; </td><td class="memItemRight" valign="bottom"><b>writingSystems</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setWritingSystems</b> ( const QList&lt;QFontDatabase::WritingSystem&gt; &amp; <i>writingSystems</i> )</td></tr>
</table>
<hr />
<h2>Member Function Documentation</h2>
<a name="//apple_ref/cpp/instm/QFontEngineInfo/QFontEngineInfo"></a>
<h3 class="fn"><a name="QFontEngineInfo"></a>QFontEngineInfo::QFontEngineInfo ()</h3>
<p>Constructs a new empty <a href="qfontengineinfo.html">QFontEngineInfo</a>.</p>
<h3 class="fn"><a name="QFontEngineInfo-2"></a>QFontEngineInfo::QFontEngineInfo ( const <a href="qstring.html">QString</a> &amp; <i>family</i> )</h3>
<p>Constructs a new <a href="qfontengineinfo.html">QFontEngineInfo</a> with the specified <i>family</i>. The resulting object represents a freely scalable font with normal weight and style.</p>
<h3 class="fn"><a name="QFontEngineInfo-3"></a>QFontEngineInfo::QFontEngineInfo ( const QFontEngineInfo &amp; <i>other</i> )</h3>
<p>Creates a new font engine info object with the same attributes as <i>other</i>.</p>
<a name="//apple_ref/cpp/instm/QFontEngineInfo/~QFontEngineInfo"></a>
<h3 class="fn"><a name="dtor.QFontEngineInfo"></a>QFontEngineInfo::~QFontEngineInfo ()</h3>
<p>Destroys this <a href="qfontengineinfo.html">QFontEngineInfo</a> object.</p>
<a name="//apple_ref/cpp/instm/QFontEngineInfo/operator="></a>
<h3 class="fn"><a name="operator-eq"></a>QFontEngineInfo &amp; QFontEngineInfo::operator= ( const QFontEngineInfo &amp; <i>other</i> )</h3>
<p>Assigns <i>other</i> to this font engine info object, and returns a reference to this.</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>