Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Removing all Items from QListView

$
0
0
Hi all, 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? Thank You.

Viewing all articles
Browse latest Browse all 18427

Trending Articles