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

Qt::InputMethodHints flags miss support for Hexadecimal digits

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:

                There are no open Gerrit changes