Qt Json Tree Model
Go to file
sacha schutz eab788618b
Merge pull request #8 from marcelino-m/master
Make QJsonModel Editable
2018-03-22 00:15:05 +01:00
.gitignore init repo 2015-01-22 08:24:08 +01:00
LICENSE change license to MIT 2017-01-04 01:13:57 +01:00
main.cpp change license to MIT, make code simple, add C++11 feature 2017-01-06 19:53:45 +01:00
qjsonmodel.cpp Rebuild QJsonDocument from the Model 2018-03-21 20:00:57 -03:00
qjsonmodel.h Rebuild QJsonDocument from the Model 2018-03-21 20:00:57 -03:00
QJsonModel.pro Fix QJsonModel.pro 2018-03-21 16:49:28 -03:00
README.md Update README.md 2017-05-04 11:44:08 +02:00
screen.png change license to MIT, make code simple, add C++11 feature 2017-01-06 19:53:45 +01:00

QJsonModel

QJsonModel is a json tree model class for Qt5/C++11 based on QAbstractItemModel. QJsonModel is under MIT License.

QJsonModel

Installation

Add qjsonmodel.cpp and qjsonmodel.h into your project.

Usage

QJsonModel * model = new QJsonModel;
QTreeView * view = new QTreeView;
view->setModel(model);
model->load("example.json")