Priority: Not Evaluated
Affects Version/s: 5.10.1
Fix Version/s: None
Component/s: Widgets: Itemviews
It would be nice if QDataWidgetMapper had an ImmediateSubmit mode that would submit its data as soon as a widgets value changes. This would be extremely easy to add to the existing QDataWidgetMapper and allow the view and the model to be constantly in-sync with each other.
This can be implemented simply by using the mappedPropertyName of QDataWidgetMapper and using the widget's metaObject to get the notifySignalIndex to know when the property changes. As I've done here:
I think this would clear up a lot of general confusion on the internet: