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.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: 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__]
__init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None __init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
HighestPriorityPySide6.QtCore.QThread.Priority.HighestPriority
HighPriorityPySide6.QtCore.QThread.Priority.HighPriority
IdlePriorityPySide6.QtCore.QThread.Priority.IdlePriority
InheritPriorityPySide6.QtCore.QThread.Priority.InheritPriority
LowestPriorityPySide6.QtCore.QThread.Priority.LowestPriority
LowPriorityPySide6.QtCore.QThread.Priority.LowPriority
NormalPriorityPySide6.QtCore.QThread.Priority.NormalPriority
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40ebf518c0>
TimeCriticalPriorityPySide6.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() -> PySide6.QtCore.QThread currentThread() -> PySide6.QtCore.QThread [extrait de currentThread.__doc__]
destroyed
event(self, event: PySide6.QtCore.QEvent) -> bool event(self, event: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__]
eventDispatcher(self) -> PySide6.QtCore.QAbstractEventDispatcher eventDispatcher(self) -> PySide6.QtCore.QAbstractEventDispatcher [extrait de eventDispatcher.__doc__]
exec(self) -> int exec(self) -> int [extrait de exec.__doc__]
exec_(self) -> int exec_(self) -> int [extrait de exec_.__doc__]
exit(self, retcode: int = 0) -> None exit(self, retcode: int = 0) -> None [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) -> None msleep(arg__1: int) -> None [extrait de msleep.__doc__]
objectNameChanged
Priority
priority(self) -> PySide6.QtCore.QThread.Priority priority(self) -> PySide6.QtCore.QThread.Priority [extrait de priority.__doc__]
quit(self) -> None quit(self) -> None [extrait de quit.__doc__]
requestInterruption(self) -> None requestInterruption(self) -> None [extrait de requestInterruption.__doc__]
run(self) -> None run(self) -> None [extrait de run.__doc__]
setEventDispatcher(self, eventDispatcher: PySide6.QtCore.QAbstractEventDispatcher) -> None setEventDispatcher(self, eventDispatcher: PySide6.QtCore.QAbstractEventDispatcher) -> None [extrait de setEventDispatcher.__doc__]
setPriority(self, priority: PySide6.QtCore.QThread.Priority) -> None setPriority(self, priority: PySide6.QtCore.QThread.Priority) -> None [extrait de setPriority.__doc__]
setStackSize(self, stackSize: int) -> None setStackSize(self, stackSize: int) -> None [extrait de setStackSize.__doc__]
setTerminationEnabled(enabled: bool = True) -> None setTerminationEnabled(enabled: bool = True) -> None [extrait de setTerminationEnabled.__doc__]
sleep(arg__1: int) -> None sleep(arg__1: int) -> None [extrait de sleep.__doc__]
stackSize(self) -> int stackSize(self) -> int [extrait de stackSize.__doc__]
start(self, priority: PySide6.QtCore.QThread.Priority = PySide6.QtCore.QThread.Priority.InheritPriority) -> None start(self, priority: PySide6.QtCore.QThread.Priority = PySide6.QtCore.QThread.Priority.InheritPriority) -> None [extrait de start.__doc__]
started
terminate(self) -> None terminate(self) -> None [extrait de terminate.__doc__]
tr
usleep(arg__1: int) -> None usleep(arg__1: int) -> None [extrait de usleep.__doc__]
wait wait(self, deadline: Union[PySide6.QtCore.QDeadlineTimer, PySide6.QtCore.QDeadlineTimer.ForeverConstant, PySide6.QtCore.Qt.TimerType, int] = Instance(PySide6.QtCore.QDeadlineTimer)) -> bool [extrait de wait.__doc__]
yieldCurrentThread() -> None yieldCurrentThread() -> None [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, 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__