Listen for the delete key and check to see if this should auto
        set the remove property on the object.
        
        :param      event | <QKeyPressEvent>

def keyPressEvent(self, event):
        """
        Listen for the delete key and check to see if this should auto
        set the remove property on the object.
        
        :param      event | <QKeyPressEvent>
        """
        # tag the item for deletion
        if self.useDefaultKeystrokes() and self.isEditable():
            if event.key() == Qt.Key_Delete:
                for item in self.selectedItems():
                    item.setRecordState(XOrbRecordItem.State.Removed)
            
            # save/commit to the database
            elif event.key() == Qt.Key_S and\
                 event.modifiers() == Qt.ControlModifier:
                self.commit()
        
        super(XOrbTreeWidget, self).keyPressEvent(event)