I'm using a QStyledItemDelegate to edit the text of a QTreeWidgetItem when I double click on it.
Now I want the same functionality (renaming the item) when the user selects it through the context menu of the treewidget item.
Is it possible to call the createEditor() function of the delegate when the user selects the option through the context menu?
Thanks!
Bookmarks