Quote Originally Posted by jpn View Post
what I'm looking for is a decent enough temporary workaround. One not-so-good workaround would be to create a corresponding shortcut for each and every modal dialog. I really wanted to avoid sprinkling the help related code all over the project.
How about deriving your dialogs from a custom Dialog class that will be aware of that shortcut? This way the help-handling code would be only in one place.

Other thing you can try are aspects. You could inject that shortcut object into every class you derive from QDialog and still keep the code outside your main sources.