Point taken; thanks.
But I succeeded in getting the functionality I needed with just +5 lines of code, using a function provided by QTreeWidget itself, not some hack:
void QTreeWidget::openPersistentEditor(QTreeWidgetItem*item,int column)
To copy to clipboard, switch view to plain text mode
I capture the user's editing changes with the slot
void QTreeWidget::itemChanged(QTreeWidgetItem * item, int column)
To copy to clipboard, switch view to plain text mode
So I feel I was not trying to do too much with the convenience class. I was just slow to find the solution. This feature of my app is a small, simple sidelight, not a central, expandible effort, so I'm done and it's stable. Movin' on ...
But thanks for the advice.
Bookmarks