MCPcopy
hub / github.com/tonquer/JMComic-qt / JumpPage

Method JumpPage

src/component/widget/comment_widget.py:65–75  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 self.ClearTask()
64
65 def JumpPage(self):
66 try:
67 page = int(self.spinBox.text())
68 if page > self.listWidget.pages:
69 return
70 self.listWidget.SetWheelStatus(True)
71 self.listWidget.page = page
72 self.listWidget.clear()
73 self.LoadComment()
74 except Exception as es:
75 Log.Error(es)
76
77 def LoadComment(self):
78 QtOwner().ShowLoading()

Callers

nothing calls this directly

Calls 5

LoadCommentMethod · 0.95
textMethod · 0.80
SetWheelStatusMethod · 0.80
clearMethod · 0.80
ErrorMethod · 0.80

Tested by

no test coverage detected