(self, event)
onmouseup
onmouseup
onmouseup
def mouseReleaseEvent(self, event):
        """ onmouseup
        """
        if self._is_selecting:
            self._is_selecting = False
            self.selection.active = False
        cur = self.pixel_to_caret(event.pos().x(), event.pos().y())
        if cur is not None:
            self.caret = cur
            self.viewport().update(self.caret_to_hexcol(self.caret))
def mouseReleaseEvent ( self , event ) : if self . _is_selecting : self . _is_selecting = False self . selection . active = False cur = self . pixel_to_caret ( event . pos ( ) . x ( ) , event . pos ( ) . y ( ) ) if cur is not None : self . caret = cur self . viewport ( ) . update ( self . caret_to_hexcol ( self . caret ) )