diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-03 20:51:17 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-03 20:51:17 +0000 |
commit | 084ff072dc33b608d5a23c905658193cec58ada2 (patch) | |
tree | 4635bd9a0a42e3bdb8051c99e193fae0153815aa /utils | |
parent | 5a2d7549f00da88497b386decdeb501473f9677a (diff) | |
download | rockbox-084ff072dc33b608d5a23c905658193cec58ada2.tar.gz rockbox-084ff072dc33b608d5a23c905658193cec58ada2.zip |
Theme Editor: Added a window icon and made menus alt-navigable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26525 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils')
-rw-r--r-- | utils/themeeditor/editorwindow.ui | 40 | ||||
-rw-r--r-- | utils/themeeditor/resources.qrc | 5 | ||||
-rw-r--r-- | utils/themeeditor/resources/appicon.xcf | bin | 0 -> 3994 bytes | |||
-rw-r--r-- | utils/themeeditor/resources/windowicon.png | bin | 0 -> 615 bytes | |||
-rw-r--r-- | utils/themeeditor/themeeditor.pro | 5 |
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 @@ </rect> </property> <property name="windowTitle"> - <string>MainWindow</string> + <string>Rockbox Theme Editor</string> + </property> + <property name="windowIcon"> + <iconset resource="resources.qrc"> + <normaloff>:/resources/resources/windowicon.png</normaloff>:/resources/resources/windowicon.png</iconset> </property> <widget class="QWidget" name="centralwidget"> - <layout class="QHBoxLayout" name="horizontalLayout"> + <layout class="QVBoxLayout" name="verticalLayout"> <item> - <layout class="QVBoxLayout" name="verticalLayout"> - <item> - <widget class="QPlainTextEdit" name="codeEdit"> - <property name="lineWrapMode"> - <enum>QPlainTextEdit::NoWrap</enum> - </property> - </widget> - </item> - </layout> + <widget class="QPlainTextEdit" name="codeEdit"> + <property name="lineWrapMode"> + <enum>QPlainTextEdit::NoWrap</enum> + </property> + </widget> </item> </layout> </widget> @@ -39,7 +39,7 @@ </property> <widget class="QMenu" name="menuFile"> <property name="title"> - <string>File</string> + <string>&File</string> </property> <addaction name="actionPreferences"/> <addaction name="separator"/> @@ -47,7 +47,7 @@ </widget> <widget class="QMenu" name="menuView"> <property name="title"> - <string>View</string> + <string>&View</string> </property> <addaction name="actionPreview_Panel"/> <addaction name="actionDisplay_Panel"/> @@ -143,7 +143,7 @@ </widget> <action name="actionQuit"> <property name="text"> - <string>Quit</string> + <string>&Quit</string> </property> <property name="shortcut"> <string>Ctrl+Q</string> @@ -157,7 +157,7 @@ <bool>true</bool> </property> <property name="text"> - <string>Parse Tree Panel</string> + <string>Parse &Tree Panel</string> </property> <property name="shortcut"> <string>Ctrl+D</string> @@ -165,7 +165,7 @@ </action> <action name="actionPreferences"> <property name="text"> - <string>Preferences</string> + <string>&Preferences</string> </property> </action> <action name="actionFile_Panel"> @@ -176,7 +176,7 @@ <bool>true</bool> </property> <property name="text"> - <string>File Panel</string> + <string>&File Panel</string> </property> </action> <action name="actionPreview_Panel"> @@ -187,11 +187,13 @@ <bool>true</bool> </property> <property name="text"> - <string>Preview Panel</string> + <string>&Preview Panel</string> </property> </action> </widget> - <resources/> + <resources> + <include location="resources.qrc"/> + </resources> <connections> <connection> <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 @@ +<RCC> + <qresource prefix="/resources"> + <file>resources/windowicon.png</file> + </qresource> +</RCC> diff --git a/utils/themeeditor/resources/appicon.xcf b/utils/themeeditor/resources/appicon.xcf Binary files differnew file mode 100644 index 0000000000..3d9ed4843d --- /dev/null +++ b/utils/themeeditor/resources/appicon.xcf diff --git a/utils/themeeditor/resources/windowicon.png b/utils/themeeditor/resources/windowicon.png Binary files differnew file mode 100644 index 0000000000..681dfebe78 --- /dev/null +++ b/utils/themeeditor/resources/windowicon.png 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 \ parsetreenode.cpp \ editorwindow.cpp \ skinhighlighter.cpp -OTHER_FILES += README +OTHER_FILES += README \ + resources/windowicon.png \ + resources/appicon.xcf FORMS += editorwindow.ui +RESOURCES += resources.qrc |