"CREATE TABLE Object (id INTEGER PRIMARY KEY, parentName INTEGER, value1 INTEGER, value2 INTEGER)"
QyurSqlTreeModel model("treetable",QStringList()<<QObject::tr("Id")<<QObject::tr("ParentId")<<QObject::tr("Type")<<QObject::tr("Title")<<QObject::tr("Summary"),QStringList()<<"id"<<"parentId"<<"type"<<"title"<<"summary",-1,"title");ui.tableView.setModel(model.sourceModel());