2010-06-01 21:25:02 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>EditorWindow</class>
|
|
|
|
<widget class="QMainWindow" name="EditorWindow">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2010-06-03 20:05:55 +00:00
|
|
|
<width>628</width>
|
|
|
|
<height>433</height>
|
2010-06-01 21:25:02 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2010-06-03 20:51:17 +00:00
|
|
|
<string>Rockbox Theme Editor</string>
|
|
|
|
</property>
|
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset resource="resources.qrc">
|
|
|
|
<normaloff>:/resources/resources/windowicon.png</normaloff>:/resources/resources/windowicon.png</iconset>
|
2010-06-01 21:25:02 +00:00
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="centralwidget">
|
2010-06-03 20:51:17 +00:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2010-06-01 21:25:02 +00:00
|
|
|
<item>
|
2010-06-03 20:51:17 +00:00
|
|
|
<widget class="QPlainTextEdit" name="codeEdit">
|
|
|
|
<property name="lineWrapMode">
|
|
|
|
<enum>QPlainTextEdit::NoWrap</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2010-06-01 21:25:02 +00:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenuBar" name="menubar">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2010-06-03 20:05:55 +00:00
|
|
|
<width>628</width>
|
2010-06-01 21:25:02 +00:00
|
|
|
<height>25</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<widget class="QMenu" name="menuFile">
|
|
|
|
<property name="title">
|
2010-06-03 20:51:17 +00:00
|
|
|
<string>&File</string>
|
2010-06-01 21:25:02 +00:00
|
|
|
</property>
|
2010-06-03 20:05:55 +00:00
|
|
|
<addaction name="actionPreferences"/>
|
|
|
|
<addaction name="separator"/>
|
2010-06-01 21:25:02 +00:00
|
|
|
<addaction name="actionQuit"/>
|
|
|
|
</widget>
|
2010-06-03 20:05:55 +00:00
|
|
|
<widget class="QMenu" name="menuView">
|
|
|
|
<property name="title">
|
2010-06-03 20:51:17 +00:00
|
|
|
<string>&View</string>
|
2010-06-03 20:05:55 +00:00
|
|
|
</property>
|
|
|
|
<addaction name="actionPreview_Panel"/>
|
|
|
|
<addaction name="actionDisplay_Panel"/>
|
|
|
|
<addaction name="actionFile_Panel"/>
|
|
|
|
</widget>
|
2010-06-01 21:25:02 +00:00
|
|
|
<addaction name="menuFile"/>
|
2010-06-03 20:05:55 +00:00
|
|
|
<addaction name="menuView"/>
|
2010-06-01 21:25:02 +00:00
|
|
|
</widget>
|
|
|
|
<widget class="QStatusBar" name="statusbar"/>
|
2010-06-03 20:05:55 +00:00
|
|
|
<widget class="QDockWidget" name="skinPreviewDock">
|
2010-06-03 18:42:36 +00:00
|
|
|
<attribute name="dockWidgetArea">
|
|
|
|
<number>2</number>
|
|
|
|
</attribute>
|
|
|
|
<widget class="QWidget" name="dockWidgetContents">
|
2010-06-03 20:05:55 +00:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>Skin Preview</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>skinPreview</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QGraphicsView" name="skinPreview"/>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<widget class="QToolBar" name="toolBar">
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>toolBar</string>
|
|
|
|
</property>
|
|
|
|
<attribute name="toolBarArea">
|
|
|
|
<enum>TopToolBarArea</enum>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="toolBarBreak">
|
|
|
|
<bool>true</bool>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
<widget class="QDockWidget" name="fileDock">
|
|
|
|
<attribute name="dockWidgetArea">
|
|
|
|
<number>1</number>
|
|
|
|
</attribute>
|
|
|
|
<widget class="QWidget" name="dockWidgetContents_2">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>Files</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>fileTree</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QTreeView" name="fileTree"/>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<widget class="QDockWidget" name="parseTreeDock">
|
|
|
|
<attribute name="dockWidgetArea">
|
|
|
|
<number>2</number>
|
|
|
|
</attribute>
|
|
|
|
<widget class="QWidget" name="dockWidgetContents_3">
|
2010-06-03 18:42:36 +00:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
2010-06-03 20:05:55 +00:00
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Parse Tree</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>parseTree</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QTreeView" name="parseTree"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="fromTree">
|
|
|
|
<property name="text">
|
|
|
|
<string>Update Code</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2010-06-03 18:42:36 +00:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
2010-06-01 21:25:02 +00:00
|
|
|
<action name="actionQuit">
|
|
|
|
<property name="text">
|
2010-06-03 20:51:17 +00:00
|
|
|
<string>&Quit</string>
|
2010-06-01 21:25:02 +00:00
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+Q</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2010-06-03 20:05:55 +00:00
|
|
|
<action name="actionDisplay_Panel">
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2010-06-03 20:51:17 +00:00
|
|
|
<string>Parse &Tree Panel</string>
|
2010-06-03 20:05:55 +00:00
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+D</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionPreferences">
|
|
|
|
<property name="text">
|
2010-06-03 20:51:17 +00:00
|
|
|
<string>&Preferences</string>
|
2010-06-03 20:05:55 +00:00
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionFile_Panel">
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2010-06-03 20:51:17 +00:00
|
|
|
<string>&File Panel</string>
|
2010-06-03 20:05:55 +00:00
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="actionPreview_Panel">
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2010-06-03 20:51:17 +00:00
|
|
|
<string>&Preview Panel</string>
|
2010-06-03 20:05:55 +00:00
|
|
|
</property>
|
|
|
|
</action>
|
2010-06-01 21:25:02 +00:00
|
|
|
</widget>
|
2010-06-03 20:51:17 +00:00
|
|
|
<resources>
|
|
|
|
<include location="resources.qrc"/>
|
|
|
|
</resources>
|
2010-06-01 21:25:02 +00:00
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>actionQuit</sender>
|
|
|
|
<signal>activated()</signal>
|
|
|
|
<receiver>EditorWindow</receiver>
|
|
|
|
<slot>close()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2010-06-03 07:38:59 +00:00
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
2010-06-01 21:25:02 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>299</x>
|
|
|
|
<y>199</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2010-06-03 20:05:55 +00:00
|
|
|
<connection>
|
|
|
|
<sender>actionDisplay_Panel</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>parseTreeDock</receiver>
|
|
|
|
<slot>setVisible(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>680</x>
|
|
|
|
<y>129</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>parseTreeDock</sender>
|
|
|
|
<signal>visibilityChanged(bool)</signal>
|
|
|
|
<receiver>actionDisplay_Panel</receiver>
|
|
|
|
<slot>setChecked(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>680</x>
|
|
|
|
<y>129</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>actionFile_Panel</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>fileDock</receiver>
|
|
|
|
<slot>setVisible(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>79</x>
|
|
|
|
<y>206</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>fileDock</sender>
|
|
|
|
<signal>visibilityChanged(bool)</signal>
|
|
|
|
<receiver>actionFile_Panel</receiver>
|
|
|
|
<slot>setChecked(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>79</x>
|
|
|
|
<y>206</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>actionPreview_Panel</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>skinPreviewDock</receiver>
|
|
|
|
<slot>setVisible(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>680</x>
|
|
|
|
<y>112</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>skinPreviewDock</sender>
|
|
|
|
<signal>visibilityChanged(bool)</signal>
|
|
|
|
<receiver>actionPreview_Panel</receiver>
|
|
|
|
<slot>setChecked(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>680</x>
|
|
|
|
<y>112</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2010-06-01 21:25:02 +00:00
|
|
|
</connections>
|
|
|
|
</ui>
|