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

Add an example of how to implement a Proxy model

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P5: Not important
    • Some future release
    • 4.5.0
    • Documentation
    • None

    Description

      Writing a custom proxy model (QAbstractProxyModel) can be difficult without an example. It would be nice to have a complete example of a custom proxy.

      A common task of custom proxy is to add columns with value computed from other columns. Such case are common when the model is a QSqlTableModel because it don't make sense to extend the original model.

      Attachments

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

        Activity

          People

            engvolds Morten Engvoldsen (Inactive)
            poulain Benjamin Poulain (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes