Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to disable UI shortcuts when QWebEngineView widget is active
understatementOfTheYear last edited by
I have a pyqt5 ui that uses a shortcut that refreshes the data. Whenever I'm in a text field this of course is disabled allowing me to type the character 'r' without doing the refresh.
However, I have a qwebengineview widget running a chat board that still catches this shortcut when I try to type in the text entry field.
Is there a way to disable shortcuts when a qwebengineview widget is the active widget?