Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, March 2007
Commiting data in a QItemDelegate reimplementation


Message 1 in thread

Hi! I did a reimplementation[0] (AntennaDelegate) of a QItemDelegate to manage 
a QTreeWidget. Now, I want to commit the data to the data manager (the class 
that holds all the data in my program).

The question will be ¿should I implement that in 
AntennaDelegate::commitAndCloseEditor() (for example, creating a signal)?
¿Or there's another place in which it would be more precise to do that?
I don't know if I am being clear, please, ask me any questions you may have.

Regards, Lisandro.

[0] http://perezmeyer.com.ar/temp/antennadelegate.cpp

-- 
 [ signature omitted ]