Skip to content
Snippets Groups Projects

Add testing with pyqt5

Merged Oscar Gustafsson requested to merge testpyqt5 into master
9 files
+ 74
22
Compare changes
  • Side-by-side
  • Inline
Files
9
+ 3
2
@@ -83,8 +83,9 @@ class DragButton(QPushButton):
def mousePressEvent(self, event):
if event.button() == Qt.MouseButton.LeftButton:
self._m_press = True
self._mouse_press_pos = event.pos()
self._mouse_move_pos = event.pos()
pos = event.pos()
self._mouse_press_pos = pos
self._mouse_move_pos = pos
super().mousePressEvent(event)
Loading