|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QFont.StyleHint>
com.trolltech.qt.gui.QFont.StyleHint
public static enum QFont.StyleHint
Style hints are used by the font matching algorithm to find an appropriate default family if a selected font family is not available.
Enum Constant Summary | |
---|---|
AnyStyle
leaves the font matching algorithm to choose the family. |
|
Courier
a synonym for TypeWriter. |
|
Helvetica
is a synonym for SansSerif. |
|
OldEnglish
the font matcher prefers decorative fonts. |
|
System
the font matcher prefers system fonts. |
|
Times
is a synonym for Serif. |
Method Summary | |
---|---|
static QFont.StyleHint |
resolve(int value)
|
int |
value()
|
static QFont.StyleHint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QFont.StyleHint[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QFont.StyleHint Helvetica
is a synonym for SansSerif.
public static final QFont.StyleHint Times
is a synonym for Serif.
public static final QFont.StyleHint Courier
a synonym for TypeWriter.
public static final QFont.StyleHint OldEnglish
the font matcher prefers decorative fonts.
public static final QFont.StyleHint System
the font matcher prefers system fonts.
public static final QFont.StyleHint AnyStyle
leaves the font matching algorithm to choose the family. This is the default.
Method Detail |
---|
public static final QFont.StyleHint[] values()
for(QFont.StyleHint c : QFont.StyleHint.values()) System.out.println(c);
public static QFont.StyleHint 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 namepublic int value()
value
in interface QtEnumerator
public static QFont.StyleHint resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |