Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. Some of my shortcuts don't work on Web Assembly
Forum Updated to NodeBB v4.3 + New Features

Some of my shortcuts don't work on Web Assembly

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
2 Posts 1 Posters 353 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.
  • GilboonetG Offline
    GilboonetG Offline
    Gilboonet
    wrote on last edited by
    #1

    Hello, my Qt C++ application uses a set of keyboard shortcuts and some of them don't work on the Web Assembly version because they are already used by the browser. Are there good practices for that ?
    Screenshot_20230619_184317.png
    What doesn't work are Pg Up/Down combined with Ctrl OR Ctrl +Shift that I use to rotate current piece ( + Alt that works to rotate 15°, +Ctrl to rotate 5° and + Ctrl and Shift to rotate 1° ). I would like to be able to have those shortcuts using same pattern so that is is easy to remember, do you know possibilities that would work both on Desktop and on Web Assembly ? Or do I need to make a customized version of my app for Web Assembly shortcuts ?

    I would like to use a better graphical interface but I didn't manage to make a slider widget directly over the current piece work, it didn't stay at the same place after the first rotation, so it's absolutely not handy and that's why I'm only using keyboard shortcuts. Maybe a rotation mouse gesture could be great, but it seemed too complex for me for a first app.

    1 Reply Last reply
    0
    • GilboonetG Offline
      GilboonetG Offline
      Gilboonet
      wrote on last edited by
      #2

      I changed the rotation keyboard shortcut to
      / to rotate left and * to rotate right

      • Alt for 15° rotation
      • Ctrl for 5° rotation
      • Ctrl and Shift for 1° rotation

      It works fine like that both on Desktop version and Web Assembly version. I read about gesture but didn't understand how it works so for the moment I will only use keyboard shortcuts.

      1 Reply Last reply
      0
      • GilboonetG Gilboonet has marked this topic as solved on

      • Login

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