setModelData()方法。
void QItemDelegate::setModelData ( QWidget * editor, QAbstractItemModel * model, const QModelIndex & index ) const [virtual]
Gets data from the editor widget and stores it in the specified model at the item index.
从editor widget中获取数据,然后将数据保持到model中。
model->setData( index,数据 );