Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Pass function keys to webview?
elkhunter last edited by
Is there any way to get function keys to work in a webview? For example if I load the following page in firefox, then press F8 it shows the keycode for F8 (119) but when I load it in a qt-based browser the function keys do not work.
Jean last edited by
Normally function key is controlled by browser (chrome, opera, firefox,..) and It works depending on not webpage but browser. If webpage have control function keys, all browser have compute same action.
So you can implement your own browser using webview. To assign special function key, you can find key value in http://doc.qt.io/qt-5/Qt.html (enum Qt::Key).