Thanks,
It is the first time that I work explicitly with the child-parent relationship of widgets as well as with event filtering. So this is not obvious to me.
I was under the impression that the eventFilter member function of the delegate would have taken care of the out of focus event within a child of the delegate widget (line 45 of the last code snippet in my original post):
It seems that this is not the case. I'll run more tests.Qt Code:
while (w) { // don't worry about focus changes internally in the editor if (w == editor) return false; w = w->parentWidget(); }To copy to clipboard, switch view to plain text mode
Thanks
Bookmarks