Important: Please read the Qt Code of Conduct -

How to disable UI shortcuts when QWebEngineView widget is active

  • Hello,

    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?


Log in to reply