Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QWinHost and QShortcut
Qt 6.11 is out! See what's new in the release blog

QWinHost and QShortcut

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 615 Views 1 Watching
  • 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.
  • M Offline
    M Offline
    mrhadley83
    wrote on last edited by
    #1

    Currently I have an issue with getting a qshortcut to trigger correctly. I have tried adding it to both the toolbar and buttons on it. The shortcut works as long as I am inside the area that isnt a QWinHost object.

    The winhost has the default implementation that is suggested when setting up a controller for it.

    I was just wondering if its possible to get the QShortcuts to work even if the QWinhost widget has focus ?

    I have tried surfing the forums for a few hours but cant seem to find any useful intel on this please help :)

    The setup I have inside my window is mainwindow, splitter, one side is text the other one is qwinhost with a widget inside. The shortcut works everywhere except inside here.

    Best regards
    Mrhadley

    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