Home
·
All Classes
·
Modules
QKeyEvent Class Reference
[
QtGui
module]
Inherits
QInputEvent
.
Methods
__init__
(
self
, QEvent.Type, int, Qt.KeyboardModifiers, QString
text
= QString(), bool
autorep
= False, int
count
= 1)
__init__
(
self
, QKeyEvent)
int
count
(
self
)
bool
isAutoRepeat
(
self
)
int
key
(
self
)
bool
matches
(
self
, QKeySequence.StandardKey)
Qt.KeyboardModifiers
modifiers
(
self
)
int
nativeModifiers
(
self
)
int
nativeScanCode
(
self
)
int
nativeVirtualKey
(
self
)
QString
text
(
self
)
Special Methods
bool
__eq__
(
self
, QKeySequence.StandardKey)
__len__
(
self
)
bool
__ne__
(
self
, QKeySequence.StandardKey)
Detailed Description
Method Documentation
QKeyEvent.__init__ (
self
,
QEvent.Type
, int,
Qt.KeyboardModifiers
, QString
text
= QString(), bool
autorep
= False, int
count
= 1)
QKeyEvent.__init__ (
self
,
QKeyEvent
)
int QKeyEvent.count (
self
)
bool QKeyEvent.isAutoRepeat (
self
)
int QKeyEvent.key (
self
)
bool QKeyEvent.matches (
self
,
QKeySequence.StandardKey
)
Qt.KeyboardModifiers
QKeyEvent.modifiers (
self
)
int QKeyEvent.nativeModifiers (
self
)
int QKeyEvent.nativeScanCode (
self
)
int QKeyEvent.nativeVirtualKey (
self
)
QString QKeyEvent.text (
self
)
bool QKeyEvent.__eq__ (
self
,
QKeySequence.StandardKey
)
QKeyEvent.__len__ (
self
)
bool QKeyEvent.__ne__ (
self
,
QKeySequence.StandardKey
)
PyQt 4.8 for X11
Copyright ©
Riverbank Computing Ltd
and
Nokia
2010
Qt 4.7.0