Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 488

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:00:13 CEST 2007 -->
<TITLE>
QFont
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QFont class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QFont";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFocusFrame.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFont.Stretch.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QFont.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QFont.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.gui</FONT>
<BR>
Class QFont</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QFont</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A>, java.lang.Comparable</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QFont</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A><DT>implements java.lang.Comparable</DL>
</PRE>

<P>
<p>The <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a> class specifies a font used for drawing text.</p>
<p>When you create a <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a> object you specify various attributes that you want the font to have. Qt will use the font with the specified attributes, or if no matching font exists, Qt will use the closest matching installed font. The attributes of the font that is actually used are retrievable from a <a href="QFontInfo.html"><tt>QFontInfo</tt></a> object. If the window system provides an exact match <a href="QFont.html#exactMatch()"><tt>exactMatch</tt></a> returns true. Use <a href="QFontMetrics.html"><tt>QFontMetrics</tt></a> to get measurements, e.g&#x2e; the pixel length of a string using QFontMetrics::width().</p>
<p>Use QApplication::setFont() to set the application's default font.</p>
<p>If a chosen font does not include all the characters that need to be displayed, <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a> will try to find the characters in the nearest equivalent fonts. When a <a href="QPainter.html"><tt>QPainter</tt></a> draws a character from a font the <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a> will report whether or not it has the character; if it does not, <a href="QPainter.html"><tt>QPainter</tt></a> will draw an unfilled square.</p>
<p>Create QFonts like this:</p>
<pre>    QFont serifFont(&quot;Times&quot;, 10, Bold);
    QFont sansFont(&quot;Helvetica [Cronyx]&quot;, 12);</pre>
<p>The attributes set in the constructor can also be set later, e.g&#x2e; <a href="QFont.html#setFamily(java.lang.String)"><tt>setFamily</tt></a>, <a href="QFont.html#setPointSize(int)"><tt>setPointSize</tt></a>, setPointSizeFloat(), <a href="QFont.html#setWeight(int)"><tt>setWeight</tt></a> and <a href="QFont.html#setItalic(boolean)"><tt>setItalic</tt></a>. The remaining attributes must be set after contstruction, e.g&#x2e; <a href="QFont.html#setBold(boolean)"><tt>setBold</tt></a>, <a href="QFont.html#setUnderline(boolean)"><tt>setUnderline</tt></a>, <a href="QFont.html#setOverline(boolean)"><tt>setOverline</tt></a>, <a href="QFont.html#setStrikeOut(boolean)"><tt>setStrikeOut</tt></a> and <a href="QFont.html#setFixedPitch(boolean)"><tt>setFixedPitch</tt></a>. <a href="QFontInfo.html"><tt>QFontInfo</tt></a> objects should be created <i>after</i> the font's attributes have been set. A <a href="QFontInfo.html"><tt>QFontInfo</tt></a> object will not change, even if you change the font's attributes. The corresponding &quot;get&quot; functions, e.g&#x2e; <a href="QFont.html#family()"><tt>family</tt></a>, <a href="QFont.html#pointSize()"><tt>pointSize</tt></a>, etc., return the values that were set, even though the values used may differ. The actual values are available from a <a href="QFontInfo.html"><tt>QFontInfo</tt></a> object.</p>
<p>If the requested font family is unavailable you can influence the <a href="QFont.html#fontmatching">font matching algorithm</tt></a> by choosing a particular <tt>QFont::StyleHint</tt> and <tt>QFont::StyleStrategy</tt> with <a href="QFont.html#setStyleHint(com.trolltech.qt.gui.QFont.StyleHint, com.trolltech.qt.gui.QFont.StyleStrategy)"><tt>setStyleHint</tt></a>. The default family (corresponding to the current style hint) is returned by <a href="QFont.html#defaultFamily()"><tt>defaultFamily</tt></a>.</p>
<p>The font-matching algorithm has a <a href="QFont.html#lastResortFamily()"><tt>lastResortFamily</tt></a> and <a href="QFont.html#lastResortFont()"><tt>lastResortFont</tt></a> in cases where a suitable match cannot be found. You can provide substitutions for font family names using <a href="QFont.html#insertSubstitution(java.lang.String, java.lang.String)"><tt>insertSubstitution</tt></a> and <a href="QFont.html#insertSubstitutions(java.lang.String, java.util.List<java.lang.String>)"><tt>insertSubstitutions</tt></a>. Substitutions can be removed with <a href="QFont.html#removeSubstitution(java.lang.String)"><tt>removeSubstitution</tt></a>. Use <a href="QFont.html#substitute(java.lang.String)"><tt>substitute</tt></a> to retrieve a family's first substitute, or the family name itself if it has no substitutes. Use <a href="QFont.html#substitutes(java.lang.String)"><tt>substitutes</tt></a> to retrieve a list of a family's substitutes (which may be empty).</p>
<p>Every <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a> has a <a href="QFont.html#key()"><tt>key</tt></a> which you can use, for example, as the key in a cache or dictionary. If you want to store a user's font preferences you could use <a href="%2E%2E/core/QSettings.html"><tt>QSettings</tt></a>, writing the font information with <a href="QFont.html#toString()"><tt>toString</tt></a> and reading it back with <a href="QFont.html#fromString(java.lang.String)"><tt>fromString</tt></a>. The operator&lt;&lt;() and operator&gt;&gt;() functions are also available, but they work on a data stream.</p>
<p>It is possible to set the height of characters shown on the screen to a specified number of pixels with <a href="QFont.html#setPixelSize(int)"><tt>setPixelSize</tt></a>; however using <a href="QFont.html#setPointSize(int)"><tt>setPointSize</tt></a> has a similar effect and provides device independence.</p>
<p>Under X11 you can set a font using its system specific name with <a href="QFont.html#setRawName(java.lang.String)"><tt>setRawName</tt></a>.</p>
<p>Loading fonts can be expensive, especially on X11. <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a> contains extensive optimizations to make the copying of <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a> objects fast, and to cache the results of the slow window system functions it depends upon.</p>
<a name="fontmatching"></a><p>The font matching algorithm works as follows:</p>
<ol type="1">
<li>The specified font family is searched for.</li>
<li>If not found, the <a href="QFont.html#styleHint()"><tt>styleHint</tt></a> is used to select a replacement family.</li>
<li>Each replacement font family is searched for.</li>
<li>If none of these are found or there was no <a href="QFont.html#styleHint()"><tt>styleHint</tt></a>, &quot;helvetica&quot; will be searched for.</li>
<li>If &quot;helvetica&quot; isn't found Qt will try the <a href="QFont.html#lastResortFamily()"><tt>lastResortFamily</tt></a>.</li>
<li>If the <a href="QFont.html#lastResortFamily()"><tt>lastResortFamily</tt></a> isn't found Qt will try the <a href="QFont.html#lastResortFont()"><tt>lastResortFont</tt></a> which will always return a name of some kind.</li>
</ol>
<p>Note that the actual font matching algorithm varies from platform to platform.</p>
<p>Once a font is found, the remaining attributes are matched in order of priority:</p>
<ol type="1">
<li><a href="QFont.html#fixedPitch()"><tt>fixedPitch</tt></a></li>
<li><a href="QFont.html#pointSize()"><tt>pointSize</tt></a> (see below)</li>
<li><a href="QFont.html#weight()"><tt>weight</tt></a></li>
<li><a href="QFont.html#style()"><tt>style</tt></a></li>
</ol>
<p>If you have a font which matches on family, even if none of the other attributes match, this font will be chosen in preference to a font which doesn't match on family but which does match on the other attributes. This is because font family is the dominant search criteria.</p>
<p>The point size is defined to match if it is within 20% of the requested point size. When several fonts match and are only distinguished by point size, the font with the closest point size to the one requested will be chosen.</p>
<p>The actual family, font size, weight and other font attributes used for drawing text will depend on what's available for the chosen family under the window system. A <a href="QFontInfo.html"><tt>QFontInfo</tt></a> object can be used to determine the actual values used for drawing the text.</p>
<p>Examples:</p>
<pre>    QFont f(&quot;Helvetica&quot;);</pre>
<p>If you had both an Adobe and a Cronyx Helvetica, you might get either.</p>
<pre>    QFont f(&quot;Helvetica [Cronyx]&quot;);</pre>
<p>You can specify the foundry you want in the family name. The font f in the above example will be set to &quot;Helvetica [Cronyx]&quot;.</p>
<p>To determine the attributes of the font actually used in the window system, use a <a href="QFontInfo.html"><tt>QFontInfo</tt></a> object, e.g&#x2e;</p>
<pre>    QFontInfo info(f1);
    QString family = info.family();</pre>
