|
|||||||||
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.StyleStrategy
public static final class QFont.StyleStrategy
The style strategy tells the font matching
algorithm what type of fonts should be used to find an appropriate default family.
The following strategies are available: Any of these may be OR-ed with one of these flags:
Field Summary | |
---|---|
static QFont.StyleStrategy |
ForceOutline
forces the use of outline fonts. |
static QFont.StyleStrategy |
NoAntialias
don't antialias the fonts. |
static QFont.StyleStrategy |
NoFontMerging
If a font does not contain a character requested to draw then Qt automatically chooses a similar looking for that contains the character. |
static QFont.StyleStrategy |
OpenGLCompatible
forces the use of OpenGL compatible fonts. |
static QFont.StyleStrategy |
PreferAntialias
antialias if possible. |
static QFont.StyleStrategy |
PreferBitmap
prefers bitmap fonts (as opposed to outline fonts). |
static QFont.StyleStrategy |
PreferDefault
the default style strategy. |
static QFont.StyleStrategy |
PreferDevice
prefers device fonts. |
static QFont.StyleStrategy |
PreferMatch
prefer an exact match. |
static QFont.StyleStrategy |
PreferOutline
prefers outline fonts (as opposed to bitmap fonts). |
static QFont.StyleStrategy |
PreferQuality
prefer the best quality font. |
Method Summary | |
---|---|
static QFont.StyleStrategy |
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.StyleStrategy |
valueOf(java.lang.String name)
|
static QFont.StyleStrategy[] |
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.StyleStrategy PreferDefault
public static final QFont.StyleStrategy PreferBitmap
public static final QFont.StyleStrategy PreferDevice
public static final QFont.StyleStrategy PreferOutline
public static final QFont.StyleStrategy ForceOutline
public static final QFont.StyleStrategy PreferMatch
public static final QFont.StyleStrategy PreferQuality
public static final QFont.StyleStrategy PreferAntialias
public static final QFont.StyleStrategy NoAntialias
public static final QFont.StyleStrategy OpenGLCompatible
OpenGL
compatible fonts.
public static final QFont.StyleStrategy NoFontMerging
Method Detail |
---|
public static QFont.StyleStrategy[] values()
public static QFont.StyleStrategy valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QFont.StyleStrategy resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |