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,20 +11,20 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <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> </property>
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout"> <widget class="QPlainTextEdit" name="codeEdit">
<item> <property name="lineWrapMode">
<widget class="QPlainTextEdit" name="codeEdit"> <enum>QPlainTextEdit::NoWrap</enum>
<property name="lineWrapMode"> </property>
<enum>QPlainTextEdit::NoWrap</enum> </widget>
</property>
</widget>
</item>
</layout>
</item> </item>
</layout> </layout>
</widget> </widget>
@ -39,7 +39,7 @@
</property> </property>
<widget class="QMenu" name="menuFile"> <widget class="QMenu" name="menuFile">
<property name="title"> <property name="title">
<string>File</string> <string>&amp;File</string>
</property> </property>
<addaction name="actionPreferences"/> <addaction name="actionPreferences"/>
<addaction name="separator"/> <addaction name="separator"/>
@ -47,7 +47,7 @@
</widget> </widget>
<widget class="QMenu" name="menuView"> <widget class="QMenu" name="menuView">
<property name="title"> <property name="title">
<string>View</string> <string>&amp;View</string>
</property> </property>
<addaction name="actionPreview_Panel"/> <addaction name="actionPreview_Panel"/>
<addaction name="actionDisplay_Panel"/> <addaction name="actionDisplay_Panel"/>
@ -143,7 +143,7 @@
</widget> </widget>
<action name="actionQuit"> <action name="actionQuit">
<property name="text"> <property name="text">
<string>Quit</string> <string>&amp;Quit</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Ctrl+Q</string> <string>Ctrl+Q</string>
@ -157,7 +157,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Parse Tree Panel</string> <string>Parse &amp;Tree Panel</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Ctrl+D</string> <string>Ctrl+D</string>
@ -165,7 +165,7 @@
</action> </action>
<action name="actionPreferences"> <action name="actionPreferences">
<property name="text"> <property name="text">
<string>Preferences</string> <string>&amp;Preferences</string>
</property> </property>
</action> </action>
<action name="actionFile_Panel"> <action name="actionFile_Panel">
@ -176,7 +176,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>File Panel</string> <string>&amp;File Panel</string>
</property> </property>
</action> </action>
<action name="actionPreview_Panel"> <action name="actionPreview_Panel">
@ -187,11 +187,13 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Preview Panel</string> <string>&amp;Preview Panel</string>
</property> </property>
</action> </action>
</widget> </widget>
<resources/> <resources>
<include location="resources.qrc"/>
</resources>
<connections> <connections>
<connection> <connection>
<sender>actionQuit</sender> <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 \ parsetreenode.cpp \
editorwindow.cpp \ editorwindow.cpp \
skinhighlighter.cpp skinhighlighter.cpp
OTHER_FILES += README OTHER_FILES += README \
resources/windowicon.png \
resources/appicon.xcf
FORMS += editorwindow.ui FORMS += editorwindow.ui
RESOURCES += resources.qrc