oh thanks a lot indeed. I just did what you said :
[CODE]
QJsonObject JsonObject = m_configHw.Object();
QStringList list;
foreach(const QJsonValue & value, jsonObject){
QJsonObject obj = value.toObject();
list.append(obj.keys());
}
QAbstractItemModel *model = new QStringListModel(list);
QListView *view = new QListView;
view->setModel(model);
dock->setWidget(view);
[\CODE]
yeah I heard about the readall(). I'm going to change it
Cheers
Bookmarks