Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-602 Add option to choose whether sorting for a QListWidget is case sensitive or not.
  3. QTBUG-12892

void QStringList::sort () should accept a case-sensitivity boolean option

    XMLWordPrintable

Details

    Description

      When sorting items of a QStringList there is no option to choose if the sorting should be Case-sensitive or not. This is causing problems with all controls that use QStringList inherently.

      In a scenario, we have two editable-comboboxes that need to be in sync. When any text is entered in the first one, the second combo-box should also get it added. In this case, since the first box is editable, upon pressing ENTER, the string will be added automatically, but we have to add it manually for the second one.

      In such cases, having no control over the sorting order for the manual sorting (of the second box) is giving inconsistent results with the first one (since the first combo-box can be adjusted for case-sensitivity, while the QStringList does not have option for case sensitive sorting)

      Attachments

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

        Activity

          People

            laknoll Lars Knoll
            krishnapg Gopalakrishna Palem
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes