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

Informations générales

Héritage

builtins.object
    Object
        QObject
            QThread

Définition

class QThread(QObject):

Description [extrait de QThread.__doc__]

QThread(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
HighestPriorityPySide2.QtCore.QThread.Priority.HighestPriority
HighPriorityPySide2.QtCore.QThread.Priority.HighPriority
IdlePriorityPySide2.QtCore.QThread.Priority.IdlePriority
InheritPriorityPySide2.QtCore.QThread.Priority.InheritPriority
LowestPriorityPySide2.QtCore.QThread.Priority.LowestPriority
LowPriorityPySide2.QtCore.QThread.Priority.LowPriority
NormalPriorityPySide2.QtCore.QThread.Priority.NormalPriority
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe36c74400>
TimeCriticalPriorityPySide2.QtCore.QThread.Priority.TimeCriticalPriority

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__]
currentThread() -> PySide2.QtCore.QThread currentThread() -> PySide2.QtCore.QThread [extrait de currentThread.__doc__]
destroyed
event(self, event: PySide2.QtCore.QEvent) -> bool event(self, event: PySide2.QtCore.QEvent) -> bool [extrait de event.__doc__]
eventDispatcher(self) -> PySide2.QtCore.QAbstractEventDispatcher eventDispatcher(self) -> PySide2.QtCore.QAbstractEventDispatcher [extrait de eventDispatcher.__doc__]
exec_(self) -> int exec_(self) -> int [extrait de exec_.__doc__]
exit(self, retcode: int = 0) exit(self, retcode: int = 0) [extrait de exit.__doc__]
finished
idealThreadCount() -> int idealThreadCount() -> int [extrait de idealThreadCount.__doc__]
isFinished(self) -> bool isFinished(self) -> bool [extrait de isFinished.__doc__]
isInterruptionRequested(self) -> bool isInterruptionRequested(self) -> bool [extrait de isInterruptionRequested.__doc__]
isRunning(self) -> bool isRunning(self) -> bool [extrait de isRunning.__doc__]
loopLevel(self) -> int loopLevel(self) -> int [extrait de loopLevel.__doc__]
msleep(arg__1: int) msleep(arg__1: int) [extrait de msleep.__doc__]
objectNameChanged
Priority
priority(self) -> PySide2.QtCore.QThread.Priority priority(self) -> PySide2.QtCore.QThread.Priority [extrait de priority.__doc__]
quit(self) quit(self) [extrait de quit.__doc__]
requestInterruption(self) requestInterruption(self) [extrait de requestInterruption.__doc__]
run(self) run(self) [extrait de run.__doc__]
setEventDispatcher(self, eventDispatcher: PySide2.QtCore.QAbstractEventDispatcher) setEventDispatcher(self, eventDispatcher: PySide2.QtCore.QAbstractEventDispatcher) [extrait de setEventDispatcher.__doc__]
setPriority(self, priority: PySide2.QtCore.QThread.Priority) setPriority(self, priority: PySide2.QtCore.QThread.Priority) [extrait de setPriority.__doc__]
setStackSize(self, stackSize: int) setStackSize(self, stackSize: int) [extrait de setStackSize.__doc__]
setTerminationEnabled(enabled: bool = True) setTerminationEnabled(enabled: bool = True) [extrait de setTerminationEnabled.__doc__]
sleep(arg__1: int) sleep(arg__1: int) [extrait de sleep.__doc__]
stackSize(self) -> int stackSize(self) -> int [extrait de stackSize.__doc__]
start(self, priority: PySide2.QtCore.QThread.Priority = PySide2.QtCore.QThread.Priority.InheritPriority) start(self, priority: PySide2.QtCore.QThread.Priority = PySide2.QtCore.QThread.Priority.InheritPriority) [extrait de start.__doc__]
started
terminate(self) terminate(self) [extrait de terminate.__doc__]
usleep(arg__1: int) usleep(arg__1: int) [extrait de usleep.__doc__]
wait(self, time: int = 18446744073709551615) -> bool wait(self, time: int = 18446744073709551615) -> bool [extrait de wait.__doc__]
yieldCurrentThread() yieldCurrentThread() [extrait de yieldCurrentThread.__doc__]

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