Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 493

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:20 CEST 2007 -->
<TITLE>
QFontDatabase
</TITLE>

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

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

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QFontDatabase";
}
</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/QFontComboBox.FontFilters.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.WritingSystem.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/QFontDatabase.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QFontDatabase.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 QFontDatabase</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.QFontDatabase</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></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QFontDatabase</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></DL>
</PRE>

<P>
<p>The <a href="QFontDatabase.html#QFontDatabase()"><tt>QFontDatabase</tt></a> class provides information about the fonts available in the underlying window system.</p>
<p>The most common uses of this class are to query the database for the list of font <a href="QFontDatabase.html#families(com.trolltech.qt.gui.QFontDatabase.WritingSystem)"><tt>families</tt></a> and for the <a href="QFontDatabase.html#pointSizes(java.lang.String, java.lang.String)"><tt>pointSizes</tt></a> and <a href="QFontDatabase.html#styles(java.lang.String)"><tt>styles</tt></a> that are available for each family. An alternative to <a href="QFontDatabase.html#pointSizes(java.lang.String, java.lang.String)"><tt>pointSizes</tt></a> is <a href="QFontDatabase.html#smoothSizes(java.lang.String, java.lang.String)"><tt>smoothSizes</tt></a> which returns the sizes at which a given family and style will look attractive.</p>
<p>If the font family is available from two or more foundries the foundry name is included in the family name, e.g&#x2e; &quot;Helvetica [Adobe]&quot; and &quot;Helvetica [Cronyx]&quot;. When you specify a family you can either use the old hyphenated Qt 2.x &quot;foundry-family&quot; format, e.g&#x2e; &quot;Cronyx-Helvetica&quot;, or the new bracketed Qt 3.x &quot;family [foundry]&quot; format e.g&#x2e; &quot;Helvetica [Cronyx]&quot;. If the family has a foundry it is always returned, e.g&#x2e; by <a href="QFontDatabase.html#families(com.trolltech.qt.gui.QFontDatabase.WritingSystem)"><tt>families</tt></a>, using the bracketed format.</p>
<p>The <a href="QFontDatabase.html#font(java.lang.String, java.lang.String, int)"><tt>font</tt></a> function returns a <a href="QFont.html"><tt>QFont</tt></a> given a family, style and point size.</p>
<p>A family and style combination can be checked to see if it is <a href="QFontDatabase.html#italic(java.lang.String, java.lang.String)"><tt>italic</tt></a> or <a href="QFontDatabase.html#bold(java.lang.String, java.lang.String)"><tt>bold</tt></a>, and to retrieve its <a href="QFontDatabase.html#weight(java.lang.String, java.lang.String)"><tt>weight</tt></a>. Similarly we can call <a href="QFontDatabase.html#isBitmapScalable(java.lang.String, java.lang.String)"><tt>isBitmapScalable</tt></a>, <a href="QFontDatabase.html#isSmoothlyScalable(java.lang.String, java.lang.String)"><tt>isSmoothlyScalable</tt></a>, <a href="QFontDatabase.html#isScalable(java.lang.String, java.lang.String)"><tt>isScalable</tt></a> and <a href="QFontDatabase.html#isFixedPitch(java.lang.String, java.lang.String)"><tt>isFixedPitch</tt></a>.</p>
<p>Use the <a href="QFontDatabase.html#styleString(com.trolltech.qt.gui.QFontInfo)"><tt>styleString</tt></a> to obtain a text version of a style.</p>
<p>The <a href="QFontDatabase.html#QFontDatabase()"><tt>QFontDatabase</tt></a> class also supports some static functions, for example, <a href="QFontDatabase.html#standardSizes()"><tt>standardSizes</tt></a>. You can retrieve the description of a writing system using <a href="QFontDatabase.html#writingSystemName(com.trolltech.qt.gui.QFontDatabase.WritingSystem)"><tt>writingSystemName</tt></a>, and a sample of characters in a writing system with <a href="QFontDatabase.html#writingSystemSample(com.trolltech.qt.gui.QFontDatabase.WritingSystem)"><tt>writingSystemSample</tt></a>.</p>
<p>Example:</p>
<pre>        QFontDatabase database;
        QTreeWidget fontTree;
        fontTree.setColumnCount(2);
        fontTree.setHeaderLabels(QStringList() &lt;&lt; &quot;Font&quot; &lt;&lt; &quot;Smooth Sizes&quot;);

        foreach (QString family, database.families()) {
            QTreeWidgetItem *familyItem = new QTreeWidgetItem(&amp;fontTree);
            familyItem-&gt;setText(0, family);

            foreach (QString style, database.styles(family)) {
                QTreeWidgetItem *styleItem = new QTreeWidgetItem(familyItem);
                styleItem-&gt;setText(0, style);

                QString sizes;
                foreach (int points, database.smoothSizes(family, style))
                    sizes += QString::number(points) + &quot; &quot;;

                styleItem-&gt;setText(1, sizes.trimmed());
            }
        }</pre>
<p>This example gets the list of font families, the list of styles for each family, and the point sizes that are available for each combination of family and style, displaying this information in a tree view.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QFont.html"><tt>QFont</tt></a>, 
<a href="QFontInfo.html"><tt>QFontInfo</tt></a>, 
<a href="QFontMetrics.html"><tt>QFontMetrics</tt></a>, 
<a href="QFontComboBox.html"><tt>QFontComboBox</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/QFontDatabase.WritingSystem.html" title="enum in com.trolltech.qt.gui">QFontDatabase.WritingSystem</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Press link for info on QFontDatabase.WritingSystem</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/QFontDatabase.html#QFontDatabase()">QFontDatabase</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a font database object.</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>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#addApplicationFont(java.lang.String)">addApplicationFont</A></B>(java.lang.String&nbsp;fileName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads the font from the file specified by <tt>fileName</tt> and makes it available to the application.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#addApplicationFontFromData(com.trolltech.qt.core.QByteArray)">addApplicationFontFromData</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;fontData)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads the font from binary data specified by <tt>fontData</tt> and makes it available to the application.</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/QFontDatabase.html#applicationFontFamilies(int)">applicationFontFamilies</A></B>(int&nbsp;id)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of font families for the given application font identified by <tt>id</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/QFontDatabase.html#bold(java.lang.String, java.lang.String)">bold</A></B>(java.lang.String&nbsp;family,
     java.lang.String&nbsp;style)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the font that has family <tt>family</tt> and style <tt>style</tt> is bold; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#families()">families</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a sorted list of the available font families.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#families(com.trolltech.qt.gui.QFontDatabase.WritingSystem)">families</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.WritingSystem.html" title="enum in com.trolltech.qt.gui">QFontDatabase.WritingSystem</A>&nbsp;writingSystem)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a sorted list of the available font families which support the <tt>writingSystem</tt>.</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/QFontDatabase.html#font(java.lang.String, java.lang.String, int)">font</A></B>(java.lang.String&nbsp;family,
     java.lang.String&nbsp;style,
     int&nbsp;pointSize)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <a href="QFont.html"><tt>QFont</tt></a> object that has family <tt>family</tt>, style <tt>style</tt> and point size <tt>pointSize</tt>.</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/QFontDatabase.html" title="class in com.trolltech.qt.gui">QFontDatabase</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.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 QFontDatabase 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/QFontDatabase.html#isBitmapScalable(java.lang.String)">isBitmapScalable</A></B>(java.lang.String&nbsp;family)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFontDatabase.html#isBitmapScalable(java.lang.String, java.lang.String)"><tt>isBitmapScalable</tt></a>(<tt>family</tt>, QString()).</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/QFontDatabase.html#isBitmapScalable(java.lang.String, java.lang.String)">isBitmapScalable</A></B>(java.lang.String&nbsp;family,
                 java.lang.String&nbsp;style)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the font that has family <tt>family</tt> and style <tt>style</tt> is a scalable bitmap font; otherwise returns false.</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/QFontDatabase.html#isFixedPitch(java.lang.String)">isFixedPitch</A></B>(java.lang.String&nbsp;family)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFontDatabase.html#isFixedPitch(java.lang.String, java.lang.String)"><tt>isFixedPitch</tt></a>(<tt>family</tt>, QString()).</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/QFontDatabase.html#isFixedPitch(java.lang.String, java.lang.String)">isFixedPitch</A></B>(java.lang.String&nbsp;family,
             java.lang.String&nbsp;style)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the font that has family <tt>family</tt> and style <tt>style</tt> is fixed pitch; otherwise returns false.</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/QFontDatabase.html#isScalable(java.lang.String)">isScalable</A></B>(java.lang.String&nbsp;family)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFontDatabase.html#isScalable(java.lang.String, java.lang.String)"><tt>isScalable</tt></a>(<tt>family</tt>, QString()).</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/QFontDatabase.html#isScalable(java.lang.String, java.lang.String)">isScalable</A></B>(java.lang.String&nbsp;family,
           java.lang.String&nbsp;style)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the font that has family <tt>family</tt> and style <tt>style</tt> is scalable; otherwise returns false.</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/QFontDatabase.html#isSmoothlyScalable(java.lang.String)">isSmoothlyScalable</A></B>(java.lang.String&nbsp;family)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QFontDatabase.html#isSmoothlyScalable(java.lang.String, java.lang.String)"><tt>isSmoothlyScalable</tt></a>(<tt>family</tt>, QString()).</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/QFontDatabase.html#isSmoothlyScalable(java.lang.String, java.lang.String)">isSmoothlyScalable</A></B>(java.lang.String&nbsp;family,
                   java.lang.String&nbsp;style)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the font that has family <tt>family</tt> and style <tt>style</tt> is smoothly scalable; otherwise returns false.</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/QFontDatabase.html#italic(java.lang.String, java.lang.String)">italic</A></B>(java.lang.String&nbsp;family,
       java.lang.String&nbsp;style)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the font that has family <tt>family</tt> and style <tt>style</tt> is italic; 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/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#nativePointerArray(com.trolltech.qt.gui.QFontDatabase[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html" title="class in com.trolltech.qt.gui">QFontDatabase</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 QFontDatabase array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;java.lang.Integer&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#pointSizes(java.lang.String)">pointSizes</A></B>(java.lang.String&nbsp;family)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of the point sizes available for the font that has
the specified <tt>family</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;java.lang.Integer&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#pointSizes(java.lang.String, java.lang.String)">pointSizes</A></B>(java.lang.String&nbsp;family,
           java.lang.String&nbsp;style)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of the point sizes available for the font that has family <tt>family</tt> and style <tt>style</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#removeAllApplicationFonts()">removeAllApplicationFonts</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes all application-local fonts previously added using <a href="QFontDatabase.html#addApplicationFont(java.lang.String)"><tt>addApplicationFont</tt></a> and <a href="QFontDatabase.html#addApplicationFontFromData(com.trolltech.qt.core.QByteArray)"><tt>addApplicationFontFromData</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#removeApplicationFont(int)">removeApplicationFont</A></B>(int&nbsp;id)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the previously loaded application font identified by <tt>id</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;java.lang.Integer&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#smoothSizes(java.lang.String, java.lang.String)">smoothSizes</A></B>(java.lang.String&nbsp;family,
            java.lang.String&nbsp;style)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the point sizes of a font that has family <tt>family</tt> and style <tt>style</tt> that will look attractive.</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.Integer&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#standardSizes()">standardSizes</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of standard font sizes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#styles(java.lang.String)">styles</A></B>(java.lang.String&nbsp;family)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of the styles available for the font family <tt>family</tt>.</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/QFontDatabase.html#styleString(com.trolltech.qt.gui.QFont)">styleString</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;font)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string that describes the style of the <tt>font</tt>.</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/QFontDatabase.html#styleString(com.trolltech.qt.gui.QFontInfo)">styleString</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFontInfo.html" title="class in com.trolltech.qt.gui">QFontInfo</A>&nbsp;fontInfo)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string that describes the style of the <tt>fontInfo</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/QFontDatabase.html#weight(java.lang.String, java.lang.String)">weight</A></B>(java.lang.String&nbsp;family,
       java.lang.String&nbsp;style)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the weight of the font that has family <tt>family</tt> and style <tt>style</tt>.</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/QFontDatabase.html#writingSystemName(com.trolltech.qt.gui.QFontDatabase.WritingSystem)">writingSystemName</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.WritingSystem.html" title="enum in com.trolltech.qt.gui">QFontDatabase.WritingSystem</A>&nbsp;writingSystem)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the names the <tt>writingSystem</tt> (e.g&#x2e; for displaying to the user in a dialog).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.WritingSystem.html" title="enum in com.trolltech.qt.gui">QFontDatabase.WritingSystem</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#writingSystems()">writingSystems</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a sorted list of the available writing systems.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.WritingSystem.html" title="enum in com.trolltech.qt.gui">QFontDatabase.WritingSystem</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html#writingSystems(java.lang.String)">writingSystems</A></B>(java.lang.String&nbsp;family)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a sorted list of the writing systems supported by a given font <tt>family</tt>.</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/QFontDatabase.html#writingSystemSample(com.trolltech.qt.gui.QFontDatabase.WritingSystem)">writingSystemSample</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.WritingSystem.html" title="enum in com.trolltech.qt.gui">QFontDatabase.WritingSystem</A>&nbsp;writingSystem)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string with sample characters from <tt>writingSystem</tt>.</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, equals, getClass, hashCode, notify, notifyAll, toString, 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="QFontDatabase()"><!-- --></A><H3>
