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

Qt::InputMethodHints flags miss support for Hexadecimal digits

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • None

    Description

      While there are Qt::ImhDigitsOnly and Qt::ImhFormattedNumbersOnly these seem only limited to decimal-based numbers.
      In scientific and technical applications/devices it is not too uncommon to have to enter numbers also in a hexadecimal form. With the existing flags it seems not possible to e.g. tell a virtual keyboard that the current input field needs only 0-9A-E + Enter keys and not one with the complete char layout.
      (same is also true for octal and binary, but these can still be used with a decimal digits keyboard, without too much visual clutter)
      Would be great if that could be added/enabled somehow.
      The Qt::InputMethodHints flags seem not scalable, there is more in the world then Telephone numbers, email addresses and web urls

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            kossebau Friedrich W. H. Kossebau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes