http://doc.qt.io/qt-4.8/qdirmodel.html#index-2
甚至还能直接调用setData:
setData(const QModelIndex &index, const QVariant &value, int role);