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

Can't use wrapper with combobox to view|save with non integer key value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 4.6.2
    • Fix Version/s: None
    • Labels:
      None

      Description

      mapper->addMapping(typeComboBox, 2, "currentIndex") works if I want save index of the value. But what if my key value is not integer?
      I works with database table where primary key is GUID and want to map values by it.
      And I don't need to save current text of combobox, I need to save key value mapper->addMapping(typeComboBox, 2, "currentText") doesn't work too

        Attachments

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

          Activity

            People

            Assignee:
            monsen Marius Bugge Monsen
            Reporter:
            cdsmika Tseluyko Dmitriy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes