Home · All Classes · Modules

QKeyEventTransition Class Reference
[QtGui module]

The QKeyEventTransition class provides a transition for key events. More...

Inherits QEventTransition.

Methods


Detailed Description

The QKeyEventTransition class provides a transition for key events.

QKeyEventTransition is part of The State Machine Framework.


Method Documentation

QKeyEventTransition.__init__ (self, QState sourceState = None)

Constructs a new key event transition with the given sourceState.

QKeyEventTransition.__init__ (self, QObject object, QEvent.Type type, int key, QState sourceState = None)

Constructs a new key event transition for events of the given type for the given object, with the given key and sourceState.

bool QKeyEventTransition.eventTest (self, QEvent event)

Reimplemented from QAbstractTransition.eventTest().

int QKeyEventTransition.key (self)

Qt.KeyboardModifiers QKeyEventTransition.modifierMask (self)

QKeyEventTransition.onTransition (self, QEvent event)

Reimplemented from QAbstractTransition.onTransition().

QKeyEventTransition.setKey (self, int key)

QKeyEventTransition.setModifierMask (self, Qt.KeyboardModifiers modifiers)


PyQt 4.10.1 for MacOSCopyright © Riverbank Computing Ltd and Nokia 2012Qt 4.8.4