Dear friends,
Is it possible to obtain the next behavior?
- user starts editing view's cell;
- when he/she finishes, delegate (or who?) checks is the new value is correct;
-- if YES: save data to model;
-- if NO: show message box "Data is invalid" and leave editor and the focus in it so user could fix the value at the same moment.
I tried to use event filter installed on the editor (created by delegate::createEditor()) by handling FocusOut events, but when user clicks the other cell in the view the current editor gets closed anyway and one creates new editor for the clicked cell.


Reply With Quote


when I clicks the other cell one closes the current editor and shows the new one.
Bookmarks