|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Qt.TextInteractionFlag>
com.trolltech.qt.core.Qt.TextInteractionFlag
public static enum Qt.TextInteractionFlag
This enum specifies how a text displaying widget reacts to user input.
Enum Constant Summary | |
---|---|
LinksAccessibleByKeyboard
Links can be focused using tab and activated with enter. |
|
LinksAccessibleByMouse
Links can be highlighted and activated with the mouse. |
|
NoTextInteraction
No interaction with the text is possible. |
|
TextBrowserInteraction
The default for QTextBrowser. |
|
TextEditable
The text is fully editable. |
|
TextEditorInteraction
The default for a text editor. |
|
TextSelectableByKeyboard
Text can be selected with the cursor keys on the keyboard. |
|
TextSelectableByMouse
Text can be selected with the mouse and copied to the clipboard using a context menu or standard keyboard shortcuts. |
Method Summary | |
---|---|
static Qt.TextInteractionFlags |
createQFlags(Qt.TextInteractionFlag... values)
|
static Qt.TextInteractionFlag |
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.TextInteractionFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Qt.TextInteractionFlag[] |
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 Qt.TextInteractionFlag NoTextInteraction
No interaction with the text is possible.
public static final Qt.TextInteractionFlag TextSelectableByMouse
Text can be selected with the mouse and copied to the clipboard using a context menu or standard keyboard shortcuts.
public static final Qt.TextInteractionFlag TextSelectableByKeyboard
Text can be selected with the cursor keys on the keyboard. A text cursor is shown.
public static final Qt.TextInteractionFlag LinksAccessibleByMouse
Links can be highlighted and activated with the mouse.
public static final Qt.TextInteractionFlag LinksAccessibleByKeyboard
Links can be focused using tab and activated with enter.
public static final Qt.TextInteractionFlag TextEditable
The text is fully editable.
public static final Qt.TextInteractionFlag TextEditorInteraction
The default for a text editor.
public static final Qt.TextInteractionFlag TextBrowserInteraction
The default for QTextBrowser.
Method Detail |
---|
public static final Qt.TextInteractionFlag[] values()
for(Qt.TextInteractionFlag c : Qt.TextInteractionFlag.values()) System.out.println(c);
public static Qt.TextInteractionFlag 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()
QtEnumerator
value
in interface QtEnumerator
public static Qt.TextInteractionFlags createQFlags(Qt.TextInteractionFlag... values)
public static Qt.TextInteractionFlag resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |