Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Put QMap values in a QListView
SteMMo last edited by SteMMo
I need to show in a QListView the data contained in a QMap<QString, QString> object: this data are read from a database (C++ side).
I'd like to show in a tabular mode the list of <key> and <value> values - they are the settings of the program.
- QMap is suitable for the model of the QListView?
- how can access to the QMap elements?
- in general, how can i access to the QMap elements on the QML side?
LeLev last edited by