Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2925

Suggestion: Qt should support the following X11 keys: XF86X K_Copy, XF86XK_Cut, XF86XK_Paste

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • 4.6.0
    • 4.4.3
    • Core: Event loop
    • None

    Description

      Some enhanced keyboards include keys such as cut copy and paste, for example SUN keyboards.

      It would be helpful to have support for these keys in Qt, i.e. these keys should be added to qnamespace.h, qkeymapper_x11.cpp and qkeysequence.cpp.

      qnamespace.h:
      Key_Copy = 0x010000bd,
      Key_Cut = 0x010000be,
      Key_Paste = 0x010000bf,

      qkeymapper_x11.cpp:
      #define XF86XK_Copy 0x1008FF57
      #define XF86XK_Cut 0x1008FF58
      #define XF86XK_Paste 0x1008FF6D
      ...
      XF86XK_Copy, Qt::Key_Copy,
      XF86XK_Cut, Qt::Key_Cut,
      XF86XK_Paste, Qt::Key_Paste,

      qkeysequence.cpp:

      {QKeySequence::Copy, 0, Qt::Key_Copy, QApplicationPrivate::KB_X11}

      ,

      {QKeySequence::Paste, 0, Qt::Key_Paste, QApplicationPrivate::KB_X11}

      ,
      {QKeySequence::Cut, 0, Qt::Key_Cut, QApplicationPrivate::KB_X11}};

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              sorvig Morten Sørvig
              dettman Dean Dettman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes