Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Removing all Items from QListView
subrat17june last edited by
How can i delete all rows/items from a QListview.
I am using QStandardItem to insert rows into a QListview.
At a point i want to remove all the elements that are present in the QListview.
can i get some code help on how to use QModelIndex or some other means to remove all elements from the QListView?