MCPcopy
hub / github.com/PyQt5/PyQt / updateDataReadProgress

Method updateDataReadProgress

Demo/FacePoints.py:82–83  ·  view source on GitHub ↗
(self, bytesRead, totalBytes)

Source from the content-addressed store, hash-verified

80 self.outFile.flush()
81
82 def updateDataReadProgress(self, bytesRead, totalBytes):
83 self.setText('已下载:{} %'.format(round(bytesRead / 64040097 * 100, 2)))
84
85 def startCapture(self):
86 self.setText("请稍候,正在初始化数据和摄像头。。。")

Callers

nothing calls this directly

Calls 1

setTextMethod · 0.45

Tested by

no test coverage detected