Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtWidgets »

Classe « QWidgetAction »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QAction
                QWidgetAction

Définition

class QWidgetAction(QAction):

Description [extrait de QWidgetAction.__doc__]

QWidgetAction(self, parent: PySide6.QtCore.QObject) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, parent: PySide6.QtCore.QObject) -> None __init__(self, parent: PySide6.QtCore.QObject) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AboutQtRolePySide6.QtGui.QAction.MenuRole.AboutQtRole
AboutRolePySide6.QtGui.QAction.MenuRole.AboutRole
ApplicationSpecificRolePySide6.QtGui.QAction.MenuRole.ApplicationSpecificRole
HighPriorityPySide6.QtGui.QAction.Priority.HighPriority
HoverPySide6.QtGui.QAction.ActionEvent.Hover
LowPriorityPySide6.QtGui.QAction.Priority.LowPriority
NormalPriorityPySide6.QtGui.QAction.Priority.NormalPriority
NoRolePySide6.QtGui.QAction.MenuRole.NoRole
PreferencesRolePySide6.QtGui.QAction.MenuRole.PreferencesRole
QuitRolePySide6.QtGui.QAction.MenuRole.QuitRole
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40dfcd3a40>
TextHeuristicRolePySide6.QtGui.QAction.MenuRole.TextHeuristicRole
TriggerPySide6.QtGui.QAction.ActionEvent.Trigger

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
changed
checkableChanged
createdWidgets(self) -> List[PySide6.QtWidgets.QWidget] createdWidgets(self) -> List[PySide6.QtWidgets.QWidget] [extrait de createdWidgets.__doc__]
createWidget(self, parent: PySide6.QtWidgets.QWidget) -> PySide6.QtWidgets.QWidget createWidget(self, parent: PySide6.QtWidgets.QWidget) -> PySide6.QtWidgets.QWidget [extrait de createWidget.__doc__]
defaultWidget(self) -> PySide6.QtWidgets.QWidget defaultWidget(self) -> PySide6.QtWidgets.QWidget [extrait de defaultWidget.__doc__]
deleteWidget(self, widget: PySide6.QtWidgets.QWidget) -> None deleteWidget(self, widget: PySide6.QtWidgets.QWidget) -> None [extrait de deleteWidget.__doc__]
destroyed
enabledChanged
event(self, arg__1: PySide6.QtCore.QEvent) -> bool event(self, arg__1: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__]
eventFilter(self, arg__1: PySide6.QtCore.QObject, arg__2: PySide6.QtCore.QEvent) -> bool eventFilter(self, arg__1: PySide6.QtCore.QObject, arg__2: PySide6.QtCore.QEvent) -> bool [extrait de eventFilter.__doc__]
hovered
objectNameChanged
releaseWidget(self, widget: PySide6.QtWidgets.QWidget) -> None releaseWidget(self, widget: PySide6.QtWidgets.QWidget) -> None [extrait de releaseWidget.__doc__]
requestWidget(self, parent: PySide6.QtWidgets.QWidget) -> PySide6.QtWidgets.QWidget requestWidget(self, parent: PySide6.QtWidgets.QWidget) -> PySide6.QtWidgets.QWidget [extrait de requestWidget.__doc__]
setDefaultWidget(self, w: PySide6.QtWidgets.QWidget) -> None setDefaultWidget(self, w: PySide6.QtWidgets.QWidget) -> None [extrait de setDefaultWidget.__doc__]
toggled
tr
triggered
visibleChanged

Méthodes héritées de la classe QAction

__init_subclass__, __repr__, __subclasshook__, ActionEvent, actionGroup, activate, associatedObjects, autoRepeat, data, font, hover, icon, iconText, isCheckable, isChecked, isEnabled, isIconVisibleInMenu, isSeparator, isShortcutVisibleInContextMenu, isVisible, MenuRole, menuRole, Priority, priority, resetEnabled, setActionGroup, setAutoRepeat, setCheckable, setChecked, setData, setDisabled, setEnabled, setFont, setIcon, setIconText, setIconVisibleInMenu, setMenuRole, setPriority, setSeparator, setShortcut, setShortcutContext, setShortcuts, setShortcutVisibleInContextMenu, setStatusTip, setText, setToolTip, setVisible, setWhatsThis, shortcut, shortcutContext, shortcuts, showStatusText, statusTip, text, toggle, toolTip, trigger, whatsThis

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__