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. Creating Shortcut sequence with numbers -QML

Creating Shortcut sequence with numbers -QML

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 287 Views 2 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
    Sandhiya
    wrote on last edited by
    #1

    I want to have a shortcut sequence which includes numbers.
    For eg.
    Shortcut {
    sequence: "Ctrl+Alt+Tab"
    onActivated: {
    console.log("sequence pressed")
    }

    instead of "Ctrl+Alt+Tab" ,I need to have 2,1,5 as the shortcut sequence.
    When i tried to give one number as sequence, it 's working.
    Shortcut {
    sequence: "1"
    }

    Similarly when I tried for more than one numbers , it's not working
    Shortcut {
    sequence: "1+2+3"
    }
    (or)
    Shortcut {
    sequence: "1,2,3"
    }

    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