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

Allow for adding user data to items in QComboBox in .ui files

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Through the designer, you can add items to a QComboBox and set their text and icon. However, there is no way to specify the user data for the items (user data being the data you get from QComboBox::itemData). There should be a way to specify this in the .ui file, and there should be a way to specify it in the designer.

        Attachments

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

          Activity

            People

            Assignee:
            jkobus Jarek Kobus
            Reporter:
            lrflew lrflew
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes