summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/main.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-01 21:25:02 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-01 21:25:02 +0000
commita9848ce3fed7862d52b299b604535781e440eb4a (patch)
tree775608b8fb1de72985a96ccdd288a971ceeea34a /utils/themeeditor/main.cpp
parentf52c9aae3a04ae4c767c2da1d788421686805fea (diff)
downloadrockbox-a9848ce3fed7862d52b299b604535781e440eb4a.tar.gz
rockbox-a9848ce3fed7862d52b299b604535781e440eb4a.tar.bz2
rockbox-a9848ce3fed7862d52b299b604535781e440eb4a.zip
Theme Editor: Put together a simple GUI to test going back and forth between a tree view and a text edit box
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26455 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/main.cpp')
-rw-r--r--utils/themeeditor/main.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/utils/themeeditor/main.cpp b/utils/themeeditor/main.cpp
index 87d38b861d..3f7379e0dd 100644
--- a/utils/themeeditor/main.cpp
+++ b/utils/themeeditor/main.cpp
@@ -21,6 +21,7 @@
#include "skin_parser.h"
#include "skin_debug.h"
+#include "editorwindow.h"
#include <cstdlib>
#include <cstdio>
@@ -35,17 +36,8 @@ int main(int argc, char* argv[])
{
QApplication app(argc, argv);
- char doc[] = "#Comment\n"
- "%Vd(U);Hey\n"
- "%?bl(test,3,5,2,1)<param2|param3>\n"
- "%V(1,2,3,4,5)%pS(5)\n"
- "Some more stuff here";
-
- ParseTreeModel tree(doc);
-
- QTreeView view;
- view.setModel(&tree);
- view.show();
+ EditorWindow mainWindow;
+ mainWindow.show();
return app.exec();