diff options
| author | Robert Bieber <robby@bieberphoto.com> | 2010-06-01 21:25:02 +0000 |
|---|---|---|
| committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-01 21:25:02 +0000 |
| commit | a9848ce3fed7862d52b299b604535781e440eb4a (patch) | |
| tree | 775608b8fb1de72985a96ccdd288a971ceeea34a /utils/themeeditor/editorwindow.h | |
| parent | f52c9aae3a04ae4c767c2da1d788421686805fea (diff) | |
| download | rockbox-a9848ce3fed7862d52b299b604535781e440eb4a.zip rockbox-a9848ce3fed7862d52b299b604535781e440eb4a.tar.gz rockbox-a9848ce3fed7862d52b299b604535781e440eb4a.tar.bz2 rockbox-a9848ce3fed7862d52b299b604535781e440eb4a.tar.xz | |
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/editorwindow.h')
| -rw-r--r-- | utils/themeeditor/editorwindow.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/utils/themeeditor/editorwindow.h b/utils/themeeditor/editorwindow.h new file mode 100644 index 0000000..03cdf66 --- /dev/null +++ b/utils/themeeditor/editorwindow.h @@ -0,0 +1,49 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2010 Robert Bieber + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#ifndef EDITORWINDOW_H +#define EDITORWINDOW_H + +#include <QMainWindow> + +#include "parsetreemodel.h" + +namespace Ui { + class EditorWindow; +} + +class EditorWindow : public QMainWindow { + Q_OBJECT +public: + EditorWindow(QWidget *parent = 0); + ~EditorWindow(); + +private slots: + void updateCode(); + void updateTree(); + +private: + Ui::EditorWindow *ui; + ParseTreeModel* tree; + +}; + +#endif // EDITORWINDOW_H |