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

QKeySequence and detecting invalid input

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • Not Evaluated
    • Some future release
    • 4.2.0
    • Other
    • None

    Description

      There should be some way of detecting invalid input given to QKeySequence(const QString &str)

      With this app the output is: QKeySequence("K")
      This makes it hard to allow users to type in their own shortcuts.

      #include <QKeySequence>
      #include <QDebug>
      int main()
      {
      QKeySequence seq("XYZ+K");
      qDebug() << seq;
      return 0;
      }

      Attachments

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

        Activity

          People

            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            rve Anders Bakken
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes