|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Enum
com.trolltech.qt.gui.QFont.StyleHint
public static final class 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.
| Field Summary | |
|---|---|
static QFont.StyleHint |
AnyStyle
leaves the font matching algorithm to choose the family. |
static QFont.StyleHint |
Courier
a synonym for TypeWriter. |
static QFont.StyleHint |
Helvetica
is a synonym for SansSerif. |
static QFont.StyleHint |
OldEnglish
the font matcher prefers decorative fonts. |
static QFont.StyleHint |
System
the font matcher prefers system fonts. |
static QFont.StyleHint |
Times
is a synonym for Serif. |
| Method Summary | |
|---|---|
static QFont.StyleHint |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QFont.StyleHint |
valueOf(java.lang.String name)
|
static QFont.StyleHint[] |
values()
|
| 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 |
| Field Detail |
|---|
public static final QFont.StyleHint Helvetica
public static final QFont.StyleHint Times
public static final QFont.StyleHint Courier
public static final QFont.StyleHint OldEnglish
public static final QFont.StyleHint System
public static final QFont.StyleHint AnyStyle
| Method Detail |
|---|
public static QFont.StyleHint[] values()
public static QFont.StyleHint valueOf(java.lang.String name)
public int value()
value in interface QtEnumeratorpublic static QFont.StyleHint resolve(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||