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

Make QDataWidgetMapper respond to QAbstractItemModel::modelReset

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Widgets: Itemviews
    • None
    • Qt 5.4.1
      Windows 7 with MSVS 2013

    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

            Unassigned Unassigned
            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