we would like to implement multi editing of cells in QtitanGrid for python. "multi editing" meaning: select a few cells, start editing and apply the result to all selected. Previously we used to override the "commitData" method of the modelviews. How can we achieve this?
I'd suggest to use these signals to get notified about editing value:
void editorModifying(GridEditor* editor); - changing some value in the editor
void editorStoping(EditorEventArgs* args) - before the end edititng, the value is not in the model
void editorStoped(EditorEventArgs* args) - editor stoped, the value in the model.
void editorValidating(EditorValidationEventArgs* args) - the value validatation. It depends on GridEditorRepository::immediatePost() and GridEditorRepository::validateOnEnter() flags.
Looks like you need editorStoped() and commit the value to the other model's cells on it.