<p>To find out font metrics use a <a href="QFontMetrics.html"><tt>QFontMetrics</tt></a> object, e.g&#x2e;</p>
<pre>    QFontMetrics fm(f1);
    int textWidthInPixels = fm.width(&quot;How many pixels wide is this text?&quot;);
    int textHeightInPixels = fm.height();</pre>
<p>For more general information on fonts, see the <a href="http://nwalsh.com/comp.fonts/FAQ/">comp.fonts FAQ.</tt></a> Information on encodings can be found from <a href="http://czyborra.com/">Roman Czyborra's</tt></a> page.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QFontComboBox.html"><tt>QFontComboBox</tt></a>, 
<a href="QFontMetrics.html"><tt>QFontMetrics</tt></a>, 
<a href="QFontInfo.html"><tt>QFontInfo</tt></a>, 
<a href="QFontDatabase.html"><tt>QFontDatabase</tt></a>, 
<CODE>Map Example</tt></CODE></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.Stretch.html" title="enum in com.trolltech.qt.gui">QFont.Stretch</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Predefined stretch values that follow the CSS naming convention.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.Style.html" title="enum in com.trolltech.qt.gui">QFont.Style</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the different styles of glyphs that are used to display text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.StyleHint.html" title="enum in com.trolltech.qt.gui">QFont.StyleHint</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Style hints are used by the <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)">font matching</tt></a> algorithm to find an appropriate default family if a selected font family is not available.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.StyleStrategy.html" title="enum in com.trolltech.qt.gui">QFont.StyleStrategy</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The style strategy tells the <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)">font matching</tt></a> algorithm what type of fonts should be used to find an appropriate default family.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.Weight.html" title="enum in com.trolltech.qt.gui">QFont.Weight</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Qt uses a weighting scale from 0 to 99 similar to, but not the same as, the scales used in Windows or CSS.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#QFont()">QFont</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a font object that uses the application's default font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#QFont(com.trolltech.qt.gui.QFont)">QFont</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a font that is a copy of <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)">QFont</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;arg__1,
      <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;pd)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a font from <tt>arg__1</tt> for use on the paint device <tt>pd</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#QFont(java.lang.String)">QFont</A></B>(java.lang.String&nbsp;family)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a>(<tt>family</tt>, -1, -1, false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#QFont(java.lang.String, int)">QFont</A></B>(java.lang.String&nbsp;family,
      int&nbsp;pointSize)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a>(<tt>family</tt>, <tt>pointSize</tt>, -1, false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#QFont(java.lang.String, int, int)">QFont</A></B>(java.lang.String&nbsp;family,
      int&nbsp;pointSize,
      int&nbsp;weight)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a>(<tt>family</tt>, <tt>pointSize</tt>, <tt>weight</tt>, false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#QFont(java.lang.String, int, int, boolean)">QFont</A></B>(java.lang.String&nbsp;family,
      int&nbsp;pointSize,
      int&nbsp;weight,
      boolean&nbsp;italic)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a font object with the specified <tt>family</tt>, <tt>pointSize</tt>, <tt>weight</tt> and <tt>italic</tt> settings.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#bold()">bold</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <a href="QFont.html#weight()"><tt>weight</tt></a> is a value greater than <a href="QFont.html#Weight-enum">QFont::Normal</tt></a>; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#cacheStatistics()">cacheStatistics</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Internal function that dumps font cache statistics.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#cleanup()">cleanup</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#compareTo(java.lang.Object)">compareTo</A></B>(java.lang.Object&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#defaultFamily()">defaultFamily</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the family name that corresponds to the current style hint.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#exactMatch()">exactMatch</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if a window system font exactly matching the settings of this font is available.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#family()">family</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the requested font family name, i.e&#x2e; the name set in the constructor or the last setFont() call.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#fixedPitch()">fixedPitch</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if fixed pitch has been set; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QFont instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#fromString(java.lang.String)">fromString</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this font to match the description <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#handle()">handle</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the window system handle to the font, for low-level access.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#initialize()">initialize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#insertSubstitution(java.lang.String, java.lang.String)">insertSubstitution</A></B>(java.lang.String&nbsp;arg__1,
                   java.lang.String&nbsp;arg__2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts <tt>arg__2</tt> into the substitution table for the family <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#insertSubstitutions(java.lang.String, java.util.List)">insertSubstitutions</A></B>(java.lang.String&nbsp;arg__1,
                    java.util.List&lt;java.lang.String&gt;&nbsp;arg__2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the list of families <tt>arg__2</tt> into the substitution list for <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#isCopyOf(com.trolltech.qt.gui.QFont)">isCopyOf</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this font and <tt>arg__1</tt> are copies of each other, i.e&#x2e; one of them was created as a copy of the other and neither has been modified since.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#italic()">italic</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the <a href="QFont.html#style()"><tt>style</tt></a> of the font is not QFont::StyleNormal</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#kerning()">kerning</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if kerning should be used when drawing text with this font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#key()">key</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the font's key, a textual representation of a font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#lastResortFamily()">lastResortFamily</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the &quot;last resort&quot; font family name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#lastResortFont()">lastResortFont</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a &quot;last resort&quot; font name for the font matching algorithm.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#nativePointerArray(com.trolltech.qt.gui.QFont[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>[]&nbsp;array)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns a QNativePointer that is pointing to the specified QFont array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#overline()">overline</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if overline has been set; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#pixelSize()">pixelSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the pixel size of the font if it was set with <a href="QFont.html#setPixelSize(int)"><tt>setPixelSize</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#pointSize()">pointSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the point size of the font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#pointSizeF()">pointSizeF</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the point size of the font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#rawMode()">rawMode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if raw mode is used for font name matching; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#rawName()">rawName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the font within the underlying window system.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#readFrom(com.trolltech.qt.core.QDataStream)">readFrom</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a QFont from arg__1.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#removeSubstitution(java.lang.String)">removeSubstitution</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes all the substitutions for <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#resolve()">resolve</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#resolve(int)">resolve</A></B>(int&nbsp;mask)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#resolve(com.trolltech.qt.gui.QFont)">resolve</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a> that has attributes copied from <tt>arg__1</tt> that have not been previously set on this font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setBold(boolean)">setBold</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>arg__1</tt> is true sets the font's weight to <a href="QFont.html#Weight-enum">QFont::Bold</tt></a>; otherwise sets the weight to <a href="QFont.html#Weight-enum">QFont::Normal</a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setFamily(java.lang.String)">setFamily</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the family name of the font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setFixedPitch(boolean)">setFixedPitch</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>arg__1</tt> is true, sets fixed pitch on; otherwise sets fixed pitch off.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setItalic(boolean)">setItalic</A></B>(boolean&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <a href="QFont.html#style()"><tt>style</tt></a> of the font to QFont::StyleItalic if <tt>b</tt> is true; otherwise the style is set to QFont::StyleNormal.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setKerning(boolean)">setKerning</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables kerning for this font if <tt>arg__1</tt> is true; otherwise disables it.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setOverline(boolean)">setOverline</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>arg__1</tt> is true, sets overline on; otherwise sets overline off.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setPixelSize(int)">setPixelSize</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the font size to <tt>arg__1</tt> pixels.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setPointSize(int)">setPointSize</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the point size to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setPointSizeF(double)">setPointSizeF</A></B>(double&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the point size to <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setRawMode(boolean)">setRawMode</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>arg__1</tt> is true, turns raw mode on; otherwise turns raw mode off.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setRawName(java.lang.String)">setRawName</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a font by its system specific name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setStretch(int)">setStretch</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the stretch factor for the font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setStrikeOut(boolean)">setStrikeOut</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>arg__1</tt> is true, sets strikeout on; otherwise sets strikeout off.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setStyle(com.trolltech.qt.gui.QFont.Style)">setStyle</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.Style.html" title="enum in com.trolltech.qt.gui">QFont.Style</A>&nbsp;style)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the style of the font to <tt>style</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setStyleHint(com.trolltech.qt.gui.QFont.StyleHint)">setStyleHint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.StyleHint.html" title="enum in com.trolltech.qt.gui">QFont.StyleHint</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFont.html#setStyleHint(com.trolltech.qt.gui.QFont.StyleHint, com.trolltech.qt.gui.QFont.StyleStrategy)"><tt>setStyleHint</tt></a>(<tt>arg__1</tt>, PreferDefault).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setStyleHint(com.trolltech.qt.gui.QFont.StyleHint, com.trolltech.qt.gui.QFont.StyleStrategy)">setStyleHint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.StyleHint.html" title="enum in com.trolltech.qt.gui">QFont.StyleHint</A>&nbsp;arg__1,
             <A HREF="../../../../com/trolltech/qt/gui/QFont.StyleStrategy.html" title="enum in com.trolltech.qt.gui">QFont.StyleStrategy</A>&nbsp;arg__2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the style hint and strategy to <tt>arg__1</tt> and <tt>arg__2</tt>, respectively.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setStyleStrategy(com.trolltech.qt.gui.QFont.StyleStrategy)">setStyleStrategy</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.StyleStrategy.html" title="enum in com.trolltech.qt.gui">QFont.StyleStrategy</A>&nbsp;s)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the style strategy for the font to <tt>s</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setUnderline(boolean)">setUnderline</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>arg__1</tt> is true, sets underline on; otherwise sets underline off.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#setWeight(int)">setWeight</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the weight the font to <tt>arg__1</tt>, which should be a value from the <tt>QFont::Weight</tt> enumeration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#stretch()">stretch</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the stretch factor for the font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#strikeOut()">strikeOut</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if strikeout has been set; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFont.Style.html" title="enum in com.trolltech.qt.gui">QFont.Style</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#style()">style</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the style of the font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFont.StyleHint.html" title="enum in com.trolltech.qt.gui">QFont.StyleHint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#styleHint()">styleHint</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <a href="QFont.html#StyleHint-enum"><tt>StyleHint</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFont.StyleStrategy.html" title="enum in com.trolltech.qt.gui">QFont.StyleStrategy</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#styleStrategy()">styleStrategy</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <a href="QFont.html#StyleStrategy-enum"><tt>StyleStrategy</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#substitute(java.lang.String)">substitute</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the first family name to be used whenever <tt>arg__1</tt> is specified.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#substitutes(java.lang.String)">substitutes</A></B>(java.lang.String&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of family names to be used whenever <tt>arg__1</tt> is specified.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#substitutions()">substitutions</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a sorted list of substituted family names.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#toString()">toString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a description of the font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#underline()">underline</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if underline has been set; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#weight()">weight</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the weight of the font which is one of the enumerated values from <tt>QFont::Weight</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFont.html#writeTo(com.trolltech.qt.core.QDataStream)">writeTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes thisQFont to arg__1.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QFont(com.trolltech.qt.gui.QFont)"><!-- --></A><H3>
QFont</H3>
<PRE>
public <B>QFont</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Constructs a font that is a copy of <tt>arg__1</tt>.</p>
<P>
</DL>
<HR>

<A NAME="QFont(java.lang.String, int, int)"><!-- --></A><H3>
QFont</H3>
<PRE>
public <B>QFont</B>(java.lang.String&nbsp;family,
             int&nbsp;pointSize,
             int&nbsp;weight)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a>(<tt>family</tt>, <tt>pointSize</tt>, <tt>weight</tt>, false).
<P>
</DL>
<HR>

<A NAME="QFont(java.lang.String, int)"><!-- --></A><H3>
QFont</H3>
<PRE>
public <B>QFont</B>(java.lang.String&nbsp;family,
             int&nbsp;pointSize)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a>(<tt>family</tt>, <tt>pointSize</tt>, -1, false).
<P>
</DL>
<HR>

<A NAME="QFont(java.lang.String)"><!-- --></A><H3>
QFont</H3>
<PRE>
public <B>QFont</B>(java.lang.String&nbsp;family)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a>(<tt>family</tt>, -1, -1, false).
<P>
</DL>
<HR>

<A NAME="QFont(java.lang.String, int, int, boolean)"><!-- --></A><H3>
QFont</H3>
<PRE>
public <B>QFont</B>(java.lang.String&nbsp;family,
             int&nbsp;pointSize,
             int&nbsp;weight,
             boolean&nbsp;italic)</PRE>
<DL>
<DD><p>Constructs a font object with the specified <tt>family</tt>, <tt>pointSize</tt>, <tt>weight</tt> and <tt>italic</tt> settings.</p>
<p>If <tt>pointSize</tt> is &lt;= 0, it is set to 12.</p>
<p>The <tt>family</tt> name may optionally also include a foundry name, e.g&#x2e; &quot;Helvetica [Cronyx]&quot;. If the <tt>family</tt> is available from more than one foundry and the foundry isn't specified, an arbitrary foundry is chosen. If the family isn't available a family will be set using the <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)">font matching</tt></a> algorithm.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QFont.html#Weight-enum">Weight</tt></a>, 
<a href="QFont.html#setFamily(java.lang.String)"><tt>setFamily</tt></a>, 
<a href="QFont.html#setPointSize(int)"><tt>setPointSize</tt></a>, 
<a href="QFont.html#setWeight(int)"><tt>setWeight</tt></a>, 
<a href="QFont.html#setItalic(boolean)"><tt>setItalic</tt></a>, 
<a href="QFont.html#setStyleHint(com.trolltech.qt.gui.QFont.StyleHint, com.trolltech.qt.gui.QFont.StyleStrategy)"><tt>setStyleHint</tt></a>, 
<tt>QApplication::font</tt></DL>
</DL>
<HR>

<A NAME="QFont()"><!-- --></A><H3>
QFont</H3>
<PRE>
public <B>QFont</B>()</PRE>
<DL>
<DD><p>Constructs a font object that uses the application's default font.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><tt>QApplication::setFont</tt>, 
<tt>QApplication::font</tt></DL>
</DL>
<HR>

<A NAME="QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><!-- --></A><H3>
QFont</H3>
<PRE>
public <B>QFont</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;arg__1,
             <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>&nbsp;pd)</PRE>
<DL>
<DD><p>Constructs a font from <tt>arg__1</tt> for use on the paint device <tt>pd</tt>.</p>
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="bold()"><!-- --></A><H3>
bold</H3>
<PRE>
public final boolean <B>bold</B>()</PRE>
<DL>
<DD><p>Returns true if <a href="QFont.html#weight()"><tt>weight</tt></a> is a value greater than <a href="QFont.html#Weight-enum">QFont::Normal</tt></a>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#weight()"><tt>weight</tt></a>, 
<a href="QFont.html#setBold(boolean)"><tt>setBold</tt></a>, 
<tt>QFontInfo::bold</tt></DL>
</DD>
</DL>
<HR>

<A NAME="defaultFamily()"><!-- --></A><H3>
defaultFamily</H3>
<PRE>
public final java.lang.String <B>defaultFamily</B>()</PRE>
<DL>
<DD><p>Returns the family name that corresponds to the current style hint.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#StyleHint-enum"><tt>StyleHint</tt></a>, 
<a href="QFont.html#styleHint()"><tt>styleHint</tt></a>, 
<a href="QFont.html#setStyleHint(com.trolltech.qt.gui.QFont.StyleHint, com.trolltech.qt.gui.QFont.StyleStrategy)"><tt>setStyleHint</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="exactMatch()"><!-- --></A><H3>
exactMatch</H3>
<PRE>
public final boolean <B>exactMatch</B>()</PRE>
<DL>
<DD><p>Returns true if a window system font exactly matching the settings of this font is available.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontInfo.html"><tt>QFontInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="family()"><!-- --></A><H3>
family</H3>
<PRE>
public final java.lang.String <B>family</B>()</PRE>
<DL>
<DD><p>Returns the requested font family name, i.e&#x2e; the name set in the constructor or the last setFont() call.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setFamily(java.lang.String)"><tt>setFamily</tt></a>, 
<a href="QFont.html#substitutes(java.lang.String)"><tt>substitutes</tt></a>, 
<a href="QFont.html#substitute(java.lang.String)"><tt>substitute</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fixedPitch()"><!-- --></A><H3>
fixedPitch</H3>
<PRE>
public final boolean <B>fixedPitch</B>()</PRE>
<DL>
<DD><p>Returns true if fixed pitch has been set; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setFixedPitch(boolean)"><tt>setFixedPitch</tt></a>, 
<tt>QFontInfo::fixedPitch</tt></DL>
</DD>
</DL>
<HR>

<A NAME="fromString(java.lang.String)"><!-- --></A><H3>
fromString</H3>
<PRE>
public final boolean <B>fromString</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets this font to match the description <tt>arg__1</tt>. The description is a comma-separated list of the font attributes, as returned by <a href="QFont.html#toString()"><tt>toString</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#toString()"><tt>toString</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="handle()"><!-- --></A><H3>
handle</H3>
<PRE>
public final long <B>handle</B>()</PRE>
<DL>
<DD><p>Returns the window system handle to the font, for low-level access. Using this function is <i>not</i> portable.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isCopyOf(com.trolltech.qt.gui.QFont)"><!-- --></A><H3>
isCopyOf</H3>
<PRE>
public final boolean <B>isCopyOf</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns true if this font and <tt>arg__1</tt> are copies of each other, i.e&#x2e; one of them was created as a copy of the other and neither has been modified since. This is much stricter than equality.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>operator=</tt>, 
<tt>operator==</tt></DL>
</DD>
</DL>
<HR>

<A NAME="italic()"><!-- --></A><H3>
italic</H3>
<PRE>
public final boolean <B>italic</B>()</PRE>
<DL>
<DD><p>Returns true if the <a href="QFont.html#style()"><tt>style</tt></a> of the font is not QFont::StyleNormal</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setItalic(boolean)"><tt>setItalic</tt></a>, 
<a href="QFont.html#style()"><tt>style</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="kerning()"><!-- --></A><H3>
kerning</H3>
<PRE>
public final boolean <B>kerning</B>()</PRE>
<DL>
<DD><p>Returns true if kerning should be used when drawing text with this font.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setKerning(boolean)"><tt>setKerning</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="key()"><!-- --></A><H3>
key</H3>
<PRE>
public final java.lang.String <B>key</B>()</PRE>
<DL>
<DD><p>Returns the font's key, a textual representation of a font. It is typically used as the key for a cache or dictionary of fonts.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QMap</tt></DL>
</DD>
</DL>
<HR>

<A NAME="lastResortFamily()"><!-- --></A><H3>
lastResortFamily</H3>
<PRE>
public final java.lang.String <B>lastResortFamily</B>()</PRE>
<DL>
<DD><p>Returns the &quot;last resort&quot; font family name.</p>
<p>The current implementation tries a wide variety of common fonts, returning the first one it finds. Is is possible that no family is found in which case an empty string is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#lastResortFont()"><tt>lastResortFont</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="lastResortFont()"><!-- --></A><H3>
lastResortFont</H3>
<PRE>
public final java.lang.String <B>lastResortFont</B>()</PRE>
<DL>
<DD><p>Returns a &quot;last resort&quot; font name for the font matching algorithm. This is used if the last resort family is not available. It will always return a name, if necessary returning something like &quot;fixed&quot; or &quot;system&quot;.</p>
<p>The current implementation tries a wide variety of common fonts, returning the first one it finds. The implementation may change at any time, but this function will always return a string containing something.</p>
<p>It is theoretically possible that there really isn't a <a href="QFont.html#lastResortFont()"><tt>lastResortFont</tt></a> in which case Qt will abort with an error message. We have not been able to identify a case where this happens. Please <a href="%2E%2E/bughowto.html">report it as a bug</tt></a> if it does, preferably with a list of the fonts you have installed.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#lastResortFamily()"><tt>lastResortFamily</tt></a>, 
<a href="QFont.html#rawName()"><tt>rawName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="writeTo(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
writeTo</H3>
<PRE>
public final void <B>writeTo</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Writes thisQFont to arg__1.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="readFrom(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
readFrom</H3>
<PRE>
public final void <B>readFrom</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Reads a QFont from arg__1.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="overline()"><!-- --></A><H3>
overline</H3>
<PRE>
public final boolean <B>overline</B>()</PRE>
<DL>
<DD><p>Returns true if overline has been set; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setOverline(boolean)"><tt>setOverline</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="pixelSize()"><!-- --></A><H3>
pixelSize</H3>
<PRE>
public final int <B>pixelSize</B>()</PRE>
<DL>
<DD><p>Returns the pixel size of the font if it was set with <a href="QFont.html#setPixelSize(int)"><tt>setPixelSize</tt></a>. Returns -1 if the size was set with <a href="QFont.html#setPointSize(int)"><tt>setPointSize</tt></a> or <a href="QFont.html#setPointSizeF(double)"><tt>setPointSizeF</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setPixelSize(int)"><tt>setPixelSize</tt></a>, 
<a href="QFont.html#pointSize()"><tt>pointSize</tt></a>, 
<tt>QFontInfo::pointSize</tt>, 
<tt>QFontInfo::pixelSize</tt></DL>
</DD>
</DL>
<HR>

<A NAME="pointSize()"><!-- --></A><H3>
pointSize</H3>
<PRE>
public final int <B>pointSize</B>()</PRE>
<DL>
<DD><p>Returns the point size of the font. Returns -1 if the font size was specified in pixels.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setPointSize(int)"><tt>setPointSize</tt></a>, 
<a href="QFont.html#pointSizeF()"><tt>pointSizeF</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="pointSizeF()"><!-- --></A><H3>
pointSizeF</H3>
<PRE>
public final double <B>pointSizeF</B>()</PRE>
<DL>
<DD><p>Returns the point size of the font. Returns -1 if the font size was specified in pixels.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#pointSize()"><tt>pointSize</tt></a>, 
<a href="QFont.html#setPointSizeF(double)"><tt>setPointSizeF</tt></a>, 
<a href="QFont.html#pixelSize()"><tt>pixelSize</tt></a>, 
<tt>QFontInfo::pointSize</tt>, 
<tt>QFontInfo::pixelSize</tt></DL>
</DD>
</DL>
<HR>

<A NAME="rawMode()"><!-- --></A><H3>
rawMode</H3>
<PRE>
public final boolean <B>rawMode</B>()</PRE>
<DL>
<DD><p>Returns true if raw mode is used for font name matching; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setRawMode(boolean)"><tt>setRawMode</tt></a>, 
<a href="QFont.html#rawName()"><tt>rawName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="rawName()"><!-- --></A><H3>
rawName</H3>
<PRE>
public final java.lang.String <B>rawName</B>()</PRE>
<DL>
<DD><p>Returns the name of the font within the underlying window system.</p>
<p>On Windows and Mac OS X, this is usually just the family name of a TrueType font.</p>
<p>On X11, depending on whether Qt was built with FontConfig support, it is an XLFD (X Logical Font Description) or a FontConfig pattern. An XLFD may be returned even if FontConfig support is enabled.</p>
<p>Using the return value of this function is usually <i>not</i> <i>portable</i>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setRawName(java.lang.String)"><tt>setRawName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="resolve()"><!-- --></A><H3>
resolve</H3>
<PRE>
public final int <B>resolve</B>()</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="resolve(int)"><!-- --></A><H3>
resolve</H3>
<PRE>
public final void <B>resolve</B>(int&nbsp;mask)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="resolve(com.trolltech.qt.gui.QFont)"><!-- --></A><H3>
resolve</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A> <B>resolve</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns a new <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a> that has attributes copied from <tt>arg__1</tt> that have not been previously set on this font.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setBold(boolean)"><!-- --></A><H3>
setBold</H3>
<PRE>
public final void <B>setBold</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>If <tt>arg__1</tt> is true sets the font's weight to <a href="QFont.html#Weight-enum">QFont::Bold</tt></a>; otherwise sets the weight to <a href="QFont.html#Weight-enum">QFont::Normal</a>.</p>
<p>For finer boldness control use <a href="QFont.html#setWeight(int)"><tt>setWeight</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#bold()"><tt>bold</tt></a>, 
<a href="QFont.html#setWeight(int)"><tt>setWeight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFamily(java.lang.String)"><!-- --></A><H3>
setFamily</H3>
<PRE>
public final void <B>setFamily</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the family name of the font. The name is case insensitive and may include a foundry name.</p>
<p>The <tt>arg__1</tt> name may optionally also include a foundry name, e.g&#x2e; &quot;Helvetica [Cronyx]&quot;. If the <tt>arg__1</tt> is available from more than one foundry and the foundry isn't specified, an arbitrary foundry is chosen. If the family isn't available a family will be set using the <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)">font matching</tt></a> algorithm.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#family()"><tt>family</tt></a>, 
<a href="QFont.html#setStyleHint(com.trolltech.qt.gui.QFont.StyleHint, com.trolltech.qt.gui.QFont.StyleStrategy)"><tt>setStyleHint</tt></a>, 
<a href="QFontInfo.html"><tt>QFontInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFixedPitch(boolean)"><!-- --></A><H3>
setFixedPitch</H3>
<PRE>
public final void <B>setFixedPitch</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>If <tt>arg__1</tt> is true, sets fixed pitch on; otherwise sets fixed pitch off.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#fixedPitch()"><tt>fixedPitch</tt></a>, 
<a href="QFontInfo.html"><tt>QFontInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setItalic(boolean)"><!-- --></A><H3>
setItalic</H3>
<PRE>
public final void <B>setItalic</B>(boolean&nbsp;b)</PRE>
<DL>
<DD><p>Sets the <a href="QFont.html#style()"><tt>style</tt></a> of the font to QFont::StyleItalic if <tt>b</tt> is true; otherwise the style is set to QFont::StyleNormal.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#italic()"><tt>italic</tt></a>, 
<a href="QFontInfo.html"><tt>QFontInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setKerning(boolean)"><!-- --></A><H3>
setKerning</H3>
<PRE>
public final void <B>setKerning</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>Enables kerning for this font if <tt>arg__1</tt> is true; otherwise disables it. By default, kerning is enabled.</p>
<p>When kerning is enabled, glyph metrics do not add up anymore, even for Latin text. In other words, the assumption that width('a') + width('b') is equal to width(&quot;ab&quot;) is not neccesairly true.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#kerning()"><tt>kerning</tt></a>, 
<a href="QFontMetrics.html"><tt>QFontMetrics</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setOverline(boolean)"><!-- --></A><H3>
setOverline</H3>
<PRE>
public final void <B>setOverline</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>If <tt>arg__1</tt> is true, sets overline on; otherwise sets overline off.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#overline()"><tt>overline</tt></a>, 
<a href="QFontInfo.html"><tt>QFontInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPixelSize(int)"><!-- --></A><H3>
setPixelSize</H3>
<PRE>
public final void <B>setPixelSize</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the font size to <tt>arg__1</tt> pixels.</p>
<p>Using this function makes the font device dependent. Use <a href="QFont.html#setPointSize(int)"><tt>setPointSize</tt></a> or <a href="QFont.html#setPointSizeF(double)"><tt>setPointSizeF</tt></a> to set the size of the font in a device independent manner.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#pixelSize()"><tt>pixelSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPointSize(int)"><!-- --></A><H3>
setPointSize</H3>
<PRE>
public final void <B>setPointSize</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the point size to <tt>arg__1</tt>. The point size must be greater than zero.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#pointSize()"><tt>pointSize</tt></a>, 
<a href="QFont.html#setPointSizeF(double)"><tt>setPointSizeF</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPointSizeF(double)"><!-- --></A><H3>
setPointSizeF</H3>
<PRE>
public final void <B>setPointSizeF</B>(double&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the point size to <tt>arg__1</tt>. The point size must be greater than zero. The requested precision may not be achieved on all platforms.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#pointSizeF()"><tt>pointSizeF</tt></a>, 
<a href="QFont.html#setPointSize(int)"><tt>setPointSize</tt></a>, 
<a href="QFont.html#setPixelSize(int)"><tt>setPixelSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setRawMode(boolean)"><!-- --></A><H3>
setRawMode</H3>
<PRE>
public final void <B>setRawMode</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>If <tt>arg__1</tt> is true, turns raw mode on; otherwise turns raw mode off. This function only has an effect under X11.</p>
<p>If raw mode is enabled, Qt will search for an X font with a complete font name matching the family name, ignoring all other values set for the <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a>. If the font name matches several fonts, Qt will use the first font returned by X. <a href="QFontInfo.html"><tt>QFontInfo</tt></a> <i>cannot</i> be used to fetch information about a <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a> using raw mode (it will return the values set in the <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a> for all parameters, including the family name).</p>
<p><b>Warning:</b> Do not use raw mode unless you really, really need it! In most (if not all) cases, <a href="QFont.html#setRawName(java.lang.String)"><tt>setRawName</tt></a> is a much better choice.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#rawMode()"><tt>rawMode</tt></a>, 
<a href="QFont.html#setRawName(java.lang.String)"><tt>setRawName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setRawName(java.lang.String)"><!-- --></A><H3>
setRawName</H3>
<PRE>
public final void <B>setRawName</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets a font by its system specific name. The function is particularly useful under X, where system font settings (for example X resources) are usually available in XLFD (X Logical Font Description) form only. You can pass an XLFD as <tt>arg__1</tt> to this function.</p>
<p>A font set with <a href="QFont.html#setRawName(java.lang.String)"><tt>setRawName</tt></a> is still a full-featured <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a>. It can be queried (for example with <a href="QFont.html#italic()"><tt>italic</tt></a>) or modified (for example with <a href="QFont.html#setItalic(boolean)"><tt>setItalic</tt></a>) and is therefore also suitable for rendering rich text.</p>
<p>If Qt's internal font database cannot resolve the raw name, the font becomes a raw font with <tt>arg__1</tt> as its family.</p>
<p>Note that the present implementation does not handle wildcards in XLFDs well, and that font aliases (file <tt>fonts.alias</tt> in the font directory on X11) are not supported.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#rawName()"><tt>rawName</tt></a>, 
<a href="QFont.html#setRawMode(boolean)"><tt>setRawMode</tt></a>, 
<a href="QFont.html#setFamily(java.lang.String)"><tt>setFamily</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setStretch(int)"><!-- --></A><H3>
setStretch</H3>
<PRE>
public final void <B>setStretch</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the stretch factor for the font.</p>
<p>The stretch factor changes the width of all characters in the font by <tt>arg__1</tt> percent. For example, setting <tt>arg__1</tt> to 150 results in all characters in the font being 1.5 times (ie. 150%) wider. The default stretch factor is 100. The minimum stretch factor is 1, and the maximum stretch factor is 4000.</p>
<p>The stretch factor is only applied to outline fonts. The stretch factor is ignored for bitmap fonts.</p>
<p>NOTE: <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)"><tt>QFont</tt></a> cannot stretch XLFD fonts. When loading XLFD fonts on X11, the stretch factor is matched against a predefined set of values for the SETWIDTH_NAME field of the XLFD.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#stretch()"><tt>stretch</tt></a>, 
<tt>QFont::Stretch</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setStrikeOut(boolean)"><!-- --></A><H3>
setStrikeOut</H3>
<PRE>
public final void <B>setStrikeOut</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>If <tt>arg__1</tt> is true, sets strikeout on; otherwise sets strikeout off.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#strikeOut()"><tt>strikeOut</tt></a>, 
<a href="QFontInfo.html"><tt>QFontInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setStyle(com.trolltech.qt.gui.QFont.Style)"><!-- --></A><H3>
setStyle</H3>
<PRE>
public final void <B>setStyle</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.Style.html" title="enum in com.trolltech.qt.gui">QFont.Style</A>&nbsp;style)</PRE>
<DL>
<DD><p>Sets the style of the font to <tt>style</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#style()"><tt>style</tt></a>, 
<a href="QFont.html#italic()"><tt>italic</tt></a>, 
<a href="QFontInfo.html"><tt>QFontInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setStyleHint(com.trolltech.qt.gui.QFont.StyleHint)"><!-- --></A><H3>
setStyleHint</H3>
<PRE>
public final void <B>setStyleHint</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.StyleHint.html" title="enum in com.trolltech.qt.gui">QFont.StyleHint</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFont.html#setStyleHint(com.trolltech.qt.gui.QFont.StyleHint, com.trolltech.qt.gui.QFont.StyleStrategy)"><tt>setStyleHint</tt></a>(<tt>arg__1</tt>, PreferDefault).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setStyleHint(com.trolltech.qt.gui.QFont.StyleHint, com.trolltech.qt.gui.QFont.StyleStrategy)"><!-- --></A><H3>
setStyleHint</H3>
<PRE>
public final void <B>setStyleHint</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.StyleHint.html" title="enum in com.trolltech.qt.gui">QFont.StyleHint</A>&nbsp;arg__1,
                               <A HREF="../../../../com/trolltech/qt/gui/QFont.StyleStrategy.html" title="enum in com.trolltech.qt.gui">QFont.StyleStrategy</A>&nbsp;arg__2)</PRE>
<DL>
<DD><p>Sets the style hint and strategy to <tt>arg__1</tt> and <tt>arg__2</tt>, respectively.</p>
<p>If these aren't set explicitly the style hint will default to <tt>AnyStyle</tt> and the style strategy to <tt>PreferDefault</tt>.</p>
<p>Qt does not support style hints on X11 since this information is not provided by the window system.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#StyleHint-enum"><tt>StyleHint</tt></a>, 
<a href="QFont.html#styleHint()"><tt>styleHint</tt></a>, 
<a href="QFont.html#StyleStrategy-enum"><tt>StyleStrategy</tt></a>, 
<a href="QFont.html#styleStrategy()"><tt>styleStrategy</tt></a>, 
<a href="QFontInfo.html"><tt>QFontInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setStyleStrategy(com.trolltech.qt.gui.QFont.StyleStrategy)"><!-- --></A><H3>
setStyleStrategy</H3>
<PRE>
public final void <B>setStyleStrategy</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.StyleStrategy.html" title="enum in com.trolltech.qt.gui">QFont.StyleStrategy</A>&nbsp;s)</PRE>
<DL>
<DD><p>Sets the style strategy for the font to <tt>s</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#styleStrategy()"><tt>styleStrategy</tt></a>, 
<tt>QFont::StyleStrategy</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setUnderline(boolean)"><!-- --></A><H3>
setUnderline</H3>
<PRE>
public final void <B>setUnderline</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>If <tt>arg__1</tt> is true, sets underline on; otherwise sets underline off.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#underline()"><tt>underline</tt></a>, 
<a href="QFontInfo.html"><tt>QFontInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWeight(int)"><!-- --></A><H3>
setWeight</H3>
<PRE>
public final void <B>setWeight</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the weight the font to <tt>arg__1</tt>, which should be a value from the <tt>QFont::Weight</tt> enumeration.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#weight()"><tt>weight</tt></a>, 
<a href="QFontInfo.html"><tt>QFontInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="stretch()"><!-- --></A><H3>
stretch</H3>
<PRE>
public final int <B>stretch</B>()</PRE>
<DL>
<DD><p>Returns the stretch factor for the font.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setStretch(int)"><tt>setStretch</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="strikeOut()"><!-- --></A><H3>
strikeOut</H3>
<PRE>
public final boolean <B>strikeOut</B>()</PRE>
<DL>
<DD><p>Returns true if strikeout has been set; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setStrikeOut(boolean)"><tt>setStrikeOut</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="style()"><!-- --></A><H3>
style</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QFont.Style.html" title="enum in com.trolltech.qt.gui">QFont.Style</A> <B>style</B>()</PRE>
<DL>
<DD><p>Returns the style of the font.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setStyle(com.trolltech.qt.gui.QFont.Style)"><tt>setStyle</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="styleHint()"><!-- --></A><H3>
styleHint</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QFont.StyleHint.html" title="enum in com.trolltech.qt.gui">QFont.StyleHint</A> <B>styleHint</B>()</PRE>
<DL>
<DD><p>Returns the <a href="QFont.html#StyleHint-enum"><tt>StyleHint</tt></a>.</p>
<p>The style hint affects the <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)">font matching</tt></a> algorithm. See <tt>QFont::StyleHint</tt> for the list of available hints.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setStyleHint(com.trolltech.qt.gui.QFont.StyleHint, com.trolltech.qt.gui.QFont.StyleStrategy)"><tt>setStyleHint</tt></a>, 
<tt>QFont::StyleStrategy</tt>, 
<tt>QFontInfo::styleHint</tt></DL>
</DD>
</DL>
<HR>

<A NAME="styleStrategy()"><!-- --></A><H3>
styleStrategy</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QFont.StyleStrategy.html" title="enum in com.trolltech.qt.gui">QFont.StyleStrategy</A> <B>styleStrategy</B>()</PRE>
<DL>
<DD><p>Returns the <a href="QFont.html#StyleStrategy-enum"><tt>StyleStrategy</tt></a>.</p>
<p>The style strategy affects the <a href="QFont.html#QFont(com.trolltech.qt.gui.QFont, com.trolltech.qt.gui.QPaintDeviceInterface)">font matching</tt></a> algorithm. See <tt>QFont::StyleStrategy</tt> for the list of available strategies.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setStyleStrategy(com.trolltech.qt.gui.QFont.StyleStrategy)"><tt>setStyleStrategy</tt></a>, 
<a href="QFont.html#setStyleHint(com.trolltech.qt.gui.QFont.StyleHint, com.trolltech.qt.gui.QFont.StyleStrategy)"><tt>setStyleHint</tt></a>, 
<tt>QFont::StyleHint</tt></DL>
</DD>
</DL>
<HR>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public final java.lang.String <B>toString</B>()</PRE>
<DL>
<DD><p>Returns a description of the font. The description is a comma-separated list of the attributes, perfectly suited for use in <a href="%2E%2E/core/QSettings.html"><tt>QSettings</tt></a>.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#fromString(java.lang.String)"><tt>fromString</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="underline()"><!-- --></A><H3>
underline</H3>
<PRE>
public final boolean <B>underline</B>()</PRE>
<DL>
<DD><p>Returns true if underline has been set; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setUnderline(boolean)"><tt>setUnderline</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="weight()"><!-- --></A><H3>
weight</H3>
<PRE>
public final int <B>weight</B>()</PRE>
<DL>
<DD><p>Returns the weight of the font which is one of the enumerated values from <tt>QFont::Weight</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setWeight(int)"><tt>setWeight</tt></a>, 
<a href="QFont.html#Weight-enum">Weight</tt></a>, 
<a href="QFontInfo.html"><tt>QFontInfo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="cacheStatistics()"><!-- --></A><H3>
cacheStatistics</H3>
<PRE>
public static void <B>cacheStatistics</B>()</PRE>
<DL>
<DD>Internal function that dumps font cache statistics.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="cleanup()"><!-- --></A><H3>
cleanup</H3>
<PRE>
public static void <B>cleanup</B>()</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="initialize()"><!-- --></A><H3>
initialize</H3>
<PRE>
public static void <B>initialize</B>()</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="insertSubstitution(java.lang.String, java.lang.String)"><!-- --></A><H3>
insertSubstitution</H3>
<PRE>
public static void <B>insertSubstitution</B>(java.lang.String&nbsp;arg__1,
                                      java.lang.String&nbsp;arg__2)</PRE>
<DL>
<DD><p>Inserts <tt>arg__2</tt> into the substitution table for the family <tt>arg__1</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#insertSubstitutions(java.lang.String, java.util.List<java.lang.String>)"><tt>insertSubstitutions</tt></a>, 
<a href="QFont.html#removeSubstitution(java.lang.String)"><tt>removeSubstitution</tt></a>, 
<a href="QFont.html#substitutions()"><tt>substitutions</tt></a>, 
<a href="QFont.html#substitute(java.lang.String)"><tt>substitute</tt></a>, 
<a href="QFont.html#substitutes(java.lang.String)"><tt>substitutes</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="insertSubstitutions(java.lang.String, java.util.List)"><!-- --></A><H3>
insertSubstitutions</H3>
<PRE>
public static void <B>insertSubstitutions</B>(java.lang.String&nbsp;arg__1,
                                       java.util.List&lt;java.lang.String&gt;&nbsp;arg__2)</PRE>
<DL>
<DD><p>Inserts the list of families <tt>arg__2</tt> into the substitution list for <tt>arg__1</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#insertSubstitution(java.lang.String, java.lang.String)"><tt>insertSubstitution</tt></a>, 
<a href="QFont.html#removeSubstitution(java.lang.String)"><tt>removeSubstitution</tt></a>, 
<a href="QFont.html#substitutions()"><tt>substitutions</tt></a>, 
<a href="QFont.html#substitute(java.lang.String)"><tt>substitute</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="removeSubstitution(java.lang.String)"><!-- --></A><H3>
removeSubstitution</H3>
<PRE>
public static void <B>removeSubstitution</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Removes all the substitutions for <tt>arg__1</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#insertSubstitutions(java.lang.String, java.util.List<java.lang.String>)"><tt>insertSubstitutions</tt></a>, 
<a href="QFont.html#insertSubstitution(java.lang.String, java.lang.String)"><tt>insertSubstitution</tt></a>, 
<a href="QFont.html#substitutions()"><tt>substitutions</tt></a>, 
<a href="QFont.html#substitute(java.lang.String)"><tt>substitute</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="substitute(java.lang.String)"><!-- --></A><H3>
substitute</H3>
<PRE>
public static java.lang.String <B>substitute</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns the first family name to be used whenever <tt>arg__1</tt> is specified. The lookup is case insensitive.</p>
<p>If there is no substitution for <tt>arg__1</tt>, <tt>arg__1</tt> is returned.</p>
<p>To obtain a list of substitutions use <a href="QFont.html#substitutes(java.lang.String)"><tt>substitutes</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#setFamily(java.lang.String)"><tt>setFamily</tt></a>, 
<a href="QFont.html#insertSubstitutions(java.lang.String, java.util.List<java.lang.String>)"><tt>insertSubstitutions</tt></a>, 
<a href="QFont.html#insertSubstitution(java.lang.String, java.lang.String)"><tt>insertSubstitution</tt></a>, 
<a href="QFont.html#removeSubstitution(java.lang.String)"><tt>removeSubstitution</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="substitutes(java.lang.String)"><!-- --></A><H3>
substitutes</H3>
<PRE>
public static java.util.List&lt;java.lang.String&gt; <B>substitutes</B>(java.lang.String&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns a list of family names to be used whenever <tt>arg__1</tt> is specified. The lookup is case insensitive.</p>
<p>If there is no substitution for <tt>arg__1</tt>, an empty list is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#substitute(java.lang.String)"><tt>substitute</tt></a>, 
<a href="QFont.html#insertSubstitutions(java.lang.String, java.util.List<java.lang.String>)"><tt>insertSubstitutions</tt></a>, 
<a href="QFont.html#insertSubstitution(java.lang.String, java.lang.String)"><tt>insertSubstitution</tt></a>, 
<a href="QFont.html#removeSubstitution(java.lang.String)"><tt>removeSubstitution</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="substitutions()"><!-- --></A><H3>
substitutions</H3>
<PRE>
public static java.util.List&lt;java.lang.String&gt; <B>substitutions</B>()</PRE>
<DL>
<DD><p>Returns a sorted list of substituted family names.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFont.html#insertSubstitution(java.lang.String, java.lang.String)"><tt>insertSubstitution</tt></a>, 
<a href="QFont.html#removeSubstitution(java.lang.String)"><tt>removeSubstitution</tt></a>, 
<a href="QFont.html#substitute(java.lang.String)"><tt>substitute</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QFont instance pointed to by nativePointer
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<HR>

<A NAME="nativePointerArray(com.trolltech.qt.gui.QFont[])"><!-- --></A><H3>
nativePointerArray</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>[]&nbsp;array)</PRE>
<DL>
<DD>This function returns a QNativePointer that is pointing to the specified QFont array.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to.
<DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</DL>
</DD>
</DL>
<HR>

<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(java.lang.Object&nbsp;other)</PRE>
<DL>
<DD>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="compareTo(java.lang.Object)"><!-- --></A><H3>
compareTo</H3>
<PRE>
public int <B>compareTo</B>(java.lang.Object&nbsp;other)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>compareTo</CODE> in interface <CODE>java.lang.Comparable</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFocusFrame.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFont.Stretch.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QFont.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QFont.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>