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

QLineEdit mask to fill required characters first.

    XMLWordPrintable

Details

    Description

      If a QLineEdit has an input mask containing both optional and compulsory characters (which have mask A, N, X, 9, D, H, B) it would be nice if the compulsory characters are entered in first when the widget is filled via setText(const QString&) .

      The current behavior does not do this.

      Consider the case of creating a simple IP address filter, such as "009.009.009.009;0"
      If it is populated with "1.2.3.4" via setText().
      The result is "100.200.300.400"
      which is not optimal.

      Attachments

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

        Activity

          People

            monsen Marius Bugge Monsen
            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