When should I use a QListWidget over a QListView?

From what I understand, QListWidget is built on QListView and implements a "traditional" list widget without a model / view concept.

Is there any situation where a QListWidget should be preferable to a QListView, or QListView is always the best answer after understanding the concept of a model / view?

+4
source share
2 answers

QListWidgeteasier to use, even if you understand how models work. This can be conveniently used in dialogs where strict separation of MVC does not cause much concern.

+2
source

QListView , . , , canFetchMore fetchMore , , .

QListWidget a QListView. , / .

, , , QListWidget. , QListView .

0

All Articles