How are you mapping the item from QTreeWidget in dock widget to the QTreeView ? I mean are you trying that when treewidget is clicked, the text of that item should get inserted in the editor of treeview? But editor for which row/col in the tree view ?
You could do one thing, you can pass the string in signal and set that data as the editor data.
Also if both treeview and treewidget has same data, why do you need 2 views to display ? Am not getting the overall idea of your gui.
Bookmarks