Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
3 views and 1 model
asalotaibi last edited by
I tried to create a 3 view (Table,Tree and list) using one model (QStanderdItemModel).
on table and list views it's work well, but on tree view didn't work.
I heard about proxy model but unfortunately I can't make it.
Could you please give me a normal example.
qxoz last edited by
Wellcome to devnet.
"on tree view didn’t work" - how is it?
here is the example for "proxy model":http://qt-project.org/doc/qt-5.0/qtwidgets/itemviews-customsortfiltermodel.html
andre last edited by
It should work just fine. Proxy models can be very useful, but let's not get ahead of ourselves and first see what you are really trying to do.
What did not work exactly?