MCPcopy Create free account
hub / github.com/PyQt5/PyQt / __init__

Method __init__

Test/ButtomZoom.py:22–25  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

20class ZoomButton(QPushButton):
21
22 def __init__(self, *args, **kwargs):
23 super(ZoomButton, self).__init__(*args, **kwargs)
24 self._animation = QPropertyAnimation(
25 self, b'geometry', self, duration=200)
26
27 def updatePos(self):
28 # 记录自己的固定的geometry值

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected