개정판 6c4070b9
fix mouse release
Change-Id: I679497d280de65b53f65be0519b0c3ecd9d43607
DTI_PID/DTI_PID/Commands/DefaultCommand.py | ||
---|---|---|
69 | 69 |
self.imageViewer.setDragMode(QGraphicsView.NoDrag) |
70 | 70 |
self.imageViewer.setInteractive(True) |
71 | 71 |
finally: |
72 |
QGraphicsView.mouseReleaseEvent(self.imageViewer, QMouseEvent(QEvent.MouseButtonRelease, event.pos(), Qt.LeftButton, event.buttons(), Qt.NoModifier)) |
|
72 |
QGraphicsView.mouseReleaseEvent(self.imageViewer, event) |
|
73 |
#QGraphicsView.mouseReleaseEvent(self.imageViewer, QMouseEvent(QEvent.MouseButtonRelease, event.pos(), Qt.LeftButton, event.buttons(), Qt.NoModifier)) |
|
73 | 74 |
pass |
74 | 75 |
elif 'mousePressEvent' == param[0] and event.button() == Qt.LeftButton: |
75 | 76 |
self.imageViewer.setDragMode(QGraphicsView.RubberBandDrag) |
내보내기 Unified diff