1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: Added a preferences dialog and allowed modification of the syntax highlighting and editor colors

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26640 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-06-07 03:25:40 +00:00
parent fbfdaf5c79
commit 53b619c6e8
10 changed files with 563 additions and 23 deletions

View file

@ -28,6 +28,7 @@
#include "skinhighlighter.h"
#include "parsetreemodel.h"
#include "preferencesdialog.h"
class SkinDocument : public QWidget
{
@ -47,6 +48,8 @@ public:
SkinDocument(QString file, QWidget* parent = 0);
virtual ~SkinDocument();
void connectPrefs(PreferencesDialog* prefs);
ParseTreeModel* getModel(){ return model; }
QString getTitle(){ return title; }
void genCode(){ editor->document()->setPlainText(model->genCode()); }
@ -59,6 +62,9 @@ public:
signals:
void titleChanged(QString);
public slots:
void colorsChanged();
private slots:
void codeChanged();