Skip to content

PythonQt.Qt.QMenu · declarations 001

Back to PythonQt.Qt.QMenu

aboutToHide

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

Native PythonQt.Qt.QMenu.aboutToHide; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QMenu::aboutToHide()

This signal is emitted just before the menu is hidden from the user.

This function was introduced in Qt 4.2.

See also aboutToShow() and hide().

Source: https://doc.qt.io/archives/qt-5.15/qmenu.html#aboutToHide

aboutToShow

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

Native PythonQt.Qt.QMenu.aboutToShow; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QMenu::aboutToShow()

This signal is emitted just before the menu is shown to the user.

See also aboutToHide() and show().

Source: https://doc.qt.io/archives/qt-5.15/qmenu.html#aboutToShow

customContextMenuRequested

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

Native PythonQt.Qt.QMenu.customContextMenuRequested; argument details are not documented.

destroyed

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

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

hovered

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

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

Supplemental documentation: Qt 5 reference:

[signal] void QMenu::hovered(QAction *action)

This signal is emitted when a menu action is highlighted; action is the action that caused the signal to be emitted.

Often this is used to update status information.

See also triggered() and QAction::hovered().

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

objectNameChanged

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

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

triggered

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

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

Supplemental documentation: Qt 5 reference:

[signal] void QMenu::triggered(QAction *action)

This signal is emitted when an action in this menu is triggered.

action is the action that caused the signal to be emitted.

Normally, you connect each menu action's triggered() signal to its own custom slot, but sometimes you will want to connect several actions to a single slot, for example, when you have a group of closely related actions, such as "left justify", "center", "right justify".

Note: This signal is emitted for the main parent menu in a hierarchy. Hence, only the parent menu needs to be connected to a slot; sub-menus need not be connected.

See also hovered() and QAction::triggered().

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

windowIconChanged

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

Native PythonQt.Qt.QMenu.windowIconChanged; argument details are not documented.

windowIconTextChanged

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

Native PythonQt.Qt.QMenu.windowIconTextChanged; argument details are not documented.

windowTitleChanged

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

Native PythonQt.Qt.QMenu.windowTitleChanged; argument details are not documented.