[Qt-interest] Submitting changes in a QTableView

Lars Amsel lars.amsel at signalion.com
Thu Jul 9 07:46:39 CEST 2009


Alex,

Malyushytsky, Alex wrote:
 > Through the calls to the following?
 >
 > void QAbstractItemView::commitData ( QWidget * editor )
 > void QAbstractItemView::closeEditor ( QWidget * editor,

Thanks for your reply. Both slots are protected, so I can't call them without 
subclassing. Furthermore I do not know directly which editor I have to pass to 
the method. This seems to me to much effort for such a simple task. I thought 
about a method like stopEdit() or finishEdit() in the QAbstractItemView, but it 
seems to be non-existent.

regards

Lars



More information about the Qt-interest-old mailing list