JsonModel

class JsonModel

Public Functions

JsonModel(QObject *parent)
bool load(QIODevice *device)
bool loadJson(const QByteArray &json)
QVariant data(const QModelIndex &index, int role) const
QVariant headerData(int section, Qt::Orientation orientation, int role) const
QModelIndex index(int row, int column, const QModelIndex &parent) const
QModelIndex parent(const QModelIndex &index) const
int rowCount(const QModelIndex &parent) const
int columnCount(const QModelIndex &parent) const
~JsonModel()