Home · All Classes · Modules

QThread Class Reference
[QtCore module]

Inherits QObject.

Types

Methods

Static Methods

Qt Signals


Detailed Description


Type Documentation

QThread.Priority


Method Documentation

QThread.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QThread QThread.currentThread ()

int QThread.currentThreadId ()

int QThread.exec_ (self)

QThread.exit (self, int returnCode = 0)

int QThread.idealThreadCount ()

bool QThread.isFinished (self)

bool QThread.isRunning (self)

QThread.msleep (int)

Priority QThread.priority (self)

QThread.quit (self)

This method is also a Qt slot with the C++ signature void quit().

QThread.run (self)

QThread.setPriority (self, Priority)

QThread.setStackSize (self, int)

QThread.setTerminationEnabled (bool enabled = True)

QThread.sleep (int)

int QThread.stackSize (self)

QThread.start (self, Priority priority = QThread.InheritPriority)

This method is also a Qt slot with the C++ signature void start(QThread::Priority = QThread.InheritPriority).

QThread.terminate (self)

This method is also a Qt slot with the C++ signature void terminate().

QThread.usleep (int)

bool QThread.wait (self, int msecs = ULONG_MAX)

QThread.yieldCurrentThread ()


Qt Signal Documentation

void finished ()

This is the default overload of this signal.

void started ()

This is the default overload of this signal.

void terminated ()

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0