Hi,
Thanks for all ur replies. I'll try out what you suggested. As to aamer4yu's question, it's kind of a long story.Basically widget x is there as a "translucent screen" over a third party window (non-qt) embedded in my Qt Window to prevent it from receiving keyboard and mouse clicks. And effectively I want to direct the keyboard and mouse clicks intercepted by widget x to the main widget y so that they can be handled by the appropriate controls. For example, in widget y I have a button which registered shortcut F3. so when my focus is on widget x, and I press F3, I'm hoping that this button can handle it as if widget y is in focus. And because there are so many buttons within widget y with shortcuts, I was thinking the easiest way to do this is to sort of re-trigger the keypress event in widget y. Hope this makes sense. Anyway thanks, will come back to this thread if I encounter problems in my resolution.
![]()
Bookmarks