|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QFont.Style>
com.trolltech.qt.gui.QFont.Style
public static enum QFont.Style
This enum describes the different styles of glyphs that are used to display text.
Enum Constant Summary | |
---|---|
StyleItalic
Italic glyphs that are specifically designed for the purpose of representing italicized text. |
|
StyleNormal
Normal glyphs used in unstyled text. |
|
StyleOblique
Glyphs with an italic appearance that are typically based on the unstyled glyphs, but are not fine-tuned for the purpose of representing italicized text. |
Method Summary | |
---|---|
static QFont.Style |
resolve(int value)
|
int |
value()
|
static QFont.Style |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QFont.Style[] |
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.Style StyleNormal
Normal glyphs used in unstyled text.
public static final QFont.Style StyleItalic
Italic glyphs that are specifically designed for the purpose of representing italicized text.
public static final QFont.Style StyleOblique
Glyphs with an italic appearance that are typically based on the unstyled glyphs, but are not fine-tuned for the purpose of representing italicized text.
Method Detail |
---|
public static final QFont.Style[] values()
for(QFont.Style c : QFont.Style.values()) System.out.println(c);
public static QFont.Style 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.Style resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |