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

No count property on SortFilterProxyModel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.10
    • None

      This exists in Grecko's API:

      https://okcerg.github.io/SortFilterProxyModel/qml-sortfilterproxymodel-sortfilterproxymodel.html#count-prop

      It's implemented like this:

      https://github.com/oKcerG/SortFilterProxyModel/blob/master/qqmlsortfilterproxymodel.cpp#L31-L34

      Without it, there's no way to declaratively set the enabled property of e.g. a button based on a certain amount of items in the model being present.

        For Gerrit Dashboard: QTBUG-139995
        # Subject Branch Project Status CR V

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change