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

Method mouseReleaseEvent

Demo/Lib/FramelessWindow.py:232–236  ·  view source on GitHub ↗

鼠标弹起事件

(self, event)

Source from the content-addressed store, hash-verified

230 self._pressed = True
231
232 def mouseReleaseEvent(self, event):
233 '''鼠标弹起事件'''
234 super(FramelessWindow, self).mouseReleaseEvent(event)
235 self._pressed = False
236 self.Direction = None
237
238 def mouseMoveEvent(self, event):
239 """鼠标移动事件"""

Callers

nothing calls this directly

Calls 1

mouseReleaseEventMethod · 0.45

Tested by

no test coverage detected