MCPcopy Create free account
hub / github.com/PyQt5/PyQt / run

Method run

Demo/QtThreading.py:32–39  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30class UpdateThread(Thread):
31
32 def run(self):
33 self.i = 0
34 for i in range(101):
35 self.i += 1
36 Signals.updateProgress.emit(i)
37 sleep(1)
38 self.i = 0
39 Signals.updateProgress.emit(i)
40
41
42class Window(QWidget):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected