Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Providing same shortcuts for the actions
Qt 6.11 is out! See what's new in the release blog

Providing same shortcuts for the actions

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 2.7k 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.
  • S Offline
    S Offline
    suma
    wrote on last edited by
    #1

    Hi,
    In my application im creating 4 mainwindow class objects,which is having some actions with shortcuts.Depending on the user input 1,2 or 4 mainwindow will get showed.But when im trying to access my shortcuts its giving an error like "Ambiguous shortcut overload.....".
    I have tried with shortcutcontext but no result. Any solution to this problem??

    suma

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Are you using the same shortcut sequence twice in a MainWindow/across MainWindows?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        suma
        wrote on last edited by
        #3

        Directly im not using but qmainwindow class im creating 4 objects na so each object will be using the same actions and shortcuts when the particular object is get called.

        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