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

Precisions on QDataWidgetMapper

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None

      Description

      I spend few hour making the QDataWidgetMapper worked. The issue was coming from the fact my read-only model only displayed data in DisplayRole.

      The QDataWidgetMapper documentation says nowhere that it uses EditRole to display data. Maybe it would be a good idea to add just a sentence about it in the doc.

        Attachments

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

          Activity

            People

            Assignee:
            docteam Qt Documentation Team
            Reporter:
            vinorcola Kévin PERAIS
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes