Commit 9a38a1f9 authored by Лидия Ладыгина's avatar Лидия Ладыгина
Browse files

Add new file

parents
No related merge requests found
Pipeline #1439 canceled with stages
Showing with 30 additions and 0 deletions
+30 -0
main.cpp 0 → 100644
#include "xmlreader.h"
#include <QtXml>
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
/*QStandardItemModel model;
QStandardItem *parentItem = model.invisibleRootItem();
for (int i = 0; i < 4; ++i) {
QStandardItem *item = new QStandardItem(QString("item %0").arg(i));
QStandardItem *item1 = new QStandardItem(QString("item %0").arg(i));
item->appendRow(item1);
parentItem->appendRow(item);
parentItem = item;
}
QTreeView *treeView = new QTreeView();
treeView->setModel(&model);
treeView->show();*/
XmlReader w;
w.show();
return a.exec();
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment