E5Gui/E5ModelMenu.py

changeset 3034
7ce719013078
parent 2990
583beaf0b4b8
child 3060
5883ce99ee12
child 3160
209a07d7e401
equal deleted inserted replaced
3033:58fe260e7469 3034:7ce719013078
361 361
362 if not (evt.buttons() & Qt.LeftButton): 362 if not (evt.buttons() & Qt.LeftButton):
363 super().mouseMoveEvent(evt) 363 super().mouseMoveEvent(evt)
364 return 364 return
365 365
366 manhattanLength = (evt.pos() - 366 manhattanLength = (evt.pos() -
367 self.__dragStartPosition).manhattanLength() 367 self.__dragStartPosition).manhattanLength()
368 if manhattanLength <= QApplication.startDragDistance(): 368 if manhattanLength <= QApplication.startDragDistance():
369 super().mouseMoveEvent(evt) 369 super().mouseMoveEvent(evt)
370 return 370 return
371 371

eric ide

mercurial