From 084ff072dc33b608d5a23c905658193cec58ada2 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Thu, 3 Jun 2010 20:51:17 +0000 Subject: 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 --- utils/themeeditor/editorwindow.ui | 40 +++++++++++++++-------------- utils/themeeditor/resources.qrc | 5 ++++ utils/themeeditor/resources/appicon.xcf | Bin 0 -> 3994 bytes utils/themeeditor/resources/windowicon.png | Bin 0 -> 615 bytes utils/themeeditor/themeeditor.pro | 5 +++- 5 files changed, 30 insertions(+), 20 deletions(-) create mode 100644 utils/themeeditor/resources.qrc create mode 100644 utils/themeeditor/resources/appicon.xcf create mode 100644 utils/themeeditor/resources/windowicon.png 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 @@ - MainWindow + Rockbox Theme Editor + + + + :/resources/resources/windowicon.png:/resources/resources/windowicon.png - + - - - - - QPlainTextEdit::NoWrap - - - - + + + QPlainTextEdit::NoWrap + + @@ -39,7 +39,7 @@ - File + &File @@ -47,7 +47,7 @@ - View + &View @@ -143,7 +143,7 @@ - Quit + &Quit Ctrl+Q @@ -157,7 +157,7 @@ true - Parse Tree Panel + Parse &Tree Panel Ctrl+D @@ -165,7 +165,7 @@ - Preferences + &Preferences @@ -176,7 +176,7 @@ true - File Panel + &File Panel @@ -187,11 +187,13 @@ true - Preview Panel + &Preview Panel - + + + actionQuit 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 @@ + + + resources/windowicon.png + + diff --git a/utils/themeeditor/resources/appicon.xcf b/utils/themeeditor/resources/appicon.xcf new file mode 100644 index 0000000000..3d9ed4843d Binary files /dev/null and b/utils/themeeditor/resources/appicon.xcf differ diff --git a/utils/themeeditor/resources/windowicon.png b/utils/themeeditor/resources/windowicon.png new file mode 100644 index 0000000000..681dfebe78 Binary files /dev/null and b/utils/themeeditor/resources/windowicon.png 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 \ parsetreenode.cpp \ editorwindow.cpp \ skinhighlighter.cpp -OTHER_FILES += README +OTHER_FILES += README \ + resources/windowicon.png \ + resources/appicon.xcf FORMS += editorwindow.ui +RESOURCES += resources.qrc -- cgit