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

Method onAnimationEnd

Demo/WindowNotify.py:137–146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

135 self.animation.start()
136
137 def onAnimationEnd(self):
138 # 动画结束
139 print("onAnimationEnd isShow", self.isShow)
140 if not self.isShow:
141 print("onAnimationEnd close()")
142 self.close()
143 print("onAnimationEnd stop timer")
144 self._timer.stop()
145 print("onAnimationEnd close and emit signal")
146 self.SignalClosed.emit()
147
148 def enterEvent(self, event):
149 super(WindowNotify, self).enterEvent(event)

Callers

nothing calls this directly

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected