Is there a way to add sections to QListView?

不想你离开。 提交于 2019-12-10 13:37:43

问题


I'm using Qt5.2 anc C++ to implement an application and need to display a list with sections similar to the example image below:


(source: ngo-hung.com)

Please note I'm not implementing a mobile app and I don't need the alphabet index on the right. Any suggestions how I can achieve this other than implementing a QTreeView? Thanks.

来源:https://stackoverflow.com/questions/25560547/is-there-a-way-to-add-sections-to-qlistview

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!