I work with QDataWidgetMapper, but not happy of it's idea.
The problem is that the widget will submit the change when edit finished.
How edit is finished?
Press Enter or lost focus.
So you will see very weird when you change the selection of combo box, you need press enter, otherwise model will not changed. The same as check box, etc.
I cannot work like this. I think the definition of edit ending is wrong.
When you change the selection of combo box, how you can say the edit is not ending?
Anybody has experience or work around?
I did very tricky that connect the index change of combo box signal to my slot and remove the focus.
Why QT didn't consider the situation and do for the developers? No official solution?
Bookmarks