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 « PySide2.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: PySide2.QtCore.QObject)

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, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AboutQtRolePySide2.QtWidgets.QAction.MenuRole.AboutQtRole
AboutRolePySide2.QtWidgets.QAction.MenuRole.AboutRole
ApplicationSpecificRolePySide2.QtWidgets.QAction.MenuRole.ApplicationSpecificRole
HighPriorityPySide2.QtWidgets.QAction.Priority.HighPriority
HoverPySide2.QtWidgets.QAction.ActionEvent.Hover
LowPriorityPySide2.QtWidgets.QAction.Priority.LowPriority
NormalPriorityPySide2.QtWidgets.QAction.Priority.NormalPriority
NoRolePySide2.QtWidgets.QAction.MenuRole.NoRole
PreferencesRolePySide2.QtWidgets.QAction.MenuRole.PreferencesRole
QuitRolePySide2.QtWidgets.QAction.MenuRole.QuitRole
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe35a4b840>
TextHeuristicRolePySide2.QtWidgets.QAction.MenuRole.TextHeuristicRole
TriggerPySide2.QtWidgets.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
createdWidgets(self) -> typing.List[PySide2.QtWidgets.QWidget] createdWidgets(self) -> typing.List[PySide2.QtWidgets.QWidget] [extrait de createdWidgets.__doc__]
createWidget(self, parent: PySide2.QtWidgets.QWidget) -> PySide2.QtWidgets.QWidget createWidget(self, parent: PySide2.QtWidgets.QWidget) -> PySide2.QtWidgets.QWidget [extrait de createWidget.__doc__]
defaultWidget(self) -> PySide2.QtWidgets.QWidget defaultWidget(self) -> PySide2.QtWidgets.QWidget [extrait de defaultWidget.__doc__]
deleteWidget(self, widget: PySide2.QtWidgets.QWidget) deleteWidget(self, widget: PySide2.QtWidgets.QWidget) [extrait de deleteWidget.__doc__]
destroyed
event(self, arg__1: PySide2.QtCore.QEvent) -> bool event(self, arg__1: PySide2.QtCore.QEvent) -> bool [extrait de event.__doc__]
eventFilter(self, arg__1: PySide2.QtCore.QObject, arg__2: PySide2.QtCore.QEvent) -> bool eventFilter(self, arg__1: PySide2.QtCore.QObject, arg__2: PySide2.QtCore.QEvent) -> bool [extrait de eventFilter.__doc__]
hovered
objectNameChanged
releaseWidget(self, widget: PySide2.QtWidgets.QWidget) releaseWidget(self, widget: PySide2.QtWidgets.QWidget) [extrait de releaseWidget.__doc__]
requestWidget(self, parent: PySide2.QtWidgets.QWidget) -> PySide2.QtWidgets.QWidget requestWidget(self, parent: PySide2.QtWidgets.QWidget) -> PySide2.QtWidgets.QWidget [extrait de requestWidget.__doc__]
setDefaultWidget(self, w: PySide2.QtWidgets.QWidget) setDefaultWidget(self, w: PySide2.QtWidgets.QWidget) [extrait de setDefaultWidget.__doc__]
toggled
triggered

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

__init_subclass__, __repr__, __subclasshook__, ActionEvent, actionGroup, activate, associatedGraphicsWidgets, associatedWidgets, autoRepeat, data, font, hover, icon, iconText, isCheckable, isChecked, isEnabled, isIconVisibleInMenu, isSeparator, isShortcutVisibleInContextMenu, isVisible, menu, MenuRole, menuRole, parentWidget, Priority, priority, setActionGroup, setAutoRepeat, setCheckable, setChecked, setData, setDisabled, setEnabled, setFont, setIcon, setIconText, setIconVisibleInMenu, setMenu, 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, registerUserData, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

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

__init_subclass__, __subclasshook__

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

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