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

Method start_animation

main.py:717–723  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

715 self.show()
716
717 def start_animation(self):
718 self.start_animation = QPropertyAnimation(self, b"geometry")
719 self.start_animation.setDuration(200)
720 self.start_animation.setStartValue(QRect(self.desktop.width() - 1, self.desktop.height() - 110, 1, 100))
721 self.start_animation.setEndValue(QRect(self.desktop.width() - 410, self.desktop.height() - 110, 400, 100))
722 self.start_animation.start()
723 QTimer.singleShot(5200, lambda: self.end_animation())
724
725 def end_animation(self):
726 self.end_animation = QPropertyAnimation(self, b"geometry")

Callers 1

__init__Method · 0.95

Calls 2

end_animationMethod · 0.95
startMethod · 0.80

Tested by

no test coverage detected