Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt::Key values for Mac OS X
QtWS25 Last Chance

Qt::Key values for Mac OS X

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 2.3k 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.
  • E Offline
    E Offline
    EricRFMA
    wrote on last edited by
    #1

    Hello...

    I noticed the following in the documentation of Qt::Key:

    Qt::Key_Control __0x01000021 On Mac OS X, this corresponds to the Command keys.
    Qt::Key_Meta __0x01000022 On Mac OS X, this corresponds to the Control keys.

    So, from this I think I can assume that in the .kms files, Ctrl means "Command" on the Mac, and "Meta" means "Control?" So what does Qt::Key_Alt mean on the Mac? Does it mean the "Option" key? That's the only one left...!

    Thanks!

    -Eric

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Should be yes, nowadays the keyboard has it also labeled as alt

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • E Offline
        E Offline
        EricRFMA
        wrote on last edited by
        #3

        Ah! So it does! The mappings for Mac were kind of confusing... but they sort of make sense if I think about it right ;)

        Thanks!

        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