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

Make QDataWidgetMapper respond to QAbstractItemModel::modelReset

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Widgets: Itemviews
    • Labels:
      None
    • Environment:

      Qt 5.4.1
      Windows 7 with MSVS 2013

    • Technical Risk:
      Low

      Description

      Widgets are not repopulated when a `QDataWidgetMapper's` model resets (when `QAbstractItemModel::modelReset` is emitted).

      From viewing `QDataWidgetMapper::setModel`, it appears that only `QAbstractItemModel::dataChanged` and `QObject::destroyed` are connected.

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jtooker@efji.com John Tooker
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes