'Remove this parameter from its parent\'s child list'

def remove(self):

    parent = self.parent()
    if (parent is None):
        raise Exception('Cannot    remove;    no    parent.')
    parent.removeChild(self)
    self.sigRemoved.emit(self)
