parameters: (self, event)
docstring: This overrides keyPressEvent from QWidget to emit a signal
          whenever the delete key is pressed.
  
          This might be better to override on table_widget, but there is
          only ever an active selection when focused on the table.
          :param event: A QKeyEvent holding the key that was pressed
docstring_summary: This overrides keyPressEvent from QWidget to emit a signal
          whenever the delete key is pressed.
docstring_tokens: This overrides keyPressEvent from QWidget to emit a signal whenever the delete key is pressed .
function: def keyPressEvent(self, event):
          """
          This overrides keyPressEvent from QWidget to emit a signal
          whenever the delete key is pressed.
  
          This might be better to override on table_widget, but there is
          only ever an active selection when focused on the table.
          :param event: A QKeyEvent holding the key that was pressed
          """
          super(PlotSelectorView, self).keyPressEvent(event)
          if event.key() == Qt.Key_Delete:
              self.deleteKeyPressed.emit(event.key())
function_tokens: def keyPressEvent ( self , event ) : super ( PlotSelectorView , self ) . keyPressEvent ( event ) if event . key ( ) == Qt . Key_Delete : self . deleteKeyPressed . emit ( event . key ( ) )