'Remove the action at position.'

def removeActionAt(self, position):

    self._checkPosition(position)
    slot = self.__actions[(position - 1)]
    self.__actions[(position - 1)] = None
    slot.button.hide()
    slot.button.deleteLater()
    QLineEdit.removeAction(self, slot.action)
    self.__layoutActions()
