MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / AThread

Class AThread

tests_python/resources/_debugger_case_qthread1.py:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15# Subclassing QThread
16# http://doc.qt.nokia.com/latest/qthread.html
17class AThread(QtCore.QThread):
18
19 def run(self):
20 count = 0
21 while count < 5:
22 print("Increasing", count) # break here
23 sys.stdout.flush()
24 count += 1
25
26app = QtCore.QCoreApplication([])
27thread = AThread()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected