Hi all,
I just started coding Qt, and am struggling with some UI features. Please let me know if I can find some sample code or just API for this issue, thanks!
I am using a QStandardItemModel to store QStandardItem to display in QListView, I wonder if there's a simple separator type for QStandardItem, so that I can feed into QStandardItemModel then QListView directly? Essentially I want to implement a address book like list with separators in the list.
Qt Code:
for (int i =0; i<num; i++) { model->appendRow(item); } listview->setModel(model);To copy to clipboard, switch view to plain text mode
Bookmarks