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

CategoryModel doesn't provide an easy way to iterate

    XMLWordPrintable

Details

    Description

      Will be nice if we can iterate through CategoryModel's items.

      It is very useful when we need to pass some categories to a PlaceSearchModel.

       

      An even easier way will be a CategoryModel.categories(filterFunction); but an easy way to iterate in a js function is also ok.

       

      Attachments

        1. main.qml
          2 kB
          Paolo Angelelli
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            paangele Paolo Angelelli
            taipan BogDan Vatra
            Harald Kjølberg Harald Kjølberg (Inactive)
            Eskil Abrahamsen Blomfeldt Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes