Skip to content

PythonQt.Qt.QAction · declarations 001

Back to PythonQt.Qt.QAction

changed

changed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QAction.changed; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QAction::changed()

This signal is emitted when an action has changed. If you are only interested in actions in a given widget, you can watch for QWidget::actionEvent() sent with an QEvent::ActionChanged.

Note: Notifier signal for property autoRepeat. Notifier signal for property checkable. Notifier signal for property enabled. Notifier signal for property font. Notifier signal for property icon. Notifier signal for property iconText. Notifier signal for property iconVisibleInMenu. Notifier signal for property menuRole. Notifier signal for property shortcut. Notifier signal for property shortcutContext. Notifier signal for property shortcutVisibleInContextMenu. Notifier signal for property statusTip. Notifier signal for property text. Notifier signal for property toolTip. Notifier signal for property visible. Notifier signal for property whatsThis.

See also QWidget::actionEvent().

Source: https://doc.qt.io/archives/qt-5.15/qaction.html#changed

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QAction.destroyed; argument details are not documented.

hovered

hovered(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QAction.hovered; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QAction::hovered()

This signal is emitted when an action is highlighted by the user; for example, when the user pauses with the cursor over a menu option, toolbar button, or presses an action's shortcut key combination.

See also QAction::activate().

Source: https://doc.qt.io/archives/qt-5.15/qaction.html#hovered

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QAction.objectNameChanged; argument details are not documented.

toggled

toggled(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QAction.toggled; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QAction::toggled(bool checked)

This signal is emitted whenever a checkable action changes its isChecked() status. This can be the result of a user interaction, or because setChecked() was called. As setChecked() changes the QAction, it emits changed() in addition to toggled().

checked is true if the action is checked, or false if the action is unchecked.

Note: Notifier signal for property checked.

See also QAction::activate(), QAction::triggered(), and checked.

Source: https://doc.qt.io/archives/qt-5.15/qaction.html#toggled

triggered

triggered(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QAction.triggered; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QAction::triggered(bool checked \= false)

This signal is emitted when an action is activated by the user; for example, when the user clicks a menu option, toolbar button, or presses an action's shortcut key combination, or when trigger() was called. Notably, it is not emitted when setChecked() or toggle() is called.

If the action is checkable, checked is true if the action is checked, or false if the action is unchecked.

See also QAction::activate(), QAction::toggled(), and checked.

Source: https://doc.qt.io/archives/qt-5.15/qaction.html#triggered