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

Method moveWindow

main.py:515–519  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

513 ##==> MOVING THE PROGRAM
514 ####################################################
515 def moveWindow(self, event):
516 if event.buttons() == Qt.LeftButton:
517 self.move(self.pos() + event.globalPos() - self.dragPos)
518 self.dragPos = event.globalPos()
519 event.accept()
520
521 def mousePressEvent(self, event):
522 self.dragPos = event.globalPos()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected