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

Method load

QListWidget/HotPlaylist.py:67–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65 self._manager.finished.connect(self.onFinished)
66
67 def load(self):
68 if self.Page == -1 or self.Page > 10:
69 return
70 self._loadStart = True
71 self.loadWidget.setVisible(True)
72 # 延迟一秒后调用目的在于显示进度条
73 QTimer.singleShot(1000, self._load)
74
75 def _load(self):
76 print("load url:", Url.format(self.Page * 35))

Callers 3

onActionTriggeredMethod · 0.95
__init__Method · 0.45
HotPlaylist.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected