E5Gui/E5ModelToolBar.py

changeset 3034
7ce719013078
parent 2990
583beaf0b4b8
child 3060
5883ce99ee12
child 3160
209a07d7e401
equal deleted inserted replaced
3033:58fe260e7469 3034:7ce719013078
230 230
231 if not (evt.buttons() & Qt.LeftButton): 231 if not (evt.buttons() & Qt.LeftButton):
232 super().mouseMoveEvent(evt) 232 super().mouseMoveEvent(evt)
233 return 233 return
234 234
235 manhattanLength = (evt.pos() - 235 manhattanLength = (evt.pos() -
236 self.__dragStartPosition).manhattanLength() 236 self.__dragStartPosition).manhattanLength()
237 if manhattanLength <= QApplication.startDragDistance(): 237 if manhattanLength <= QApplication.startDragDistance():
238 super().mouseMoveEvent(evt) 238 super().mouseMoveEvent(evt)
239 return 239 return
240 240

eric ide

mercurial