summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/themeeditor/editorwindow.ui40
-rw-r--r--utils/themeeditor/resources.qrc5
-rw-r--r--utils/themeeditor/resources/appicon.xcfbin0 -> 3994 bytes
-rw-r--r--utils/themeeditor/resources/windowicon.pngbin0 -> 615 bytes
-rw-r--r--utils/themeeditor/themeeditor.pro5
5 files changed, 30 insertions, 20 deletions
diff --git a/utils/themeeditor/editorwindow.ui b/utils/themeeditor/editorwindow.ui
index 24bd1b4325..f5064a0b47 100644
--- a/utils/themeeditor/editorwindow.ui
+++ b/utils/themeeditor/editorwindow.ui
@@ -11,20 +11,20 @@
11 </rect> 11 </rect>
12 </property> 12 </property>
13 <property name="windowTitle"> 13 <property name="windowTitle">
14 <string>MainWindow</string> 14 <string>Rockbox Theme Editor</string>
15 </property>
16 <property name="windowIcon">
17 <iconset resource="resources.qrc">
18 <normaloff>:/resources/resources/windowicon.png</normaloff>:/resources/resources/windowicon.png</iconset>
15 </property> 19 </property>
16 <widget class="QWidget" name="centralwidget"> 20 <widget class="QWidget" name="centralwidget">
17 <layout class="QHBoxLayout" name="horizontalLayout"> 21 <layout class="QVBoxLayout" name="verticalLayout">
18 <item> 22 <item>
19 <layout class="QVBoxLayout" name="verticalLayout"> 23 <widget class="QPlainTextEdit" name="codeEdit">
20 <item> 24 <property name="lineWrapMode">
21 <widget class="QPlainTextEdit" name="codeEdit"> 25 <enum>QPlainTextEdit::NoWrap</enum>
22 <property name="lineWrapMode"> 26 </property>
23 <enum>QPlainTextEdit::NoWrap</enum> 27 </widget>
24 </property>
25 </widget>
26 </item>
27 </layout>
28 </item> 28 </item>
29 </layout> 29 </layout>
30 </widget> 30 </widget>
@@ -39,7 +39,7 @@
39 </property> 39 </property>
40 <widget class="QMenu" name="menuFile"> 40 <widget class="QMenu" name="menuFile">
41 <property name="title"> 41 <property name="title">
42 <string>File</string> 42 <string>&amp;File</string>
43 </property> 43 </property>
44 <addaction name="actionPreferences"/> 44 <addaction name="actionPreferences"/>
45 <addaction name="separator"/> 45 <addaction name="separator"/>
@@ -47,7 +47,7 @@
47 </widget> 47 </widget>
48 <widget class="QMenu" name="menuView"> 48 <widget class="QMenu" name="menuView">
49 <property name="title"> 49 <property name="title">
50 <string>View</string> 50 <string>&amp;View</string>
51 </property> 51 </property>
52 <addaction name="actionPreview_Panel"/> 52 <addaction name="actionPreview_Panel"/>
53 <addaction name="actionDisplay_Panel"/> 53 <addaction name="actionDisplay_Panel"/>
@@ -143,7 +143,7 @@
143 </widget> 143 </widget>
144 <action name="actionQuit"> 144 <action name="actionQuit">
145 <property name="text"> 145 <property name="text">
146 <string>Quit</string> 146 <string>&amp;Quit</string>
147 </property> 147 </property>
148 <property name="shortcut"> 148 <property name="shortcut">
149 <string>Ctrl+Q</string> 149 <string>Ctrl+Q</string>
@@ -157,7 +157,7 @@
157 <bool>true</bool> 157 <bool>true</bool>
158 </property> 158 </property>
159 <property name="text"> 159 <property name="text">
160 <string>Parse Tree Panel</string> 160 <string>Parse &amp;Tree Panel</string>
161 </property> 161 </property>
162 <property name="shortcut"> 162 <property name="shortcut">
163 <string>Ctrl+D</string> 163 <string>Ctrl+D</string>
@@ -165,7 +165,7 @@
165 </action> 165 </action>
166 <action name="actionPreferences"> 166 <action name="actionPreferences">
167 <property name="text"> 167 <property name="text">
168 <string>Preferences</string> 168 <string>&amp;Preferences</string>
169 </property> 169 </property>
170 </action> 170 </action>
171 <action name="actionFile_Panel"> 171 <action name="actionFile_Panel">
@@ -176,7 +176,7 @@
176 <bool>true</bool> 176 <bool>true</bool>
177 </property> 177 </property>
178 <property name="text"> 178 <property name="text">
179 <string>File Panel</string> 179 <string>&amp;File Panel</string>
180 </property> 180 </property>
181 </action> 181 </action>
182 <action name="actionPreview_Panel"> 182 <action name="actionPreview_Panel">
@@ -187,11 +187,13 @@
187 <bool>true</bool> 187 <bool>true</bool>
188 </property> 188 </property>
189 <property name="text"> 189 <property name="text">
190 <string>Preview Panel</string> 190 <string>&amp;Preview Panel</string>
191 </property> 191 </property>
192 </action> 192 </action>
193 </widget> 193 </widget>
194 <resources/> 194 <resources>
195 <include location="resources.qrc"/>
196 </resources>
195 <connections> 197 <connections>
196 <connection> 198 <connection>
197 <sender>actionQuit</sender> 199 <sender>actionQuit</sender>
diff --git a/utils/themeeditor/resources.qrc b/utils/themeeditor/resources.qrc
new file mode 100644
index 0000000000..fbe5cfbb01
--- /dev/null
+++ b/utils/themeeditor/resources.qrc
@@ -0,0 +1,5 @@
1<RCC>
2 <qresource prefix="/resources">
3 <file>resources/windowicon.png</file>
4 </qresource>
5</RCC>
diff --git a/utils/themeeditor/resources/appicon.xcf b/utils/themeeditor/resources/appicon.xcf
new file mode 100644
index 0000000000..3d9ed4843d
--- /dev/null
+++ b/utils/themeeditor/resources/appicon.xcf
Binary files differ
diff --git a/utils/themeeditor/resources/windowicon.png b/utils/themeeditor/resources/windowicon.png
new file mode 100644
index 0000000000..681dfebe78
--- /dev/null
+++ b/utils/themeeditor/resources/windowicon.png
Binary files differ
diff --git a/utils/themeeditor/themeeditor.pro b/utils/themeeditor/themeeditor.pro
index ede17109b5..15615004b1 100644
--- a/utils/themeeditor/themeeditor.pro
+++ b/utils/themeeditor/themeeditor.pro
@@ -22,5 +22,8 @@ SOURCES += tag_table.c \
22 parsetreenode.cpp \ 22 parsetreenode.cpp \
23 editorwindow.cpp \ 23 editorwindow.cpp \
24 skinhighlighter.cpp 24 skinhighlighter.cpp
25OTHER_FILES += README 25OTHER_FILES += README \
26 resources/windowicon.png \
27 resources/appicon.xcf
26FORMS += editorwindow.ui 28FORMS += editorwindow.ui
29RESOURCES += resources.qrc