java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.test.QTestEvent
io.qt.test.QTestKeyEvent
- All Implemented Interfaces:
QtObjectInterface
public class QTestKeyEvent extends QTestEvent
Java wrapper for Qt class QTestKeyEvent
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
QTestKeyEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only.QTestKeyEvent(QTest.KeyAction action, byte ascii, Qt.KeyboardModifiers modifiers, int delay)
QTestKeyEvent(QTest.KeyAction action, Qt.Key key, Qt.KeyboardModifiers modifiers, int delay)
-
Method Summary
Modifier and Type Method Description protected QTest.KeyAction
action()
protected byte
ascii()
QTestEvent
clone()
protected int
delay()
protected Qt.Key
key()
protected Qt.KeyboardModifiers
modifiers()
protected void
setAction(QTest.KeyAction action)
protected void
setAscii(byte ascii)
protected void
setDelay(int delay)
protected void
setKey(Qt.Key key)
protected void
setModifiers(Qt.KeyboardModifier... modifiers)
Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.protected void
setModifiers(Qt.KeyboardModifiers modifiers)
void
simulate(QWidget w)
-
Constructor Details
-
QTestKeyEvent
public QTestKeyEvent(QTest.KeyAction action, Qt.Key key, Qt.KeyboardModifiers modifiers, int delay) -
QTestKeyEvent
public QTestKeyEvent(QTest.KeyAction action, byte ascii, Qt.KeyboardModifiers modifiers, int delay) -
QTestKeyEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
clone
- Specified by:
clone
in classQTestEvent
-
simulate
- Specified by:
simulate
in classQTestEvent
-
setAction
-
action
-
setAscii
-
ascii
-
setDelay
-
delay
-
setKey
-
key
-
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setModifiers
-
modifiers
-