查看完整版本: [-- qml中listview如何实现过滤功能 --]

QTCN开发网 -> Qt QML开发 -> qml中listview如何实现过滤功能 [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

songhuirong1 2019-05-14 15:45

qml中listview如何实现过滤功能


我初学qml,现在要实现ListView根据关键字进行过滤的功能,不知道该如何实现。请各位指教。

songhuirong1 2019-05-15 12:01
又没人回答

songhuirong1 2019-05-16 12:07
望高手解答。多谢了

nikonice 2019-10-28 09:03
我都是通过用c++来进行数据处理,qml进行显示
我最常用的就是返回一个json给listview

zhengtianzuo 2019-10-28 09:31
可以通过c++端的过滤来做 也可以通过qml的方式 https://github.com/oKcerG/SortFilterProxyModel/


查看完整版本: [-- qml中listview如何实现过滤功能 --] [-- top --]



Powered by phpwind v8.7 Code ©2003-2011 phpwind
Gzip disabled