Either try using QAbstractItemView.closePersistentEditor() or, if you
need custom editors, create your own with a QStyledItemDelegate
subclass, where you have full control (including the widget, that
you're missing).
Pete
Thanks for you response. What you suggested put me on the
Howdy,
In my application, I create a tree by drag and drop. When I drop an item, I
immediately open the item editor delegate so the user can type the item text.
I am implementing undo/redo, and both the item creation and text editing go
into a macro. All is good.
The problem is that if I have
On Friday 08 October 2010, 18:55:11 Danny wrote:
Howdy,
In my application, I create a tree by drag and drop. When I drop an
item, I immediately open the item editor delegate so the user can
type the item text. I am implementing undo/redo, and both the item
creation and text editing go into a