MCPcopy Create free account
hub / github.com/DIMFLIX/Spectrum-Security / end_animation

Method end_animation

main.py:725–731  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

723 QTimer.singleShot(5200, lambda: self.end_animation())
724
725 def end_animation(self):
726 self.end_animation = QPropertyAnimation(self, b"geometry")
727 self.end_animation.setDuration(200)
728 self.end_animation.setStartValue(QRect(self.desktop.width() - 410, self.desktop.height() - 110, 400, 100))
729 self.end_animation.setEndValue(QRect(self.desktop.width() - 1, self.desktop.height() - 110, 1, 100))
730 self.end_animation.start()
731 QTimer.singleShot(200, lambda: self.close_notify())
732
733 def close_notify(self):
734 self.close()

Callers 1

start_animationMethod · 0.95

Calls 2

close_notifyMethod · 0.95
startMethod · 0.80

Tested by

no test coverage detected