I've got a custom editor (nothing fancy - a widget with a couple of buttons and a label on it), which is linked to a model by a simple custom delegate via QDataWidgetMapper. The delegate calls setEditorData() and everything is fine, until the time when user ends editing in the widget. At this point data should be relayed back to the model, but the delegate does not have any idea that user is done with the editor, so setModelData() does not get called. So the question is - how do I notify the delegate that it's time to commit the data to the model? Thanks!