|
|||||||||
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.QInputMethodEvent.AttributeType
public static final class QInputMethodEvent.AttributeType
Field Summary | |
---|---|
static QInputMethodEvent.AttributeType |
Cursor
If set, a cursor should be shown inside the preedit string at position start. |
static QInputMethodEvent.AttributeType |
Language
The variant contains a QLocale object specifying the language of a certain part of the preedit string. |
static QInputMethodEvent.AttributeType |
Ruby
The ruby text for a part of the preedit string. |
static QInputMethodEvent.AttributeType |
TextFormat
A QTextCharFormat for the part of the preedit string specified by start and length. |
Method Summary | |
---|---|
static QInputMethodEvent.AttributeType |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QInputMethodEvent.AttributeType |
valueOf(java.lang.String name)
|
static QInputMethodEvent.AttributeType[] |
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 QInputMethodEvent.AttributeType TextFormat
QTextCharFormat
for the part of the preedit string specified by start and length. value contains a QVariant
of type QTextFormat
specifying rendering of this part of the preedit string. There should be at most one format for every part of the preedit string. If several are specified for any character in the string the behaviour is undefined. A conforming implementation has to at least honor the backgroundColor, textColor and fontUnderline properties of the format.
public static final QInputMethodEvent.AttributeType Cursor
QVariant
of type QColor
this color will be used for rendering the cursor, otherwise the color of the surrounding text will be used. There should be at most one Cursor attribute per event. If several are specified the behaviour is undefined.
public static final QInputMethodEvent.AttributeType Language
QLocale
object specifying the language of a certain part of the preedit string. There should be at most one language set for every part of the preedit string. If several are specified for any character in the string the behaviour is undefined.
public static final QInputMethodEvent.AttributeType Ruby
Method Detail |
---|
public static QInputMethodEvent.AttributeType[] values()
public static QInputMethodEvent.AttributeType valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QInputMethodEvent.AttributeType resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |