Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML 1.0 GridView + QSortFilterProxyModel
Forum Updated to NodeBB v4.3 + New Features

QML 1.0 GridView + QSortFilterProxyModel

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • napajejenunedk0N Offline
    napajejenunedk0N Offline
    napajejenunedk0
    wrote on last edited by
    #1

    I have a QAbstractListModel-based data model + QSortFilterProxy model that filters out some of the rows by a given critearia.
    What is strange is that when I want to filter some of the items the grid view doesn't remove the items but does an unexpected sorting by showing the best matches at the beginning. The same filtering is applied to another model that is displayed in a QWidget-based view and the filtered out rows are removed not sorted as in QML's GridView.

    Any suggestions?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved