Hello!

My application works with QTreeWidget. The new element adds to the tree by pressing a button. How can I put keyboard cursor into persistentEditor for the new element?

For example:

void XMLTree::buttonAddPushed()
{
QTreeWidgetItem *item = new QTreeWidgetItem;
openPersistentEditor( item, 0 );
// ??? How can I put keyboard cursor in this editor ???
}