public enum QKeyCode extends Enum<QKeyCode>
QApiEnumDescriptor{name=QKeyCode, data=[unmapped, shift, shift_r, alt, alt_r, altgr, altgr_r, ctrl, ctrl_r, menu, esc, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, minus, equal, backspace, tab, q, w, e, r, t, y, u, i, o, p, bracket_left, bracket_right, ret, a, s, d, f, g, h, j, k, l, semicolon, apostrophe, grave_accent, backslash, z, x, c, v, b, n, m, comma, dot, slash, asterisk, spc, caps_lock, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, num_lock, scroll_lock, kp_divide, kp_multiply, kp_subtract, kp_add, kp_enter, kp_decimal, sysrq, kp_0, kp_1, kp_2, kp_3, kp_4, kp_5, kp_6, kp_7, kp_8, kp_9, less, f11, f12, print, home, pgup, pgdn, end, left, up, down, right, insert, delete, stop, again, props, undo, front, copy, open, paste, find, cut, lf, help, meta_l, meta_r, compose, pause, ro, kp_comma], fields=null}
Enum Constant and Description |
---|
__UNKNOWN |
a |
again |
alt |
alt_r |
altgr |
altgr_r |
apostrophe |
asterisk |
b |
backslash |
backspace |
bracket_left |
bracket_right |
c |
caps_lock |
comma |
compose |
copy |
ctrl |
ctrl_r |
cut |
d |
delete |
dot |
down |
e |
end |
equal |
esc |
f |
f1 |
f10 |
f11 |
f12 |
f2 |
f3 |
f4 |
f5 |
f6 |
f7 |
f8 |
f9 |
find |
front |
g |
grave_accent |
h |
help |
home |
i |
insert |
j |
k |
kp_0 |
kp_1 |
kp_2 |
kp_3 |
kp_4 |
kp_5 |
kp_6 |
kp_7 |
kp_8 |
kp_9 |
kp_add |
kp_comma |
kp_decimal |
kp_divide |
kp_enter |
kp_multiply |
kp_subtract |
l |
left |
less |
lf |
m |
menu |
meta_l |
meta_r |
minus |
n |
num_lock |
o |
open |
p |
paste |
pause |
pgdn |
pgup |
print |
props |
q |
r |
ret |
right |
ro |
s |
scroll_lock |
semicolon |
shift |
shift_r |
slash |
spc |
stop |
sysrq |
t |
tab |
u |
undo |
unmapped |
up |
v |
VAL_0 |
VAL_1 |
VAL_2 |
VAL_3 |
VAL_4 |
VAL_5 |
VAL_6 |
VAL_7 |
VAL_8 |
VAL_9 |
w |
x |
y |
z |
Modifier and Type | Method and Description |
---|---|
String |
getJsonValue() |
static QKeyCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QKeyCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QKeyCode bracket_left
public static final QKeyCode bracket_right
public static final QKeyCode apostrophe
public static final QKeyCode grave_accent
public static final QKeyCode scroll_lock
public static final QKeyCode kp_multiply
public static final QKeyCode kp_subtract
public static final QKeyCode kp_decimal
public static QKeyCode[] values()
for (QKeyCode c : QKeyCode.values()) System.out.println(c);
public static QKeyCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getJsonValue()