QFontDatabase</H3>
<PRE>
public <B>QFontDatabase</B>()</PRE>
<DL>
<DD><p>Creates a font database object.</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(java.lang.String, java.lang.String)"><!-- --></A><H3>
bold</H3>
<PRE>
public final boolean <B>bold</B>(java.lang.String&nbsp;family,
                          java.lang.String&nbsp;style)</PRE>
<DL>
<DD><p>Returns true if the font that has family <tt>family</tt> and style <tt>style</tt> is bold; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#italic(java.lang.String, java.lang.String)"><tt>italic</tt></a>, 
<a href="QFontDatabase.html#weight(java.lang.String, java.lang.String)"><tt>weight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="families()"><!-- --></A><H3>
families</H3>
<PRE>
public final java.util.List&lt;java.lang.String&gt; <B>families</B>()</PRE>
<DL>
<DD>Returns a sorted list of the available font families.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="families(com.trolltech.qt.gui.QFontDatabase.WritingSystem)"><!-- --></A><H3>
families</H3>
<PRE>
public final java.util.List&lt;java.lang.String&gt; <B>families</B>(<A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.WritingSystem.html" title="enum in com.trolltech.qt.gui">QFontDatabase.WritingSystem</A>&nbsp;writingSystem)</PRE>
<DL>
<DD><p>Returns a sorted list of the available font families which support the <tt>writingSystem</tt>.</p>
<p>If a family exists in several foundries, the returned name for that font is in the form &quot;family [foundry]&quot;. Examples: &quot;Times [Adobe]&quot;, &quot;Times [Cronyx]&quot;, &quot;Palatino&quot;.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#writingSystems()"><tt>writingSystems</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="font(java.lang.String, java.lang.String, int)"><!-- --></A><H3>
font</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A> <B>font</B>(java.lang.String&nbsp;family,
                        java.lang.String&nbsp;style,
                        int&nbsp;pointSize)</PRE>
<DL>
<DD><p>Returns a <a href="QFont.html"><tt>QFont</tt></a> object that has family <tt>family</tt>, style <tt>style</tt> and point size <tt>pointSize</tt>. If no matching font could be created, a <a href="QFont.html"><tt>QFont</tt></a> object that uses the application's default font is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isBitmapScalable(java.lang.String)"><!-- --></A><H3>
isBitmapScalable</H3>
<PRE>
public final boolean <B>isBitmapScalable</B>(java.lang.String&nbsp;family)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFontDatabase.html#isBitmapScalable(java.lang.String, java.lang.String)"><tt>isBitmapScalable</tt></a>(<tt>family</tt>, QString()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isBitmapScalable(java.lang.String, java.lang.String)"><!-- --></A><H3>
isBitmapScalable</H3>
<PRE>
public final boolean <B>isBitmapScalable</B>(java.lang.String&nbsp;family,
                                      java.lang.String&nbsp;style)</PRE>
<DL>
<DD><p>Returns true if the font that has family <tt>family</tt> and style <tt>style</tt> is a scalable bitmap font; otherwise returns false. Scaling a bitmap font usually produces an unattractive hardly readable result, because the pixels of the font are scaled. If you need to scale a bitmap font it is better to scale it to one of the fixed sizes returned by <a href="QFontDatabase.html#smoothSizes(java.lang.String, java.lang.String)"><tt>smoothSizes</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#isScalable(java.lang.String, java.lang.String)"><tt>isScalable</tt></a>, 
<a href="QFontDatabase.html#isSmoothlyScalable(java.lang.String, java.lang.String)"><tt>isSmoothlyScalable</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isFixedPitch(java.lang.String)"><!-- --></A><H3>
isFixedPitch</H3>
<PRE>
public final boolean <B>isFixedPitch</B>(java.lang.String&nbsp;family)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFontDatabase.html#isFixedPitch(java.lang.String, java.lang.String)"><tt>isFixedPitch</tt></a>(<tt>family</tt>, QString()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isFixedPitch(java.lang.String, java.lang.String)"><!-- --></A><H3>
isFixedPitch</H3>
<PRE>
public final boolean <B>isFixedPitch</B>(java.lang.String&nbsp;family,
                                  java.lang.String&nbsp;style)</PRE>
<DL>
<DD><p>Returns true if the font that has family <tt>family</tt> and style <tt>style</tt> is fixed pitch; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isScalable(java.lang.String)"><!-- --></A><H3>
isScalable</H3>
<PRE>
public final boolean <B>isScalable</B>(java.lang.String&nbsp;family)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFontDatabase.html#isScalable(java.lang.String, java.lang.String)"><tt>isScalable</tt></a>(<tt>family</tt>, QString()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isScalable(java.lang.String, java.lang.String)"><!-- --></A><H3>
isScalable</H3>
<PRE>
public final boolean <B>isScalable</B>(java.lang.String&nbsp;family,
                                java.lang.String&nbsp;style)</PRE>
<DL>
<DD><p>Returns true if the font that has family <tt>family</tt> and style <tt>style</tt> is scalable; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#isBitmapScalable(java.lang.String, java.lang.String)"><tt>isBitmapScalable</tt></a>, 
<a href="QFontDatabase.html#isSmoothlyScalable(java.lang.String, java.lang.String)"><tt>isSmoothlyScalable</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isSmoothlyScalable(java.lang.String)"><!-- --></A><H3>
isSmoothlyScalable</H3>
<PRE>
public final boolean <B>isSmoothlyScalable</B>(java.lang.String&nbsp;family)</PRE>
<DL>
<DD><p>Equivalent to <a href="QFontDatabase.html#isSmoothlyScalable(java.lang.String, java.lang.String)"><tt>isSmoothlyScalable</tt></a>(<tt>family</tt>, QString()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isSmoothlyScalable(java.lang.String, java.lang.String)"><!-- --></A><H3>
isSmoothlyScalable</H3>
<PRE>
public final boolean <B>isSmoothlyScalable</B>(java.lang.String&nbsp;family,
                                        java.lang.String&nbsp;style)</PRE>
<DL>
<DD><p>Returns true if the font that has family <tt>family</tt> and style <tt>style</tt> is smoothly scalable; otherwise returns false. If this function returns true, it's safe to scale this font to any size, and the result will always look attractive.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#isScalable(java.lang.String, java.lang.String)"><tt>isScalable</tt></a>, 
<a href="QFontDatabase.html#isBitmapScalable(java.lang.String, java.lang.String)"><tt>isBitmapScalable</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="italic(java.lang.String, java.lang.String)"><!-- --></A><H3>
italic</H3>
<PRE>
public final boolean <B>italic</B>(java.lang.String&nbsp;family,
                            java.lang.String&nbsp;style)</PRE>
<DL>
<DD><p>Returns true if the font that has family <tt>family</tt> and style <tt>style</tt> is italic; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#weight(java.lang.String, java.lang.String)"><tt>weight</tt></a>, 
<a href="QFontDatabase.html#bold(java.lang.String, java.lang.String)"><tt>bold</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="pointSizes(java.lang.String)"><!-- --></A><H3>
pointSizes</H3>
<PRE>
public final java.util.List&lt;java.lang.Integer&gt; <B>pointSizes</B>(java.lang.String&nbsp;family)</PRE>
<DL>
<DD>Returns a list of the point sizes available for the font that has
the specified <tt>family</tt>. The list may be empty.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="pointSizes(java.lang.String, java.lang.String)"><!-- --></A><H3>
pointSizes</H3>
<PRE>
public final java.util.List&lt;java.lang.Integer&gt; <B>pointSizes</B>(java.lang.String&nbsp;family,
                                                          java.lang.String&nbsp;style)</PRE>
<DL>
<DD><p>Returns a list of the point sizes available for the font that has family <tt>family</tt> and style <tt>style</tt>. The list may be empty.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#smoothSizes(java.lang.String, java.lang.String)"><tt>smoothSizes</tt></a>, 
<a href="QFontDatabase.html#standardSizes()"><tt>standardSizes</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="smoothSizes(java.lang.String, java.lang.String)"><!-- --></A><H3>
smoothSizes</H3>
<PRE>
public final java.util.List&lt;java.lang.Integer&gt; <B>smoothSizes</B>(java.lang.String&nbsp;family,
                                                           java.lang.String&nbsp;style)</PRE>
<DL>
<DD><p>Returns the point sizes of a font that has family <tt>family</tt> and style <tt>style</tt> that will look attractive. The list may be empty. For non-scalable fonts and bitmap scalable fonts, this function is equivalent to <a href="QFontDatabase.html#pointSizes(java.lang.String, java.lang.String)"><tt>pointSizes</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#pointSizes(java.lang.String, java.lang.String)"><tt>pointSizes</tt></a>, 
<a href="QFontDatabase.html#standardSizes()"><tt>standardSizes</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="styleString(com.trolltech.qt.gui.QFont)"><!-- --></A><H3>
styleString</H3>
<PRE>
public final java.lang.String <B>styleString</B>(<A HREF="../../../../com/trolltech/qt/gui/QFont.html" title="class in com.trolltech.qt.gui">QFont</A>&nbsp;font)</PRE>
<DL>
<DD><p>Returns a string that describes the style of the <tt>font</tt>. For example, &quot;Bold Italic&quot;, &quot;Bold&quot;, &quot;Italic&quot; or &quot;Normal&quot;. An empty string may be returned.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="styleString(com.trolltech.qt.gui.QFontInfo)"><!-- --></A><H3>
styleString</H3>
<PRE>
public final java.lang.String <B>styleString</B>(<A HREF="../../../../com/trolltech/qt/gui/QFontInfo.html" title="class in com.trolltech.qt.gui">QFontInfo</A>&nbsp;fontInfo)</PRE>
<DL>
<DD><p>Returns a string that describes the style of the <tt>fontInfo</tt>. For example, &quot;Bold Italic&quot;, &quot;Bold&quot;, &quot;Italic&quot; or &quot;Normal&quot;. An empty string may be returned.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="styles(java.lang.String)"><!-- --></A><H3>
styles</H3>
<PRE>
public final java.util.List&lt;java.lang.String&gt; <B>styles</B>(java.lang.String&nbsp;family)</PRE>
<DL>
<DD><p>Returns a list of the styles available for the font family <tt>family</tt>. Some example styles: &quot;Light&quot;, &quot;Light Italic&quot;, &quot;Bold&quot;, &quot;Oblique&quot;, &quot;Demi&quot;. The list may be empty.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#families(com.trolltech.qt.gui.QFontDatabase.WritingSystem)"><tt>families</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="weight(java.lang.String, java.lang.String)"><!-- --></A><H3>
weight</H3>
<PRE>
public final int <B>weight</B>(java.lang.String&nbsp;family,
                        java.lang.String&nbsp;style)</PRE>
<DL>
<DD><p>Returns the weight of the font that has family <tt>family</tt> and style <tt>style</tt>. If there is no such family and style combination, returns -1.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#italic(java.lang.String, java.lang.String)"><tt>italic</tt></a>, 
<a href="QFontDatabase.html#bold(java.lang.String, java.lang.String)"><tt>bold</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="writingSystems(java.lang.String)"><!-- --></A><H3>
writingSystems</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.WritingSystem.html" title="enum in com.trolltech.qt.gui">QFontDatabase.WritingSystem</A>&gt; <B>writingSystems</B>(java.lang.String&nbsp;family)</PRE>
<DL>
<DD><p>Returns a sorted list of the writing systems supported by a given font <tt>family</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#families(com.trolltech.qt.gui.QFontDatabase.WritingSystem)"><tt>families</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="writingSystems()"><!-- --></A><H3>
writingSystems</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.WritingSystem.html" title="enum in com.trolltech.qt.gui">QFontDatabase.WritingSystem</A>&gt; <B>writingSystems</B>()</PRE>
<DL>
<DD><p>Returns a sorted list of the available writing systems. This is list generated from information about all installed fonts on the system.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#families(com.trolltech.qt.gui.QFontDatabase.WritingSystem)"><tt>families</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addApplicationFont(java.lang.String)"><!-- --></A><H3>
addApplicationFont</H3>
<PRE>
public static int <B>addApplicationFont</B>(java.lang.String&nbsp;fileName)</PRE>
<DL>
<DD><p>Loads the font from the file specified by <tt>fileName</tt> and makes it available to the application. An ID is returned that can be used to remove the font again with <a href="QFontDatabase.html#removeApplicationFont(int)"><tt>removeApplicationFont</tt></a> or to retrieve the list of family names contained in the font.</p>
<p>The function returns -1 if the font could not be loaded.</p>
<p>Currently only TrueType fonts and TrueType font collections are supported.</p>
<p><b>Note:</b> Adding application fonts on Unix/X11 platforms without fontconfig is currently not supported.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#addApplicationFontFromData(com.trolltech.qt.core.QByteArray)"><tt>addApplicationFontFromData</tt></a>, 
<a href="QFontDatabase.html#applicationFontFamilies(int)"><tt>applicationFontFamilies</tt></a>, 
<a href="QFontDatabase.html#removeApplicationFont(int)"><tt>removeApplicationFont</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addApplicationFontFromData(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
addApplicationFontFromData</H3>
<PRE>
public static int <B>addApplicationFontFromData</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;fontData)</PRE>
<DL>
<DD><p>Loads the font from binary data specified by <tt>fontData</tt> and makes it available to the application. An ID is returned that can be used to remove the font again with <a href="QFontDatabase.html#removeApplicationFont(int)"><tt>removeApplicationFont</tt></a> or to retrieve the list of family names contained in the font.</p>
<p>The function returns -1 if the font could not be loaded.</p>
<p>Currently only TrueType fonts and TrueType font collections are supported.</p>
<p><b>Note:</b> Adding application fonts on Unix/X11 platforms without fontconfig is currently not supported.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#addApplicationFont(java.lang.String)"><tt>addApplicationFont</tt></a>, 
<a href="QFontDatabase.html#applicationFontFamilies(int)"><tt>applicationFontFamilies</tt></a>, 
<a href="QFontDatabase.html#removeApplicationFont(int)"><tt>removeApplicationFont</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="applicationFontFamilies(int)"><!-- --></A><H3>
applicationFontFamilies</H3>
<PRE>
public static java.util.List&lt;java.lang.String&gt; <B>applicationFontFamilies</B>(int&nbsp;id)</PRE>
<DL>
<DD><p>Returns a list of font families for the given application font identified by <tt>id</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#addApplicationFont(java.lang.String)"><tt>addApplicationFont</tt></a>, 
<a href="QFontDatabase.html#addApplicationFontFromData(com.trolltech.qt.core.QByteArray)"><tt>addApplicationFontFromData</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="removeAllApplicationFonts()"><!-- --></A><H3>
removeAllApplicationFonts</H3>
<PRE>
public static boolean <B>removeAllApplicationFonts</B>()</PRE>
<DL>
<DD><p>Removes all application-local fonts previously added using <a href="QFontDatabase.html#addApplicationFont(java.lang.String)"><tt>addApplicationFont</tt></a> and <a href="QFontDatabase.html#addApplicationFontFromData(com.trolltech.qt.core.QByteArray)"><tt>addApplicationFontFromData</tt></a>.</p>
<p>Returns true if unloading of the fonts succeeded; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#removeApplicationFont(int)"><tt>removeApplicationFont</tt></a>, 
<a href="QFontDatabase.html#addApplicationFont(java.lang.String)"><tt>addApplicationFont</tt></a>, 
<a href="QFontDatabase.html#addApplicationFontFromData(com.trolltech.qt.core.QByteArray)"><tt>addApplicationFontFromData</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="removeApplicationFont(int)"><!-- --></A><H3>
removeApplicationFont</H3>
<PRE>
public static boolean <B>removeApplicationFont</B>(int&nbsp;id)</PRE>
<DL>
<DD><p>Removes the previously loaded application font identified by <tt>id</tt>. Returns true if unloading of the font succeeded; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#removeAllApplicationFonts()"><tt>removeAllApplicationFonts</tt></a>, 
<a href="QFontDatabase.html#addApplicationFont(java.lang.String)"><tt>addApplicationFont</tt></a>, 
<a href="QFontDatabase.html#addApplicationFontFromData(com.trolltech.qt.core.QByteArray)"><tt>addApplicationFontFromData</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="standardSizes()"><!-- --></A><H3>
standardSizes</H3>
<PRE>
public static java.util.List&lt;java.lang.Integer&gt; <B>standardSizes</B>()</PRE>
<DL>
<DD><p>Returns a list of standard font sizes.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFontDatabase.html#smoothSizes(java.lang.String, java.lang.String)"><tt>smoothSizes</tt></a>, 
<a href="QFontDatabase.html#pointSizes(java.lang.String, java.lang.String)"><tt>pointSizes</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="writingSystemName(com.trolltech.qt.gui.QFontDatabase.WritingSystem)"><!-- --></A><H3>
writingSystemName</H3>
<PRE>
public static java.lang.String <B>writingSystemName</B>(<A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.WritingSystem.html" title="enum in com.trolltech.qt.gui">QFontDatabase.WritingSystem</A>&nbsp;writingSystem)</PRE>
<DL>
<DD><p>Returns the names the <tt>writingSystem</tt> (e.g&#x2e; for displaying to the user in a dialog).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="writingSystemSample(com.trolltech.qt.gui.QFontDatabase.WritingSystem)"><!-- --></A><H3>
writingSystemSample</H3>
<PRE>
public static java.lang.String <B>writingSystemSample</B>(<A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.WritingSystem.html" title="enum in com.trolltech.qt.gui">QFontDatabase.WritingSystem</A>&nbsp;writingSystem)</PRE>
<DL>
<DD><p>Returns a string with sample characters from <tt>writingSystem</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.html" title="class in com.trolltech.qt.gui">QFontDatabase</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 QFontDatabase instance pointed to by nativePointer
<P>
<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.QFontDatabase[])"><!-- --></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/QFontDatabase.html" title="class in com.trolltech.qt.gui">QFontDatabase</A>[]&nbsp;array)</PRE>
<DL>
<DD>This function returns a QNativePointer that is pointing to the specified QFontDatabase array.
<P>
<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>
<!-- ========= 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/QFontComboBox.FontFilters.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QFontDatabase.WritingSystem.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/QFontDatabase.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QFontDatabase.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>