|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.core.Qt.TextFormat
public static final class Qt.TextFormat
This enum is used in widgets that can display both plain text and rich text, e. . QLabel
. It is used for deciding whether a text string should be interpreted as one or the other. This is normally done by passing one of the enum values to a setTextFormat() function.
Field Summary | |
---|---|
static Qt.TextFormat |
AutoText
The text string is interpreted as for Qt::RichText if Qt::mightBeRichText() returns true, otherwise as Qt::PlainText . |
static Qt.TextFormat |
LogText
A special, limited text format which is only used by Q3TextEdit in an optimized mode. |
static Qt.TextFormat |
PlainText
The text string is interpreted as a plain text string. |
static Qt.TextFormat |
RichText
The text string is interpreted as a rich text string. |
Method Summary | |
---|---|
static Qt.TextFormat |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static Qt.TextFormat |
valueOf(java.lang.String name)
|
static Qt.TextFormat[] |
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 Qt.TextFormat PlainText
public static final Qt.TextFormat RichText
public static final Qt.TextFormat AutoText
Qt::RichText
if Qt::mightBeRichText() returns true, otherwise as Qt::PlainText
.
public static final Qt.TextFormat LogText
Method Detail |
---|
public static Qt.TextFormat[] values()
public static Qt.TextFormat valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static Qt.TextFormat resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |