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

Provide More Functionality to QQmlListProperty

XMLWordPrintable

      Please expand functionality of QQmlListProperty with methods such as insert, remove, take, etc. Also, for that matter, please provide consistent accessor functions for all model types.

      For example, after a list<QtObject>, a QList<QObject*> exposed from C++, a ListModel, etc. has been assigned to a QQmlListProperty, accessing the model data via the QQmlListProperty should be consistent (count, length, or size should all be available, so that internal implementation of classes using a QQmlListProperty do not require one type of list or another to work). Indexing techniques should all also be available (.get, .at, [i]) for the same reason.

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

            aalpert Alan Alpert
            dchamberlain David Chamberlain
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes