So far I figured out, that I need to emit editRequest signal with CSMWorld::UniversalId and a hint. Am I supposed to make up a mapping for CSMWorld::UniversalId types with corresponding column display roles CSMWorld::ColumnBase::Display. Or am I wrong?
Right now I'm retrieving column roles with:
Code: Select all
int colRole = mModel->headerData( columnAt(event->x()), Qt::Horizontal, CSMWorld::ColumnBase::Role_Display ).toInt();