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 « QSystemTrayIcon »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QSystemTrayIcon

Définition

class QSystemTrayIcon(QObject):

Description [extrait de QSystemTrayIcon.__doc__]

QSystemTrayIcon(self, icon: Union[PySide6.QtGui.QIcon, PySide6.QtGui.QPixmap], parent: Optional[PySide6.QtCore.QObject] = None) -> None
QSystemTrayIcon(self, parent: Optional[PySide6.QtCore.QObject] = None) -> 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__]

Liste des attributs statiques

Nom de l'attribut Valeur
ContextPySide6.QtWidgets.QSystemTrayIcon.ActivationReason.Context
CriticalPySide6.QtWidgets.QSystemTrayIcon.MessageIcon.Critical
DoubleClickPySide6.QtWidgets.QSystemTrayIcon.ActivationReason.DoubleClick
InformationPySide6.QtWidgets.QSystemTrayIcon.MessageIcon.Information
MiddleClickPySide6.QtWidgets.QSystemTrayIcon.ActivationReason.MiddleClick
NoIconPySide6.QtWidgets.QSystemTrayIcon.MessageIcon.NoIcon
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40dfe3ef00>
TriggerPySide6.QtWidgets.QSystemTrayIcon.ActivationReason.Trigger
UnknownPySide6.QtWidgets.QSystemTrayIcon.ActivationReason.Unknown
WarningPySide6.QtWidgets.QSystemTrayIcon.MessageIcon.Warning

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__]
activated
ActivationReason
contextMenu(self) -> PySide6.QtWidgets.QMenu contextMenu(self) -> PySide6.QtWidgets.QMenu [extrait de contextMenu.__doc__]
destroyed
event(self, event: PySide6.QtCore.QEvent) -> bool event(self, event: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__]
geometry(self) -> PySide6.QtCore.QRect geometry(self) -> PySide6.QtCore.QRect [extrait de geometry.__doc__]
hide(self) -> None hide(self) -> None [extrait de hide.__doc__]
icon(self) -> PySide6.QtGui.QIcon icon(self) -> PySide6.QtGui.QIcon [extrait de icon.__doc__]
isSystemTrayAvailable() -> bool isSystemTrayAvailable() -> bool [extrait de isSystemTrayAvailable.__doc__]
isVisible(self) -> bool isVisible(self) -> bool [extrait de isVisible.__doc__]
messageClicked
MessageIcon
objectNameChanged
setContextMenu(self, menu: PySide6.QtWidgets.QMenu) -> None setContextMenu(self, menu: PySide6.QtWidgets.QMenu) -> None [extrait de setContextMenu.__doc__]
setIcon(self, icon: Union[PySide6.QtGui.QIcon, PySide6.QtGui.QPixmap]) -> None setIcon(self, icon: Union[PySide6.QtGui.QIcon, PySide6.QtGui.QPixmap]) -> None [extrait de setIcon.__doc__]
setToolTip(self, tip: str) -> None setToolTip(self, tip: str) -> None [extrait de setToolTip.__doc__]
setVisible(self, visible: bool) -> None setVisible(self, visible: bool) -> None [extrait de setVisible.__doc__]
show(self) -> None show(self) -> None [extrait de show.__doc__]
showMessage showMessage(self, title: str, msg: str, icon: PySide6.QtWidgets.QSystemTrayIcon.MessageIcon = PySide6.QtWidgets.QSystemTrayIcon.MessageIcon.Information, msecs: int = 10000) -> None [extrait de showMessage.__doc__]
supportsMessages() -> bool supportsMessages() -> bool [extrait de supportsMessages.__doc__]
toolTip(self) -> str toolTip(self) -> str [extrait de toolTip.__doc__]
tr

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, eventFilter, 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__