summaryrefslogtreecommitdiff
path: root/utils/themeeditor/editorwindow.ui
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-03 20:05:55 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-03 20:05:55 +0000
commit69dce7cc2d55835349a5a21ef2d1569c66b6d9f3 (patch)
treeab1c95d130a678fe17a38139b45ffd583fca345c /utils/themeeditor/editorwindow.ui
parent88160b6e271f3d948e80e414f06a9506c98bb9a9 (diff)
downloadrockbox-69dce7cc2d55835349a5a21ef2d1569c66b6d9f3.zip
rockbox-69dce7cc2d55835349a5a21ef2d1569c66b6d9f3.tar.gz
rockbox-69dce7cc2d55835349a5a21ef2d1569c66b6d9f3.tar.bz2
rockbox-69dce7cc2d55835349a5a21ef2d1569c66b6d9f3.tar.xz
Theme Editor: Mocked up most of the UI, added View menu items for all dockable widgets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26520 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/editorwindow.ui')
-rw-r--r--utils/themeeditor/editorwindow.ui241
1 files changed, 225 insertions, 16 deletions
diff --git a/utils/themeeditor/editorwindow.ui b/utils/themeeditor/editorwindow.ui
index a85ef62..24bd1b4 100644
--- a/utils/themeeditor/editorwindow.ui
+++ b/utils/themeeditor/editorwindow.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>800</width>
- <height>400</height>
+ <width>628</width>
+ <height>433</height>
</rect>
</property>
<property name="windowTitle">
@@ -33,7 +33,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>800</width>
+ <width>628</width>
<height>25</height>
</rect>
</property>
@@ -41,30 +41,102 @@
<property name="title">
<string>File</string>
</property>
+ <addaction name="actionPreferences"/>
+ <addaction name="separator"/>
<addaction name="actionQuit"/>
</widget>
+ <widget class="QMenu" name="menuView">
+ <property name="title">
+ <string>View</string>
+ </property>
+ <addaction name="actionPreview_Panel"/>
+ <addaction name="actionDisplay_Panel"/>
+ <addaction name="actionFile_Panel"/>
+ </widget>
<addaction name="menuFile"/>
+ <addaction name="menuView"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
- <widget class="QDockWidget" name="outputDock">
+ <widget class="QDockWidget" name="skinPreviewDock">
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents">
+ <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">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QTreeView" name="parseTree"/>
- </item>
- <item>
- <widget class="QPushButton" name="fromTree">
- <property name="text">
- <string>Update Code</string>
- </property>
- </widget>
- </item>
- </layout>
+ <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>
</item>
</layout>
</widget>
@@ -77,6 +149,47 @@
<string>Ctrl+Q</string>
</property>
</action>
+ <action name="actionDisplay_Panel">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>Parse Tree Panel</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+D</string>
+ </property>
+ </action>
+ <action name="actionPreferences">
+ <property name="text">
+ <string>Preferences</string>
+ </property>
+ </action>
+ <action name="actionFile_Panel">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>File Panel</string>
+ </property>
+ </action>
+ <action name="actionPreview_Panel">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>Preview Panel</string>
+ </property>
+ </action>
</widget>
<resources/>
<connections>
@@ -96,5 +209,101 @@
</hint>
</hints>
</connection>
+ <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>
</connections>
</ui>