Skip to content

Thread

Qt Base Class: QThread

Signature: QThread(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Base classes

Name Children Inherits
QThread
PySide6.QtCore
QThread(self, parent: Optional[PySide6.QtCore.QObject] \= None) -> None

⋔ Inheritance diagram

graph TD
  1473299845280["core.Thread"]
  1473288950576["QtCore.QThread"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  140713234304496["builtins.object"]
  1473288950576 --> 1473299845280
  1473288842240 --> 1473288950576
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: QThread

Platform-independent way to manage threads.

Source code in prettyqt\core\thread.py
class Thread(QtCore.QThread):
    """Platform-independent way to manage threads."""

    def get_priority(self) -> PriorityStr:
        return PRIORITY.inverse[self.priority()]

⌗ Property table

Qt Property Type Doc
objectName QString