Home · All Classes · Modules

QAction Class Reference
[QtGui module]

Inherits QObject.

Inherited by QWidgetAction.

Types

Methods

Qt Signals


Detailed Description


Type Documentation

QAction.ActionEvent

QAction.MenuRole

QAction.Priority

QAction.SoftKeyRole


Method Documentation

QAction.__init__ (self, QObject)

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

QAction.__init__ (self, QString, QObject)

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

QAction.__init__ (self, QIcon, QString, QObject)

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

QActionGroup QAction.actionGroup (self)

QAction.activate (self, ActionEvent)

list-of-QGraphicsWidget QAction.associatedGraphicsWidgets (self)

list-of-QWidget QAction.associatedWidgets (self)

bool QAction.autoRepeat (self)

QVariant QAction.data (self)

bool QAction.event (self, QEvent)

QFont QAction.font (self)

QAction.hover (self)

This method is also a Qt slot with the C++ signature void hover().

QIcon QAction.icon (self)

QString QAction.iconText (self)

bool QAction.isCheckable (self)

bool QAction.isChecked (self)

bool QAction.isEnabled (self)

bool QAction.isIconVisibleInMenu (self)

bool QAction.isSeparator (self)

bool QAction.isVisible (self)

QMenu QAction.menu (self)

MenuRole QAction.menuRole (self)

QWidget QAction.parentWidget (self)

Priority QAction.priority (self)

QAction.setActionGroup (self, QActionGroup)

QAction.setAutoRepeat (self, bool)

QAction.setCheckable (self, bool)

QAction.setChecked (self, bool)

This method is also a Qt slot with the C++ signature void setChecked(bool).

QAction.setData (self, QVariant)

QAction.setDisabled (self, bool)

This method is also a Qt slot with the C++ signature void setDisabled(bool).

QAction.setEnabled (self, bool)

This method is also a Qt slot with the C++ signature void setEnabled(bool).

QAction.setFont (self, QFont)

QAction.setIcon (self, QIcon)

QAction.setIconText (self, QString)

QAction.setIconVisibleInMenu (self, bool)

QAction.setMenu (self, QMenu)

QAction.setMenuRole (self, MenuRole)

QAction.setPriority (self, Priority)

QAction.setSeparator (self, bool)

QAction.setShortcut (self, QKeySequence)

QAction.setShortcutContext (self, Qt.ShortcutContext)

QAction.setShortcuts (self, list-of-QKeySequence)

QAction.setShortcuts (self, QKeySequence.StandardKey)

QAction.setSoftKeyRole (self, SoftKeyRole)

QAction.setStatusTip (self, QString)

QAction.setText (self, QString)

QAction.setToolTip (self, QString)

QAction.setVisible (self, bool)

This method is also a Qt slot with the C++ signature void setVisible(bool).

QAction.setWhatsThis (self, QString)

QKeySequence QAction.shortcut (self)

Qt.ShortcutContext QAction.shortcutContext (self)

list-of-QKeySequence QAction.shortcuts (self)

bool QAction.showStatusText (self, QWidget widget = None)

SoftKeyRole QAction.softKeyRole (self)

QString QAction.statusTip (self)

QString QAction.text (self)

QAction.toggle (self)

This method is also a Qt slot with the C++ signature void toggle().

QString QAction.toolTip (self)

QAction.trigger (self)

This method is also a Qt slot with the C++ signature void trigger().

QString QAction.whatsThis (self)


Qt Signal Documentation

void changed ()

This is the default overload of this signal.

void hovered ()

This is the default overload of this signal.

void toggled (bool)

This is the default overload of this signal.

void triggered (bool = 0)

This is the default overload of this signal.


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