Home · All Classes · Modules

QShortcut Class Reference
[QtGui module]

Inherits QObject.

Methods

Qt Signals


Detailed Description


Method Documentation

QShortcut.__init__ (self, QWidget)

The QWidget argument, if not None, causes self to be owned by Qt instead of PyQt.

QShortcut.__init__ (self, QKeySequence, QWidget, SLOT() member = 0, SLOT() ambiguousMember = 0, Qt.ShortcutContext context = Qt.WindowShortcut)

The QWidget argument, if not None, causes self to be owned by Qt instead of PyQt.

bool QShortcut.autoRepeat (self)

Qt.ShortcutContext QShortcut.context (self)

bool QShortcut.event (self, QEvent)

int QShortcut.id (self)

bool QShortcut.isEnabled (self)

QKeySequence QShortcut.key (self)

QWidget QShortcut.parentWidget (self)

QShortcut.setAutoRepeat (self, bool)

QShortcut.setContext (self, Qt.ShortcutContext)

QShortcut.setEnabled (self, bool)

QShortcut.setKey (self, QKeySequence)

QShortcut.setWhatsThis (self, QString)

QString QShortcut.whatsThis (self)


Qt Signal Documentation

void activated ()

This is the default overload of this signal.

void activatedAmbiguously ()

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0