Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Лидия Ладыгина
qt_nodepad
Commits
9a38a1f9
Commit
9a38a1f9
authored
4 years ago
by
Лидия Ладыгина
Browse files
Options
Download
Patches
Plain Diff
Add new file
parents
master
No related merge requests found
Pipeline
#1439
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.cpp
+30
-0
main.cpp
with
30 additions
and
0 deletions
+30
-0
main.cpp
0 → 100644
+
30
−
0
View file @
9a38a1f9
#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
();
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets