Qml table view
-
Hi!
What is the best way to do something like on this viedo:
https://www.youtube.com/watch?v=JLLIYysXsj8&list=PLizsthdRd0YyV6zOEFYog77IAPV85f7w2&index=24
starts at 13:15 ends 16:15
In my procject I have a class "Model" inside which I have list of users which are instances of another class "user" with properties like login, email etc. I want to display this users in table view but I don't know how. -
QML's TableView is documented at http://doc.qt.io/qt-5/qml-qtquick-controls-tableview.html ; or is the question more about using it with a C++ component as Model? (In which case see http://doc.qt.io/qt-5/qtquick-modelviewsdata-cppmodels.html )