MCPcopy Index your code
hub / github.com/PyQt5/PyQt / init

Method init

Demo/CircleLine.py:128–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

126 self.init()
127
128 def init(self):
129 points.clear()
130 # 链接的最小距离
131 self.linkDist = min(self.screenWidth, self.screenHeight) / 2.4
132 # 初始化点
133 for _ in range(maxCircles * 3):
134 points.append(Circle('', self.screenWidth, self.screenHeight))
135 self.update()
136
137 def showEvent(self, event):
138 super(CircleLineWindow, self).showEvent(event)

Callers 1

__init__Method · 0.95

Calls 3

CircleClass · 0.70
clearMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected