summaryrefslogtreecommitdiff
path: root/utils/themeeditor/skindocument.h
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-07 03:25:40 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-07 03:25:40 +0000
commit53b619c6e80c9efc6993c23ff7b1035e8e101834 (patch)
tree7bca9e3845748332c0e6288b5704e9b004f41a22 /utils/themeeditor/skindocument.h
parentfbfdaf5c79c664a6ec47b1c3a131577e77efbbd0 (diff)
downloadrockbox-53b619c6e80c9efc6993c23ff7b1035e8e101834.zip
rockbox-53b619c6e80c9efc6993c23ff7b1035e8e101834.tar.gz
rockbox-53b619c6e80c9efc6993c23ff7b1035e8e101834.tar.bz2
rockbox-53b619c6e80c9efc6993c23ff7b1035e8e101834.tar.xz
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
Diffstat (limited to 'utils/themeeditor/skindocument.h')
-rw-r--r--utils/themeeditor/skindocument.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/themeeditor/skindocument.h b/utils/themeeditor/skindocument.h
index 84d12df..14a71e0 100644
--- a/utils/themeeditor/skindocument.h
+++ b/utils/themeeditor/skindocument.h
@@ -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();