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

QStandardItemModel should be usable with QML

    XMLWordPrintable

    Details

    • Commits:
      cf52c268b036d808901313acc554587465bdd746

      Description

      Currently, QStandardItemModel is not useful as a model for QML views, because "setRoleNames" is protected.

      I made a wiki article on how to work around this limitation, but such a limitation should not be there in the first place:

      http://wiki.forum.nokia.com/index.php/Using_QStandardItemModel_in_QML

        Attachments

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

          Activity

            People

            Assignee:
            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            Reporter:
            vivainio Ville Vainio
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes