It wasn't my solution. Jpn already told you about it in his second post in this thread.
I can, but I doubt I can tell you more than you can read from the docs. In general the mechanism is simmilar to the one present in (for example) MFC - the events are propagated from class to class until one of them marks them as handled. In case of Qt the order is child widget -> its parent -> its parent -> ... -> application object.Can u tell me more on event delegation ?? I saw thru the call stack and came to conclude that...that Qt uses QApplicationPrivate::notify_helper() to properly distrubute the events, and hence its View in the window that receives the events first.
I think I already answered thatbut what will ignore do and how will the events propogate further ?? can u throw more light ?
Your question was answered at the very beginning, you just ignored that answer (instead of ignoring the event).Thanks a lot both of u guys...just wondering what took u so long to answer![]()







Reply With Quote

Bookmarks