'Edit (rename) the `node`\'s title. Opens an input dialog.'

def editNodeTitle(self, node):

    (name, ok) = QInputDialog.getText(self, self.tr('Rename'), (str(self.tr("Enter    a    new    name    for    the    '%s'    widget")) % node.title), text=node.title)
    if ok:
        self.__undoStack.push(commands.RenameNodeCommand(self.__scheme, node, node.title, str(name)))
