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.QtCore »

Classe « QObject »

Informations générales

Héritage

builtins.object
    Object
        QObject

Définition

class QObject(Object):

Description [extrait de QObject.__doc__]

QObject(self, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = 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, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe36c6b280>

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__]
__getattribute__(self, name) Return getattr(self, name). [extrait de __getattribute__.__doc__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
blockSignals(self, b: bool) -> bool blockSignals(self, b: bool) -> bool [extrait de blockSignals.__doc__]
childEvent(self, event: PySide2.QtCore.QChildEvent) childEvent(self, event: PySide2.QtCore.QChildEvent) [extrait de childEvent.__doc__]
children(self) -> typing.List[PySide2.QtCore.QObject] children(self) -> typing.List[PySide2.QtCore.QObject] [extrait de children.__doc__]
connect connect(arg__1: PySide2.QtCore.QObject, arg__2: bytes, arg__3: typing.Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool [extrait de connect.__doc__]
connectNotify(self, signal: PySide2.QtCore.QMetaMethod) connectNotify(self, signal: PySide2.QtCore.QMetaMethod) [extrait de connectNotify.__doc__]
customEvent(self, event: PySide2.QtCore.QEvent) customEvent(self, event: PySide2.QtCore.QEvent) [extrait de customEvent.__doc__]
deleteLater(self) deleteLater(self) [extrait de deleteLater.__doc__]
destroyed
disconnect disconnect(arg__1: PySide2.QtCore.QMetaObject.Connection) -> bool [extrait de disconnect.__doc__]
disconnectNotify(self, signal: PySide2.QtCore.QMetaMethod) disconnectNotify(self, signal: PySide2.QtCore.QMetaMethod) [extrait de disconnectNotify.__doc__]
dumpObjectInfo(self) dumpObjectInfo(self) [extrait de dumpObjectInfo.__doc__]
dumpObjectTree(self) dumpObjectTree(self) [extrait de dumpObjectTree.__doc__]
dynamicPropertyNames(self) -> typing.List[PySide2.QtCore.QByteArray] dynamicPropertyNames(self) -> typing.List[PySide2.QtCore.QByteArray] [extrait de dynamicPropertyNames.__doc__]
emit(self, arg__1: bytes, *args: None) -> bool emit(self, arg__1: bytes, *args: None) -> bool [extrait de emit.__doc__]
event(self, event: PySide2.QtCore.QEvent) -> bool event(self, event: PySide2.QtCore.QEvent) -> bool [extrait de event.__doc__]
eventFilter(self, watched: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) -> bool eventFilter(self, watched: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) -> bool [extrait de eventFilter.__doc__]
findChild(self, arg__1: type, arg__2: str = '') -> object findChild(self, arg__1: type, arg__2: str = '') -> object [extrait de findChild.__doc__]
findChildren findChildren(self, arg__1: type, arg__2: PySide2.QtCore.QRegExp) -> typing.Iterable [extrait de findChildren.__doc__]
inherits(self, classname: bytes) -> bool inherits(self, classname: bytes) -> bool [extrait de inherits.__doc__]
installEventFilter(self, filterObj: PySide2.QtCore.QObject) installEventFilter(self, filterObj: PySide2.QtCore.QObject) [extrait de installEventFilter.__doc__]
isSignalConnected(self, signal: PySide2.QtCore.QMetaMethod) -> bool isSignalConnected(self, signal: PySide2.QtCore.QMetaMethod) -> bool [extrait de isSignalConnected.__doc__]
isWidgetType(self) -> bool isWidgetType(self) -> bool [extrait de isWidgetType.__doc__]
isWindowType(self) -> bool isWindowType(self) -> bool [extrait de isWindowType.__doc__]
killTimer(self, id: int) killTimer(self, id: int) [extrait de killTimer.__doc__]
metaObject(self) -> PySide2.QtCore.QMetaObject metaObject(self) -> PySide2.QtCore.QMetaObject [extrait de metaObject.__doc__]
moveToThread(self, thread: PySide2.QtCore.QThread) moveToThread(self, thread: PySide2.QtCore.QThread) [extrait de moveToThread.__doc__]
objectName(self) -> str objectName(self) -> str [extrait de objectName.__doc__]
objectNameChanged
parent(self) -> PySide2.QtCore.QObject parent(self) -> PySide2.QtCore.QObject [extrait de parent.__doc__]
property(self, name: bytes) -> typing.Any property(self, name: bytes) -> typing.Any [extrait de property.__doc__]
receivers(self, signal: bytes) -> int receivers(self, signal: bytes) -> int [extrait de receivers.__doc__]
registerUserData() -> int registerUserData() -> int [extrait de registerUserData.__doc__]
removeEventFilter(self, obj: PySide2.QtCore.QObject) removeEventFilter(self, obj: PySide2.QtCore.QObject) [extrait de removeEventFilter.__doc__]
sender(self) -> PySide2.QtCore.QObject sender(self) -> PySide2.QtCore.QObject [extrait de sender.__doc__]
senderSignalIndex(self) -> int senderSignalIndex(self) -> int [extrait de senderSignalIndex.__doc__]
setObjectName(self, name: str) setObjectName(self, name: str) [extrait de setObjectName.__doc__]
setParent(self, parent: PySide2.QtCore.QObject) setParent(self, parent: PySide2.QtCore.QObject) [extrait de setParent.__doc__]
setProperty(self, name: bytes, value: typing.Any) -> bool setProperty(self, name: bytes, value: typing.Any) -> bool [extrait de setProperty.__doc__]
signalsBlocked(self) -> bool signalsBlocked(self) -> bool [extrait de signalsBlocked.__doc__]
startTimer(self, interval: int, timerType: PySide2.QtCore.Qt.TimerType = PySide2.QtCore.Qt.TimerType.CoarseTimer) -> int startTimer(self, interval: int, timerType: PySide2.QtCore.Qt.TimerType = PySide2.QtCore.Qt.TimerType.CoarseTimer) -> int [extrait de startTimer.__doc__]
thread(self) -> PySide2.QtCore.QThread thread(self) -> PySide2.QtCore.QThread [extrait de thread.__doc__]
timerEvent(self, event: PySide2.QtCore.QTimerEvent) timerEvent(self, event: PySide2.QtCore.QTimerEvent) [extrait de timerEvent.__doc__]
tr(self, arg__1: bytes, arg__2: bytes = b'', arg__3: int = -1) -> str tr(self, arg__1: bytes, arg__2: bytes = b'', arg__3: int = -1) -> str [extrait de tr.__doc__]

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

__init_subclass__, __subclasshook__

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

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