问题
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