Example #1
0
    def keyReleaseEvent(self, event):
        if event.key() == Qt.Key_Delete:
            item = self.scene().focusItem()
            self.scene().removeArea(item)
        #elif event.key() == Qt.Key_Escape:
        #    self.first = True

        QGraphicsView.keyReleaseEvent(self, event)
Example #2
0
    def keyReleaseEvent(self, event):
        if event.key() == Qt.Key_Delete:
            item = self.scene().focusItem()
            self.scene().removeArea(item)
        #elif event.key() == Qt.Key_Escape:
        #    self.first = True

        QGraphicsView.keyReleaseEvent(self, event)
 def keyReleaseEvent(self, event):
     """docstring for keyReleaseEvent"""
     if event.key() == self._key_mod:
         self._transform_enable = False
         self._dolly_zoom_enable = False
         self._panDisable()
     # end if
     else:
         QGraphicsView.keyReleaseEvent(self, event)
Example #4
0
 def keyReleaseEvent(self, event):
     """docstring for keyReleaseEvent"""
     if event.key() == self._key_mod:
         self._transform_enable = False
         self._dolly_zoom_enable = False
         self._panDisable()
     # end if
     else:
         QGraphicsView.keyReleaseEvent(self, event)
Example #5
0
 def keyReleaseEvent(self, event):
     if event.key() == Qt.Key_Control:
         self.fCtrlDown = False
     QGraphicsView.keyReleaseEvent(self, event)
Example #6
0
    def inputGraphicsViewKeyReleaseEvent(self, event):

        QGraphicsView.keyReleaseEvent(self.inputGraphicsView, event)
Example #7
0
 def keyReleaseEvent(self, event):
     if event.key() == Qt.Key_Control:
         self.fCtrlDown = False
     QGraphicsView.keyReleaseEvent(self, event)
Example #8
0
 def inputGraphicsViewKeyReleaseEvent(self,event):
     
     QGraphicsView.keyReleaseEvent(self.inputGraphicsView, event)