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

Method load

QGridLayout/HotPlaylist.py:54–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52 self._manager.finished.connect(self.onFinished)
53
54 def load(self):
55 if self.Page == -1 or self.Page > 10:
56 return
57 self.loadStarted.emit(True)
58 # 延迟一秒后调用目的在于显示进度条
59 QTimer.singleShot(1000, self._load)
60
61 def _load(self):
62 print("load url:", Url.format(self.Page * 35))

Callers 4

initMapMethod · 0.45
__init__Method · 0.45
onActionTriggeredMethod · 0.45
HotPlaylist.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected