<class name="QFontComboBox" doc="/**
&lt;p&gt;The &lt;a href=&quot;QFontComboBox.html#QFontComboBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFontComboBox&lt;/tt&gt;&lt;/a&gt; widget is a combobox that lets the user select a font family.&lt;/p&gt;
&lt;p&gt;The combobox is populated with an alphabetized list of font family names, such as Arial, Helvetica, and Times New Roman. Family names are displayed using the actual font when possible. For fonts such as Symbol, where the name is not representable in the font itself, a sample of the font is displayed next to the family name.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QFontComboBox.html#QFontComboBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFontComboBox&lt;/tt&gt;&lt;/a&gt; is often used in toolbars, in conjunction with a &lt;a href=&quot;QComboBox.html#QComboBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt; for controlling the font size and two &lt;a href=&quot;QToolButton.html&quot;&gt;&lt;tt&gt;QToolButton&lt;/tt&gt;&lt;/a&gt;s for bold and italic.&lt;/p&gt;
&lt;p&gt;When the user selects a new font, the &lt;a href=&quot;QFontComboBox.html#currentFontChanged(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;currentFontChanged&lt;/tt&gt;&lt;/a&gt; signal is emitted in addition to &lt;a href=&quot;QFontComboBox.html#currentIndexChanged(int)&quot;&gt;&lt;tt&gt;currentIndexChanged&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Call &lt;a href=&quot;QFontComboBox.html#setWritingSystem(com.trolltech.qt.gui.QFontDatabase.WritingSystem)&quot;&gt;&lt;tt&gt;setWritingSystem&lt;/tt&gt;&lt;/a&gt; to tell &lt;a href=&quot;QFontComboBox.html#QFontComboBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFontComboBox&lt;/tt&gt;&lt;/a&gt; to show only fonts that support a given writing system, and &lt;a href=&quot;QFontComboBox.html#setFontFilters(com.trolltech.qt.gui.QFontComboBox.FontFilters)&quot;&gt;&lt;tt&gt;setFontFilters&lt;/tt&gt;&lt;/a&gt; to filter out certain types of fonts as e.g&amp;#x2e; non scalable fonts or monospaced fonts.&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/windowsxp-fontcombobox.png&quot; alt=&quot;Screenshot of QFontComboBox on Windows XP&quot; /&gt;&lt;/p&gt;
@see &lt;a href=&quot;QComboBox.html#QComboBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFont.html&quot;&gt;&lt;tt&gt;QFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontInfo.html&quot;&gt;&lt;tt&gt;QFontInfo&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontMetrics.html&quot;&gt;&lt;tt&gt;QFontMetrics&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontDatabase.html&quot;&gt;&lt;tt&gt;QFontDatabase&lt;/tt&gt;&lt;/a&gt;
@see Character Map Example&lt;/tt&gt; */">
    <signal name="protected final void activated(java.lang.String arg__1)" doc="/**
&lt;p&gt;This signal is sent when an item in the combobox is activated by the user. The item's &lt;tt&gt;arg__1&lt;/tt&gt; is given.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String arg__1)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void activatedIndex(int index)" doc="/**
&lt;p&gt;This signal is sent when an item in the combobox is activated by the user. The item's &lt;tt&gt;index&lt;/tt&gt; is given.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void currentFontChanged(com.trolltech.qt.gui.QFont f)" doc="/**
&lt;p&gt;This signal is emitted whenever the current font changes, with the new &lt;tt&gt;f&lt;/tt&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QFont f)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QFontComboBox.html#currentFont()&quot;&gt;&lt;tt&gt;currentFont&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void currentStringChanged(java.lang.String arg__1)" doc="/**
&lt;p&gt;This signal is sent whenever the &lt;a href=&quot;QComboBox.html#currentIndex()&quot;&gt;&lt;tt&gt;currentIndex&lt;/tt&gt;&lt;/a&gt; in the combobox changes either through user interaction or programmatically. The item's &lt;tt&gt;arg__1&lt;/tt&gt; is given.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String arg__1)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void currentIndexChanged(int index)" doc="/**
&lt;p&gt;This signal is sent whenever the &lt;a href=&quot;QComboBox.html#currentIndex()&quot;&gt;&lt;tt&gt;currentIndex&lt;/tt&gt;&lt;/a&gt; in the combobox changes either through user interaction or programmatically. The item's &lt;tt&gt;index&lt;/tt&gt; is given or -1 if the combobox becomes empty or the &lt;a href=&quot;QComboBox.html#currentIndex()&quot;&gt;&lt;tt&gt;currentIndex&lt;/tt&gt;&lt;/a&gt; was reset.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void editTextChanged(java.lang.String arg__1)" doc="/**
&lt;p&gt;This signal is emitted when the text in the combobox's line edit widget is changed. The new text is specified by &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String arg__1)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void highlighted(java.lang.String arg__1)" doc="/**
&lt;p&gt;This signal is sent when an item in the combobox popup list is highlighted by the user. The item's &lt;tt&gt;arg__1&lt;/tt&gt; is given.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String arg__1)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void highlightedIndex(int index)" doc="/**
&lt;p&gt;This signal is sent when an item in the combobox popup list is highlighted by the user. The item's &lt;tt&gt;index&lt;/tt&gt; is given.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QFontComboBox(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a font combobox with the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QFontComboBox()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFontComboBox.html#QFontComboBox(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QFontComboBox&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public final com.trolltech.qt.gui.QFont currentFont()" doc="/**
&lt;p&gt;Returns the currently selected font.&lt;/p&gt;

@see &lt;a href=&quot;QFontComboBox.html#setCurrentFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setCurrentFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontComboBox.html#currentFontChanged(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;currentFontChanged&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QComboBox.html#currentIndex()&quot;&gt;&lt;tt&gt;currentIndex&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QComboBox.html#currentText()&quot;&gt;&lt;tt&gt;currentText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QFontComboBox.FontFilters fontFilters()" doc="/**
&lt;p&gt;Returns the filter for the combobox.&lt;/p&gt;
&lt;p&gt;By default, all fonts are listed.&lt;/p&gt;

@see &lt;a href=&quot;QFontComboBox.html#setFontFilters(com.trolltech.qt.gui.QFontComboBox.FontFilters)&quot;&gt;&lt;tt&gt;setFontFilters&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontComboBox.html#writingSystem()&quot;&gt;&lt;tt&gt;writingSystem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCurrentFont(com.trolltech.qt.gui.QFont f)" doc="/**
&lt;p&gt;Sets the currently selected font to &lt;tt&gt;f&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QFontComboBox.html#currentFontChanged(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;currentFontChanged&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QComboBox.html#currentIndex()&quot;&gt;&lt;tt&gt;currentIndex&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QComboBox.html#currentText()&quot;&gt;&lt;tt&gt;currentText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontFilters(com.trolltech.qt.gui.QFontComboBox.FontFilters filters)" doc="/**
&lt;p&gt;Sets the filter for the combobox to &lt;tt&gt;filters&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;By default, all fonts are listed.&lt;/p&gt;

@see &lt;a href=&quot;QFontComboBox.html#fontFilters()&quot;&gt;&lt;tt&gt;fontFilters&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontComboBox.html#writingSystem()&quot;&gt;&lt;tt&gt;writingSystem&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setWritingSystem(com.trolltech.qt.gui.QFontDatabase.WritingSystem arg__1)" doc="/**
&lt;p&gt;Sets the writing system that serves as a filter for the combobox to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;script&lt;/tt&gt; is QFontDatabase::Any (the default), all fonts are listed.&lt;/p&gt;

@see &lt;a href=&quot;QFontComboBox.html#writingSystem()&quot;&gt;&lt;tt&gt;writingSystem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontComboBox.html#fontFilters()&quot;&gt;&lt;tt&gt;fontFilters&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QFontDatabase.WritingSystem writingSystem()" doc="/**
&lt;p&gt;Returns the writing system that serves as a filter for the combobox.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;script&lt;/tt&gt; is QFontDatabase::Any (the default), all fonts are listed.&lt;/p&gt;

@see &lt;a href=&quot;QFontComboBox.html#setWritingSystem(com.trolltech.qt.gui.QFontDatabase.WritingSystem)&quot;&gt;&lt;tt&gt;setWritingSystem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFontComboBox.html#fontFilters()&quot;&gt;&lt;tt&gt;fontFilters&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent e)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize sizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <enum name="FontFilter" doc="/**
&lt;p&gt;This enum can be used to only show certain types of fonts in the font combo box.&lt;/p&gt;
 */">
        <enum-value name="AllFonts" doc="/**
&lt;p&gt;Show all fonts&lt;/p&gt;
 */"/>
        <enum-value name="ScalableFonts" doc="/**
&lt;p&gt;Only show scalable fonts&lt;/p&gt;
 */"/>
        <enum-value name="NonScalableFonts" doc="/**
&lt;p&gt;Only show non scalable fonts&lt;/p&gt;
 */"/>
        <enum-value name="MonospacedFonts" doc="/**
&lt;p&gt;Only show monospaced fonts&lt;/p&gt;
 */"/>
        <enum-value name="ProportionalFonts" doc="/**
&lt;p&gt;Only show proportional fonts&lt;/p&gt;
 */"/>
</enum>
</class>
