Create an QAction with the shortcut "F1" .
Create a slot to catch the F1 triggered like -
Qt Code:
QAction helpAction; helpAction.setShortCut("F1"); connect(helpAction,triggered(),this,OnHelp()); OnHelp() { // call the WinHelp API u want }To copy to clipboard, switch view to plain text mode
Hope this was what u were looking for ?
Bookmarks