Why not call setData directly from the dialog and ignore the rest? You could even do it simpler if you uset setItemWidget on the view when acting upon change of the current item.
Why not ? This was my last proposition, with the need to keep the index to setData in.
I could not find setItemWidget in QTableView.
Regards.
Bookmarks