Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Language Bindings
    1
    1
    1013
    Loading More Posts
    • 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
      Raschko last edited by

      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 Reply Quote 0
      • First post
        Last post