Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problems of QAbstractListModel
Munkhtamir last edited by
Hello. I have some text files in several directories. Depends on selecting directory names from Combobox in QML, it displays values from the text file. I think that a good way is using QAbstractListModel. For each text file in a different directory, I've also created a class that is inherited from QObject, which contains a structure that stores different values. But, as I understood, the structure cannot be pass through QML. How to do that?
I have also watched the ToDo-List example posted on YouTube from Qt.
See this example.