'Remove a child parameter.'

def removeChild(self, child):

    name = child.name()
    if ((name not in self.names) or (self.names[name] is not child)):
        raise Exception(("Parameter    %s    is    not    my    child;    can't    remove." % str(child)))
    del self.names[name]
    self.childs.pop(self.childs.index(child))
    child.parentChanged(None)
    self.sigChildRemoved.emit(self, child)
    try:
        child.sigTreeStateChanged.disconnect(self.treeStateChanged)
    except (TypeError, RuntimeError):
        pass
