Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. How to disable UI shortcuts when QWebEngineView widget is active

How to disable UI shortcuts when QWebEngineView widget is active

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 650 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • understatementOfTheYearU Offline
    understatementOfTheYearU Offline
    understatementOfTheYear
    wrote on last edited by
    #1

    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?

    Best,
    -Mark

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved