PDA

View Full Version : TreeWidget item editing.



kubas
7th September 2009, 15:20
Hey,
I have qtreewidget, when i double click on item i begin
to edit it. I set custom delegate to change the default editor.
My question is:
how to make an item after adding it to tree to be automaticly editable.
( something like automatic double click on it after add )

Any sugestions ?

Greets ,
Kubas

jpn
7th September 2009, 15:54
Call QTreeWidget::editItem().

kubas
8th September 2009, 07:42
You're right, thanks.
I didnt do my homework, dummy question.

Greets
Kubas