|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QFontComboBox.FontFilter>
com.trolltech.qt.gui.QFontComboBox.FontFilter
public static enum QFontComboBox.FontFilter
This enum can be used to only show certain types of fonts in the font combo box.
Enum Constant Summary | |
---|---|
AllFonts
Show all fonts |
|
MonospacedFonts
Only show monospaced fonts |
|
NonScalableFonts
Only show non scalable fonts |
|
ProportionalFonts
Only show proportional fonts |
|
ScalableFonts
Only show scalable fonts |
Method Summary | |
---|---|
static QFontComboBox.FontFilters |
createQFlags(QFontComboBox.FontFilter... values)
|
static QFontComboBox.FontFilter |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QFontComboBox.FontFilter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QFontComboBox.FontFilter[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QFontComboBox.FontFilter AllFonts
Show all fonts
public static final QFontComboBox.FontFilter ScalableFonts
Only show scalable fonts
public static final QFontComboBox.FontFilter NonScalableFonts
Only show non scalable fonts
public static final QFontComboBox.FontFilter MonospacedFonts
Only show monospaced fonts
public static final QFontComboBox.FontFilter ProportionalFonts
Only show proportional fonts
Method Detail |
---|
public static QFontComboBox.FontFilter[] values()
for (QFontComboBox.FontFilter c : QFontComboBox.FontFilter.values()) System.out.println(c);
public static QFontComboBox.FontFilter valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QFontComboBox.FontFilters createQFlags(QFontComboBox.FontFilter... values)
public static QFontComboBox.FontFilter resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |