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

QComboBox: string in the model does not match the displayed text for current item.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • Some future release
    • 4.4.3
    • Other
    • None

    Description

      When subclassing QAbstractListModel to return a QString that is formatted with \t, then installing this model on a QComboBox the QString will appear formatted correctly in the QComboBox's drop down list but in the QComboBox's QLineEdit the tabs will be replaced with single spaces.
      It seems like the string that is in the model should match the text that is displayed as the current item.

      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)
            sanonymous Nokia Qt Support (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