[Qt-interest] Opening web page from a dialog when the user hits F1
Marian Ciobanu
ciobi at inbox.com
Fri Jul 17 15:37:52 CEST 2009
Hi,
I need to open a web page when the user presses F1 in a dialog. It's the same page regardless of which widget has the focus.
All I could think of was to use eventFilter() and call QDesktopServices::openUrl() from it. I also need to call installEventFilter() for all edit widgets, because while buttons let F1 key presses propagate to the dialog, edit widgets don't do such a thing.
Is there a better way to achieve what I want?
Thanks
____________________________________________________________
Receive Notifications of Incoming Messages
Easily monitor multiple email accounts & access them with a click.
Visit http://www.inbox.com/notifier and check it out!
More information about the Qt-interest-old
mailing list