Notation used in Ruby API documentation
Module: QtWidgets
Description: Binding of QAction
Class hierarchy: QAction » QObject
Sub-classes: ActionEvent, QFlags_ActionEvent, MenuRole, QFlags_MenuRole, Priority, QFlags_Priority
new QAction | new | (QObject ptr parent = nullptr) | Constructor QAction::QAction(QObject *parent) |
new QAction | new | (string text, QObject ptr parent = nullptr) | Constructor QAction::QAction(const QString &text, QObject *parent) |
new QAction | new | (const QIcon icon, string text, QObject ptr parent = nullptr) | Constructor QAction::QAction(const QIcon &icon, const QString &text, QObject *parent) |
[const] | QAction ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
[const] | QActionGroup ptr | actionGroup | Method QActionGroup *QAction::actionGroup() | |
void | actionGroup= | (QActionGroup ptr group) | Method void QAction::setActionGroup(QActionGroup *group) | |
void | activate | (const QAction_ActionEvent event) | Method void QAction::activate(QAction::ActionEvent event) | |
[const] | QGraphicsWidget ptr[] | associatedGraphicsWidgets | Method QList<QGraphicsWidget *> QAction::associatedGraphicsWidgets() | |
[const] | QWidget ptr[] | associatedWidgets | Method QList<QWidget *> QAction::associatedWidgets() | |
[const] | bool | autoRepeat | Method bool QAction::autoRepeat() | |
void | autoRepeat= | (bool arg1) | Method void QAction::setAutoRepeat(bool) | |
[signal] | void | changed | Signal declaration for QAction::changed() | |
[const] | bool | checkable | Method bool QAction::isCheckable() | |
void | checkable= | (bool arg1) | Method void QAction::setCheckable(bool) | |
[const] | bool | checked | Method bool QAction::isChecked() | |
void | checked= | (bool arg1) | Method void QAction::setChecked(bool) | |
[const] | variant | data | Method QVariant QAction::data() | |
void | data= | (variant var) | Method void QAction::setData(const QVariant &var) | |
[signal] | void | destroyed | (QObject ptr arg1) | Signal declaration for QAction::destroyed(QObject *) |
void | emit_changed | Emitter for signal void QAction::changed() | ||
void | emit_destroyed | (QObject ptr arg1 = nullptr) | Emitter for signal void QAction::destroyed(QObject *) | |
void | emit_hovered | Emitter for signal void QAction::hovered() | ||
void | emit_objectNameChanged | (string objectName) | Emitter for signal void QAction::objectNameChanged(const QString &objectName) | |
void | emit_toggled | (bool arg1) | Emitter for signal void QAction::toggled(bool) | |
void | emit_triggered | (bool checked = false) | Emitter for signal void QAction::triggered(bool checked) | |
[const] | bool | enabled | Method bool QAction::isEnabled() | |
void | enabled= | (bool arg1) | Method void QAction::setEnabled(bool) | |
bool | eventFilter | (QObject ptr watched, QEvent ptr event) | Virtual method bool QAction::eventFilter(QObject *watched, QEvent *event) | |
[const] | QFont | font | Method QFont QAction::font() | |
void | font= | (const QFont font) | Method void QAction::setFont(const QFont &font) | |
void | hover | Method void QAction::hover() | ||
[signal] | void | hovered | Signal declaration for QAction::hovered() | |
[const] | QIcon | icon | Method QIcon QAction::icon() | |
void | icon= | (const QIcon icon) | Method void QAction::setIcon(const QIcon &icon) | |
[const] | string | iconText | Method QString QAction::iconText() | |
void | iconText= | (string text) | Method void QAction::setIconText(const QString &text) | |
[const] | bool | iconVisibleInMenu | Method bool QAction::isIconVisibleInMenu() | |
void | iconVisibleInMenu= | (bool visible) | Method void QAction::setIconVisibleInMenu(bool visible) | |
[const] | bool | isCheckable? | Method bool QAction::isCheckable() | |
[const] | bool | isChecked? | Method bool QAction::isChecked() | |
[const] | bool | isEnabled? | Method bool QAction::isEnabled() | |
[const] | bool | isIconVisibleInMenu? | Method bool QAction::isIconVisibleInMenu() | |
[const] | bool | isSeparator? | Method bool QAction::isSeparator() | |
[const] | bool | isShortcutVisibleInContextMenu? | Method bool QAction::isShortcutVisibleInContextMenu() | |
[const] | bool | isVisible? | Method bool QAction::isVisible() | |
[const] | QMenu ptr | menu | Method QMenu *QAction::menu() | |
void | menu= | (QMenu ptr menu) | Method void QAction::setMenu(QMenu *menu) | |
[const] | QAction_MenuRole | menuRole | Method QAction::MenuRole QAction::menuRole() | |
void | menuRole= | (const QAction_MenuRole menuRole) | Method void QAction::setMenuRole(QAction::MenuRole menuRole) | |
[signal] | void | objectNameChanged | (string objectName) | Signal declaration for QAction::objectNameChanged(const QString &objectName) |
[const] | QWidget ptr | parentWidget | Method QWidget *QAction::parentWidget() | |
[const] | QAction_Priority | priority | Method QAction::Priority QAction::priority() | |
void | priority= | (const QAction_Priority priority) | Method void QAction::setPriority(QAction::Priority priority) | |
[const] | bool | separator | Method bool QAction::isSeparator() | |
void | separator= | (bool b) | Method void QAction::setSeparator(bool b) | |
void | setActionGroup | (QActionGroup ptr group) | Method void QAction::setActionGroup(QActionGroup *group) | |
void | setAutoRepeat | (bool arg1) | Method void QAction::setAutoRepeat(bool) | |
void | setCheckable | (bool arg1) | Method void QAction::setCheckable(bool) | |
void | setChecked | (bool arg1) | Method void QAction::setChecked(bool) | |
void | setData | (variant var) | Method void QAction::setData(const QVariant &var) | |
void | setDisabled | (bool b) | Method void QAction::setDisabled(bool b) | |
void | setEnabled | (bool arg1) | Method void QAction::setEnabled(bool) | |
void | setFont | (const QFont font) | Method void QAction::setFont(const QFont &font) | |
void | setIcon | (const QIcon icon) | Method void QAction::setIcon(const QIcon &icon) | |
void | setIconText | (string text) | Method void QAction::setIconText(const QString &text) | |
void | setIconVisibleInMenu | (bool visible) | Method void QAction::setIconVisibleInMenu(bool visible) | |
void | setMenu | (QMenu ptr menu) | Method void QAction::setMenu(QMenu *menu) | |
void | setMenuRole | (const QAction_MenuRole menuRole) | Method void QAction::setMenuRole(QAction::MenuRole menuRole) | |
void | setPriority | (const QAction_Priority priority) | Method void QAction::setPriority(QAction::Priority priority) | |
void | setSeparator | (bool b) | Method void QAction::setSeparator(bool b) | |
void | setShortcut | (const QKeySequence shortcut) | Method void QAction::setShortcut(const QKeySequence &shortcut) | |
void | setShortcutContext | (const Qt_ShortcutContext context) | Method void QAction::setShortcutContext(Qt::ShortcutContext context) | |
void | setShortcutVisibleInContextMenu | (bool show) | Method void QAction::setShortcutVisibleInContextMenu(bool show) | |
void | setShortcuts | (QKeySequence[] shortcuts) | Method void QAction::setShortcuts(const QList<QKeySequence> &shortcuts) | |
void | setShortcuts | (const QKeySequence_StandardKey arg1) | Method void QAction::setShortcuts(QKeySequence::StandardKey) | |
void | setStatusTip | (string statusTip) | Method void QAction::setStatusTip(const QString &statusTip) | |
void | setText | (string text) | Method void QAction::setText(const QString &text) | |
void | setToolTip | (string tip) | Method void QAction::setToolTip(const QString &tip) | |
void | setVisible | (bool arg1) | Method void QAction::setVisible(bool) | |
void | setWhatsThis | (string what) | Method void QAction::setWhatsThis(const QString &what) | |
[const] | QKeySequence | shortcut | Method QKeySequence QAction::shortcut() | |
void | shortcut= | (const QKeySequence shortcut) | Method void QAction::setShortcut(const QKeySequence &shortcut) | |
[const] | Qt_ShortcutContext | shortcutContext | Method Qt::ShortcutContext QAction::shortcutContext() | |
void | shortcutContext= | (const Qt_ShortcutContext context) | Method void QAction::setShortcutContext(Qt::ShortcutContext context) | |
[const] | bool | shortcutVisibleInContextMenu | Method bool QAction::isShortcutVisibleInContextMenu() | |
void | shortcutVisibleInContextMenu= | (bool show) | Method void QAction::setShortcutVisibleInContextMenu(bool show) | |
[const] | QKeySequence[] | shortcuts | Method QList<QKeySequence> QAction::shortcuts() | |
void | shortcuts= | (QKeySequence[] shortcuts) | Method void QAction::setShortcuts(const QList<QKeySequence> &shortcuts) | |
void | shortcuts= | (const QKeySequence_StandardKey arg1) | Method void QAction::setShortcuts(QKeySequence::StandardKey) | |
bool | showStatusText | (QWidget ptr widget = nullptr) | Method bool QAction::showStatusText(QWidget *widget) | |
[const] | string | statusTip | Method QString QAction::statusTip() | |
void | statusTip= | (string statusTip) | Method void QAction::setStatusTip(const QString &statusTip) | |
[const] | string | text | Method QString QAction::text() | |
void | text= | (string text) | Method void QAction::setText(const QString &text) | |
void | toggle | Method void QAction::toggle() | ||
[signal] | void | toggled | (bool arg1) | Signal declaration for QAction::toggled(bool) |
[const] | string | toolTip | Method QString QAction::toolTip() | |
void | toolTip= | (string tip) | Method void QAction::setToolTip(const QString &tip) | |
void | trigger | Method void QAction::trigger() | ||
[signal] | void | triggered | (bool checked) | Signal declaration for QAction::triggered(bool checked) |
[const] | bool | visible | Method bool QAction::isVisible() | |
void | visible= | (bool arg1) | Method void QAction::setVisible(bool) | |
[const] | string | whatsThis | Method QString QAction::whatsThis() | |
void | whatsThis= | (string what) | Method void QAction::setWhatsThis(const QString &what) |
[static,const] | QAction_MenuRole | AboutQtRole | Enum constant QAction::AboutQtRole | |
[static,const] | QAction_MenuRole | AboutRole | Enum constant QAction::AboutRole | |
[static,const] | QAction_MenuRole | ApplicationSpecificRole | Enum constant QAction::ApplicationSpecificRole | |
[static,const] | QAction_Priority | HighPriority | Enum constant QAction::HighPriority | |
[static,const] | QAction_ActionEvent | Hover | Enum constant QAction::Hover | |
[static,const] | QAction_Priority | LowPriority | Enum constant QAction::LowPriority | |
[static,const] | QAction_MenuRole | NoRole | Enum constant QAction::NoRole | |
[static,const] | QAction_Priority | NormalPriority | Enum constant QAction::NormalPriority | |
[static,const] | QAction_MenuRole | PreferencesRole | Enum constant QAction::PreferencesRole | |
[static,const] | QAction_MenuRole | QuitRole | Enum constant QAction::QuitRole | |
[static,const] | QAction_MenuRole | TextHeuristicRole | Enum constant QAction::TextHeuristicRole | |
[static,const] | QAction_ActionEvent | Trigger | Enum constant QAction::Trigger | |
QMetaObject | staticMetaObject | Obtains the static MetaObject for this class. | ||
string | tr | (string s, string c = nullptr, int n = -1) | Static method QString QAction::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = nullptr, int n = -1) | Static method QString QAction::trUtf8(const char *s, const char *c, int n) |
void | childEvent | (QChildEvent ptr event) | Virtual method void QAction::childEvent(QChildEvent *event) | ||
void | customEvent | (QEvent ptr event) | Virtual method void QAction::customEvent(QEvent *event) | ||
void | disconnectNotify | (const QMetaMethod signal) | Virtual method void QAction::disconnectNotify(const QMetaMethod &signal) | ||
bool | event | (QEvent ptr arg1) | Virtual method bool QAction::event(QEvent *) | ||
[const] | bool | isSignalConnected | (const QMetaMethod signal) | Method bool QAction::isSignalConnected(const QMetaMethod &signal) | |
[const] | int | receivers | (string signal) | Method int QAction::receivers(const char *signal) | |
[const] | QObject ptr | sender | Method QObject *QAction::sender() | ||
[const] | int | senderSignalIndex | Method int QAction::senderSignalIndex() | ||
void | timerEvent | (QTimerEvent ptr event) | Virtual method void QAction::timerEvent(QTimerEvent *event) |
AboutQtRole | Signature: [static,const] QAction_MenuRole AboutQtRole Description: Enum constant QAction::AboutQtRole Python specific notes: |
AboutRole | Signature: [static,const] QAction_MenuRole AboutRole Description: Enum constant QAction::AboutRole Python specific notes: |
ApplicationSpecificRole | Signature: [static,const] QAction_MenuRole ApplicationSpecificRole Description: Enum constant QAction::ApplicationSpecificRole Python specific notes: |
HighPriority | Signature: [static,const] QAction_Priority HighPriority Description: Enum constant QAction::HighPriority Python specific notes: |
Hover | Signature: [static,const] QAction_ActionEvent Hover Description: Enum constant QAction::Hover Python specific notes: |
LowPriority | Signature: [static,const] QAction_Priority LowPriority Description: Enum constant QAction::LowPriority Python specific notes: |
NoRole | Signature: [static,const] QAction_MenuRole NoRole Description: Enum constant QAction::NoRole Python specific notes: |
NormalPriority | Signature: [static,const] QAction_Priority NormalPriority Description: Enum constant QAction::NormalPriority Python specific notes: |
PreferencesRole | Signature: [static,const] QAction_MenuRole PreferencesRole Description: Enum constant QAction::PreferencesRole Python specific notes: |
QuitRole | Signature: [static,const] QAction_MenuRole QuitRole Description: Enum constant QAction::QuitRole Python specific notes: |
TextHeuristicRole | Signature: [static,const] QAction_MenuRole TextHeuristicRole Description: Enum constant QAction::TextHeuristicRole Python specific notes: |
Trigger | Signature: [static,const] QAction_ActionEvent Trigger Description: Enum constant QAction::Trigger Python specific notes: |
_const_cast | Signature: [const] QAction ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
actionGroup | Signature: [const] QActionGroup ptr actionGroup Description: Method QActionGroup *QAction::actionGroup() Python specific notes: |
actionGroup= | Signature: void actionGroup= (QActionGroup ptr group) Description: Method void QAction::setActionGroup(QActionGroup *group) Python specific notes: |
activate | Signature: void activate (const QAction_ActionEvent event) Description: Method void QAction::activate(QAction::ActionEvent event) |
associatedGraphicsWidgets | Signature: [const] QGraphicsWidget ptr[] associatedGraphicsWidgets Description: Method QList<QGraphicsWidget *> QAction::associatedGraphicsWidgets() |
associatedWidgets | Signature: [const] QWidget ptr[] associatedWidgets Description: Method QList<QWidget *> QAction::associatedWidgets() |
autoRepeat | Signature: [const] bool autoRepeat Description: Method bool QAction::autoRepeat() Python specific notes: |
autoRepeat= | Signature: void autoRepeat= (bool arg1) Description: Method void QAction::setAutoRepeat(bool) Python specific notes: |
changed | Signature: [signal] void changed Description: Signal declaration for QAction::changed() You can bind a procedure to this signal. Python specific notes: |
checkable | Signature: [const] bool checkable Description: Method bool QAction::isCheckable() Python specific notes: |
checkable= | Signature: void checkable= (bool arg1) Description: Method void QAction::setCheckable(bool) Python specific notes: |
checked | Signature: [const] bool checked Description: Method bool QAction::isChecked() Python specific notes: |
checked= | Signature: void checked= (bool arg1) Description: Method void QAction::setChecked(bool) Python specific notes: |
childEvent | Signature: void childEvent (QChildEvent ptr event) Description: Virtual method void QAction::childEvent(QChildEvent *event) This method can be reimplemented in a derived class. |
customEvent | Signature: void customEvent (QEvent ptr event) Description: Virtual method void QAction::customEvent(QEvent *event) This method can be reimplemented in a derived class. |
data | Signature: [const] variant data Description: Method QVariant QAction::data() Python specific notes: |
data= | Signature: void data= (variant var) Description: Method void QAction::setData(const QVariant &var) Python specific notes: |
destroyed | Signature: [signal] void destroyed (QObject ptr arg1) Description: Signal declaration for QAction::destroyed(QObject *) You can bind a procedure to this signal. Python specific notes: |
disconnectNotify | Signature: void disconnectNotify (const QMetaMethod signal) Description: Virtual method void QAction::disconnectNotify(const QMetaMethod &signal) This method can be reimplemented in a derived class. |
emit_changed | Signature: void emit_changed Description: Emitter for signal void QAction::changed() Call this method to emit this signal. |
emit_destroyed | Signature: void emit_destroyed (QObject ptr arg1 = nullptr) Description: Emitter for signal void QAction::destroyed(QObject *) Call this method to emit this signal. |
emit_hovered | Signature: void emit_hovered Description: Emitter for signal void QAction::hovered() Call this method to emit this signal. |
emit_objectNameChanged | Signature: void emit_objectNameChanged (string objectName) Description: Emitter for signal void QAction::objectNameChanged(const QString &objectName) Call this method to emit this signal. |
emit_toggled | Signature: void emit_toggled (bool arg1) Description: Emitter for signal void QAction::toggled(bool) Call this method to emit this signal. |
emit_triggered | Signature: void emit_triggered (bool checked = false) Description: Emitter for signal void QAction::triggered(bool checked) Call this method to emit this signal. |
enabled | Signature: [const] bool enabled Description: Method bool QAction::isEnabled() Python specific notes: |
enabled= | Signature: void enabled= (bool arg1) Description: Method void QAction::setEnabled(bool) Python specific notes: |
event | Signature: bool event (QEvent ptr arg1) Description: Virtual method bool QAction::event(QEvent *) This method can be reimplemented in a derived class. |
eventFilter | Signature: bool eventFilter (QObject ptr watched, QEvent ptr event) Description: Virtual method bool QAction::eventFilter(QObject *watched, QEvent *event) This method can be reimplemented in a derived class. |
font | Signature: [const] QFont font Description: Method QFont QAction::font() Python specific notes: |
font= | Signature: void font= (const QFont font) Description: Method void QAction::setFont(const QFont &font) Python specific notes: |
hover | Signature: void hover Description: Method void QAction::hover() |
hovered | Signature: [signal] void hovered Description: Signal declaration for QAction::hovered() You can bind a procedure to this signal. Python specific notes: |
icon | Signature: [const] QIcon icon Description: Method QIcon QAction::icon() Python specific notes: |
icon= | Signature: void icon= (const QIcon icon) Description: Method void QAction::setIcon(const QIcon &icon) Python specific notes: |
iconText | Signature: [const] string iconText Description: Method QString QAction::iconText() Python specific notes: |
iconText= | Signature: void iconText= (string text) Description: Method void QAction::setIconText(const QString &text) Python specific notes: |
iconVisibleInMenu | Signature: [const] bool iconVisibleInMenu Description: Method bool QAction::isIconVisibleInMenu() Python specific notes: |
iconVisibleInMenu= | Signature: void iconVisibleInMenu= (bool visible) Description: Method void QAction::setIconVisibleInMenu(bool visible) Python specific notes: |
isCheckable? | Signature: [const] bool isCheckable? Description: Method bool QAction::isCheckable() Python specific notes: |
isChecked? | Signature: [const] bool isChecked? Description: Method bool QAction::isChecked() Python specific notes: |
isEnabled? | Signature: [const] bool isEnabled? Description: Method bool QAction::isEnabled() Python specific notes: |
isIconVisibleInMenu? | Signature: [const] bool isIconVisibleInMenu? Description: Method bool QAction::isIconVisibleInMenu() Python specific notes: |
isSeparator? | Signature: [const] bool isSeparator? Description: Method bool QAction::isSeparator() Python specific notes: |
isShortcutVisibleInContextMenu? | Signature: [const] bool isShortcutVisibleInContextMenu? Description: Method bool QAction::isShortcutVisibleInContextMenu() Python specific notes: |
isSignalConnected | Signature: [const] bool isSignalConnected (const QMetaMethod signal) Description: Method bool QAction::isSignalConnected(const QMetaMethod &signal) This method is protected and can only be called from inside a derived class. |
isVisible? | Signature: [const] bool isVisible? Description: Method bool QAction::isVisible() Python specific notes: |
menu | Signature: [const] QMenu ptr menu Description: Method QMenu *QAction::menu() Python specific notes: |
menu= | Signature: void menu= (QMenu ptr menu) Description: Method void QAction::setMenu(QMenu *menu) Python specific notes: |
menuRole | Signature: [const] QAction_MenuRole menuRole Description: Method QAction::MenuRole QAction::menuRole() Python specific notes: |
menuRole= | Signature: void menuRole= (const QAction_MenuRole menuRole) Description: Method void QAction::setMenuRole(QAction::MenuRole menuRole) Python specific notes: |
new | (1) Signature: [static] new QAction new (QObject ptr parent = nullptr) Description: Constructor QAction::QAction(QObject *parent) This method creates an object of class QAction. Python specific notes: |
(2) Signature: [static] new QAction new (string text, QObject ptr parent = nullptr) Description: Constructor QAction::QAction(const QString &text, QObject *parent) This method creates an object of class QAction. Python specific notes: | |
(3) Signature: [static] new QAction new (const QIcon icon, string text, QObject ptr parent = nullptr) Description: Constructor QAction::QAction(const QIcon &icon, const QString &text, QObject *parent) This method creates an object of class QAction. Python specific notes: | |
objectNameChanged | Signature: [signal] void objectNameChanged (string objectName) Description: Signal declaration for QAction::objectNameChanged(const QString &objectName) You can bind a procedure to this signal. Python specific notes: |
parentWidget | Signature: [const] QWidget ptr parentWidget Description: Method QWidget *QAction::parentWidget() |
priority | Signature: [const] QAction_Priority priority Description: Method QAction::Priority QAction::priority() Python specific notes: |
priority= | Signature: void priority= (const QAction_Priority priority) Description: Method void QAction::setPriority(QAction::Priority priority) Python specific notes: |
receivers | Signature: [const] int receivers (string signal) Description: Method int QAction::receivers(const char *signal) This method is protected and can only be called from inside a derived class. |
sender | Signature: [const] QObject ptr sender Description: Method QObject *QAction::sender() This method is protected and can only be called from inside a derived class. |
senderSignalIndex | Signature: [const] int senderSignalIndex Description: Method int QAction::senderSignalIndex() This method is protected and can only be called from inside a derived class. |
separator | Signature: [const] bool separator Description: Method bool QAction::isSeparator() Python specific notes: |
separator= | Signature: void separator= (bool b) Description: Method void QAction::setSeparator(bool b) Python specific notes: |
setActionGroup | Signature: void setActionGroup (QActionGroup ptr group) Description: Method void QAction::setActionGroup(QActionGroup *group) Python specific notes: |
setAutoRepeat | Signature: void setAutoRepeat (bool arg1) Description: Method void QAction::setAutoRepeat(bool) Python specific notes: |
setCheckable | Signature: void setCheckable (bool arg1) Description: Method void QAction::setCheckable(bool) Python specific notes: |
setChecked | Signature: void setChecked (bool arg1) Description: Method void QAction::setChecked(bool) Python specific notes: |
setData | Signature: void setData (variant var) Description: Method void QAction::setData(const QVariant &var) Python specific notes: |
setDisabled | Signature: void setDisabled (bool b) Description: Method void QAction::setDisabled(bool b) |
setEnabled | Signature: void setEnabled (bool arg1) Description: Method void QAction::setEnabled(bool) Python specific notes: |
setFont | Signature: void setFont (const QFont font) Description: Method void QAction::setFont(const QFont &font) Python specific notes: |
setIcon | Signature: void setIcon (const QIcon icon) Description: Method void QAction::setIcon(const QIcon &icon) Python specific notes: |
setIconText | Signature: void setIconText (string text) Description: Method void QAction::setIconText(const QString &text) Python specific notes: |
setIconVisibleInMenu | Signature: void setIconVisibleInMenu (bool visible) Description: Method void QAction::setIconVisibleInMenu(bool visible) Python specific notes: |
setMenu | Signature: void setMenu (QMenu ptr menu) Description: Method void QAction::setMenu(QMenu *menu) Python specific notes: |
setMenuRole | Signature: void setMenuRole (const QAction_MenuRole menuRole) Description: Method void QAction::setMenuRole(QAction::MenuRole menuRole) Python specific notes: |
setPriority | Signature: void setPriority (const QAction_Priority priority) Description: Method void QAction::setPriority(QAction::Priority priority) Python specific notes: |
setSeparator | Signature: void setSeparator (bool b) Description: Method void QAction::setSeparator(bool b) Python specific notes: |
setShortcut | Signature: void setShortcut (const QKeySequence shortcut) Description: Method void QAction::setShortcut(const QKeySequence &shortcut) Python specific notes: |
setShortcutContext | Signature: void setShortcutContext (const Qt_ShortcutContext context) Description: Method void QAction::setShortcutContext(Qt::ShortcutContext context) Python specific notes: |
setShortcutVisibleInContextMenu | Signature: void setShortcutVisibleInContextMenu (bool show) Description: Method void QAction::setShortcutVisibleInContextMenu(bool show) Python specific notes: |
setShortcuts | (1) Signature: void setShortcuts (QKeySequence[] shortcuts) Description: Method void QAction::setShortcuts(const QList<QKeySequence> &shortcuts) Python specific notes: |
(2) Signature: void setShortcuts (const QKeySequence_StandardKey arg1) Description: Method void QAction::setShortcuts(QKeySequence::StandardKey) Python specific notes: | |
setStatusTip | Signature: void setStatusTip (string statusTip) Description: Method void QAction::setStatusTip(const QString &statusTip) Python specific notes: |
setText | Signature: void setText (string text) Description: Method void QAction::setText(const QString &text) Python specific notes: |
setToolTip | Signature: void setToolTip (string tip) Description: Method void QAction::setToolTip(const QString &tip) Python specific notes: |
setVisible | Signature: void setVisible (bool arg1) Description: Method void QAction::setVisible(bool) Python specific notes: |
setWhatsThis | Signature: void setWhatsThis (string what) Description: Method void QAction::setWhatsThis(const QString &what) Python specific notes: |
shortcut | Signature: [const] QKeySequence shortcut Description: Method QKeySequence QAction::shortcut() Python specific notes: |
shortcut= | Signature: void shortcut= (const QKeySequence shortcut) Description: Method void QAction::setShortcut(const QKeySequence &shortcut) Python specific notes: |
shortcutContext | Signature: [const] Qt_ShortcutContext shortcutContext Description: Method Qt::ShortcutContext QAction::shortcutContext() Python specific notes: |
shortcutContext= | Signature: void shortcutContext= (const Qt_ShortcutContext context) Description: Method void QAction::setShortcutContext(Qt::ShortcutContext context) Python specific notes: |
shortcutVisibleInContextMenu | Signature: [const] bool shortcutVisibleInContextMenu Description: Method bool QAction::isShortcutVisibleInContextMenu() Python specific notes: |
shortcutVisibleInContextMenu= | Signature: void shortcutVisibleInContextMenu= (bool show) Description: Method void QAction::setShortcutVisibleInContextMenu(bool show) Python specific notes: |
shortcuts | Signature: [const] QKeySequence[] shortcuts Description: Method QList<QKeySequence> QAction::shortcuts() Python specific notes: |
shortcuts= | (1) Signature: void shortcuts= (QKeySequence[] shortcuts) Description: Method void QAction::setShortcuts(const QList<QKeySequence> &shortcuts) Python specific notes: |
(2) Signature: void shortcuts= (const QKeySequence_StandardKey arg1) Description: Method void QAction::setShortcuts(QKeySequence::StandardKey) Python specific notes: | |
showStatusText | Signature: bool showStatusText (QWidget ptr widget = nullptr) Description: Method bool QAction::showStatusText(QWidget *widget) |
staticMetaObject | Signature: [static] QMetaObject staticMetaObject Description: Obtains the static MetaObject for this class. |
statusTip | Signature: [const] string statusTip Description: Method QString QAction::statusTip() Python specific notes: |
statusTip= | Signature: void statusTip= (string statusTip) Description: Method void QAction::setStatusTip(const QString &statusTip) Python specific notes: |
text | Signature: [const] string text Description: Method QString QAction::text() Python specific notes: |
text= | Signature: void text= (string text) Description: Method void QAction::setText(const QString &text) Python specific notes: |
timerEvent | Signature: void timerEvent (QTimerEvent ptr event) Description: Virtual method void QAction::timerEvent(QTimerEvent *event) This method can be reimplemented in a derived class. |
toggle | Signature: void toggle Description: Method void QAction::toggle() |
toggled | Signature: [signal] void toggled (bool arg1) Description: Signal declaration for QAction::toggled(bool) You can bind a procedure to this signal. Python specific notes: |
toolTip | Signature: [const] string toolTip Description: Method QString QAction::toolTip() Python specific notes: |
toolTip= | Signature: void toolTip= (string tip) Description: Method void QAction::setToolTip(const QString &tip) Python specific notes: |
tr | Signature: [static] string tr (string s, string c = nullptr, int n = -1) Description: Static method QString QAction::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. |
trUtf8 | Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1) Description: Static method QString QAction::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. |
trigger | Signature: void trigger Description: Method void QAction::trigger() |
triggered | Signature: [signal] void triggered (bool checked) Description: Signal declaration for QAction::triggered(bool checked) You can bind a procedure to this signal. Python specific notes: |
visible | Signature: [const] bool visible Description: Method bool QAction::isVisible() Python specific notes: |
visible= | Signature: void visible= (bool arg1) Description: Method void QAction::setVisible(bool) Python specific notes: |
whatsThis | Signature: [const] string whatsThis Description: Method QString QAction::whatsThis() Python specific notes: |
whatsThis= | Signature: void whatsThis= (string what) Description: Method void QAction::setWhatsThis(const QString &what) Python specific notes: |