Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Single chacter shortcut in menu (action) item does nothing.
QtWS25 Last Chance

Single chacter shortcut in menu (action) item does nothing.

Scheduled Pinned Locked Moved Language Bindings
1 Posts 1 Posters 1.1k 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.
  • R Offline
    R Offline
    Raschko
    wrote on last edited by
    #1

    Involves Pyside+Python 3.2

    A simple problem, which is giving me a headache.

    given a QAction, then running setShortcut( QtCore.Qt.Key_S ), I am able to have said menu item.
    However, pressing 'S' to activate said menu items function, does nothing.

    I've tried QShortcut as well, but to no avail.

    Should I assume all shortcuts require an accelerator such as CTRL or ALT?

    Thank you

    Shop smart, shop "S"mart!

    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