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

Method show

Demo/BubbleTips.py:62–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 self.close()
61
62 def show(self):
63 super(BubbleLabel, self).show()
64 # 窗口开始位置
65 startPos = QPoint(
66 self._desktop.screenGeometry().width() - self.width() - 100,
67 self._desktop.availableGeometry().height() - self.height())
68 endPos = QPoint(
69 self._desktop.screenGeometry().width() - self.width() - 100,
70 self._desktop.availableGeometry().height() - self.height() * 3 - 5)
71 print(startPos, endPos)
72 self.move(startPos)
73 # 初始化动画
74 self.initAnimation(startPos, endPos)
75
76 def initAnimation(self, startPos, endPos):
77 # 透明度动画

Callers 15

mouseFlow.pyFile · 0.45
graph1.pyFile · 0.45
NativeEvent.pyFile · 0.45
FollowWindow.pyFile · 0.45
WeltHideWindow.pyFile · 0.45
BackingWidget.pyFile · 0.45
FramelessWindow.pyFile · 0.45
SharedMemory.pyFile · 0.45
_createInstanceMethod · 0.45
Notification.pyFile · 0.45

Calls 4

initAnimationMethod · 0.95
moveMethod · 0.80
widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected