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

Create a simple example that shows how to subclass QAbstractItemModel

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • None

      Suppose you are a user that wants to subclass QAbstractItemModel, and you want to do the most basic thing: add the underlying data that the model uses. You go to https://doc.qt.io/qt-6/qabstractitemmodel.html. In order, you see:

      We need a simple example that explains how to subclass QAbstractItemModel and add item to display it as a list, preferably in Qt Widgets and Quick (so, separate examples).

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

            docteam Qt Documentation Team
            mitch_curtis Mitch Curtis
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes