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
This commit is contained in:
Robert Bieber 2010-06-03 20:51:17 +00:00
parent 5a2d7549f0
commit 084ff072dc
5 changed files with 30 additions and 20 deletions

View file

@ -11,11 +11,13 @@
</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">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QPlainTextEdit" name="codeEdit">
@ -25,8 +27,6 @@
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
@ -39,7 +39,7 @@
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>File</string>
<string>&amp;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>&amp;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>&amp;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 &amp;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>&amp;Preferences</string>
</property>
</action>
<action name="actionFile_Panel">
@ -176,7 +176,7 @@
<bool>true</bool>
</property>
<property name="text">
<string>File Panel</string>
<string>&amp;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>&amp;Preview Panel</string>
</property>
</action>
</widget>
<resources/>
<resources>
<include location="resources.qrc"/>
</resources>
<connections>
<connection>
<sender>actionQuit</sender>

View file

@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/resources">
<file>resources/windowicon.png</file>
</qresource>
</RCC>

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 B

View file

@ -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