|
|||||||||
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.ShortcutContext
public static final class Qt.ShortcutContext
For a QEvent::Shortcut
event to occur, the shortcut's key sequence must be entered by the user in a context where the shortcut is active. The possible contexts are these:
Field Summary | |
---|---|
static Qt.ShortcutContext |
ApplicationShortcut
The shortcut is active when one of the applications windows are active. |
static Qt.ShortcutContext |
WidgetShortcut
The shortcut is active when its parent widget has focus. |
static Qt.ShortcutContext |
WidgetWithChildrenShortcut
The shortcut is active when its parent widget, or any of its children has focus. |
static Qt.ShortcutContext |
WindowShortcut
The shortcut is active when its parent widget is a logical subwidget of the active top-level window. |
Method Summary | |
---|---|
static Qt.ShortcutContext |
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.ShortcutContext |
valueOf(java.lang.String name)
|
static Qt.ShortcutContext[] |
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.ShortcutContext WidgetShortcut
public static final Qt.ShortcutContext WindowShortcut
public static final Qt.ShortcutContext ApplicationShortcut
public static final Qt.ShortcutContext WidgetWithChildrenShortcut
Method Detail |
---|
public static Qt.ShortcutContext[] values()
public static Qt.ShortcutContext valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static Qt.ShortcutContext resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |