QShortcut Class Reference
[QtGui module]
Inherits QObject.
Methods
- __init__ (self, QWidget)
- __init__ (self, QKeySequence, QWidget, SLOT() member = 0, SLOT() ambiguousMember = 0, Qt.ShortcutContext context = Qt.WindowShortcut)
- bool autoRepeat (self)
- Qt.ShortcutContext context (self)
- bool event (self, QEvent)
- int id (self)
- bool isEnabled (self)
- QKeySequence key (self)
- QWidget parentWidget (self)
- setAutoRepeat (self, bool)
- setContext (self, Qt.ShortcutContext)
- setEnabled (self, bool)
- setKey (self, QKeySequence)
- setWhatsThis (self, QString)
- QString whatsThis (self)
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)
bool QShortcut.event (self, QEvent)
int QShortcut.id (self)
bool QShortcut.isEnabled (self)
QWidget QShortcut.parentWidget (self)
QShortcut.setAutoRepeat (self, bool)
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.