Marcel, thank you for your answer.

Quote Originally Posted by marcel View Post
You cannot obtain it from a QTableWidget.
Use a QTableView instead and create the editor with the default item delegate, using:
QAbstractItemView::itemDelegate and
This method is available in QTableWidget too.

Quote Originally Posted by marcel View Post
QAbstractItemDelegate::createEditor.
The latter will also return a pointer to the editor.
I use my own delegate already, but if I call directly createEditor I maybe miss some internals of editItem, I don't know.

Is there is a guarantee, that
editItem() is 100% equivalent of itemDelegate()->createEditor() ?

I read and I read Qt documentation but I cannot find any way to connect somehow table with editor (so table will know about the editor) or editor with table.

The same problem as for editItem I have with openPersistentEditor -- vide my other post here:
http://www.qtcentre.org/forum/f-qt-p...them-7653.html

have a nice day, bye