Theme Editor: Fixed bugs with menu signals, rearranged UI some more
[kugel-rb.git] / utils / themeeditor / editorwindow.ui
blobc7e89a4a0ef5c46cda42b8816f41ecc7eebefde1
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>EditorWindow</class>
4 <widget class="QMainWindow" name="EditorWindow">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>628</width>
10 <height>433</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Rockbox Theme Editor</string>
15 </property>
16 <property name="windowIcon">
17 <iconset resource="resources.qrc">
18 <normaloff>:/resources/resources/windowicon.png</normaloff>:/resources/resources/windowicon.png</iconset>
19 </property>
20 <widget class="QWidget" name="centralwidget">
21 <layout class="QVBoxLayout" name="verticalLayout">
22 <item>
23 <widget class="QTabWidget" name="editorTabs">
24 <property name="tabPosition">
25 <enum>QTabWidget::North</enum>
26 </property>
27 <property name="currentIndex">
28 <number>-1</number>
29 </property>
30 <property name="tabsClosable">
31 <bool>true</bool>
32 </property>
33 <property name="movable">
34 <bool>true</bool>
35 </property>
36 </widget>
37 </item>
38 </layout>
39 </widget>
40 <widget class="QMenuBar" name="menubar">
41 <property name="geometry">
42 <rect>
43 <x>0</x>
44 <y>0</y>
45 <width>628</width>
46 <height>25</height>
47 </rect>
48 </property>
49 <widget class="QMenu" name="menuFile">
50 <property name="title">
51 <string>&amp;File</string>
52 </property>
53 <addaction name="actionNew_Document"/>
54 <addaction name="actionOpen_Document"/>
55 <addaction name="separator"/>
56 <addaction name="actionPreferences"/>
57 <addaction name="separator"/>
58 <addaction name="actionQuit"/>
59 </widget>
60 <widget class="QMenu" name="menuView">
61 <property name="title">
62 <string>&amp;View</string>
63 </property>
64 <addaction name="actionPreview_Panel"/>
65 <addaction name="actionDisplay_Panel"/>
66 <addaction name="actionFile_Panel"/>
67 </widget>
68 <addaction name="menuFile"/>
69 <addaction name="menuView"/>
70 </widget>
71 <widget class="QStatusBar" name="statusbar"/>
72 <widget class="QDockWidget" name="skinPreviewDock">
73 <property name="windowTitle">
74 <string>Skin Preview</string>
75 </property>
76 <attribute name="dockWidgetArea">
77 <number>2</number>
78 </attribute>
79 <widget class="QWidget" name="dockWidgetContents">
80 <layout class="QVBoxLayout" name="verticalLayout_2">
81 <item>
82 <widget class="QGraphicsView" name="skinPreview"/>
83 </item>
84 </layout>
85 </widget>
86 </widget>
87 <widget class="QToolBar" name="toolBar">
88 <property name="windowTitle">
89 <string>toolBar</string>
90 </property>
91 <attribute name="toolBarArea">
92 <enum>TopToolBarArea</enum>
93 </attribute>
94 <attribute name="toolBarBreak">
95 <bool>false</bool>
96 </attribute>
97 </widget>
98 <widget class="QDockWidget" name="fileDock">
99 <property name="windowTitle">
100 <string>Files</string>
101 </property>
102 <attribute name="dockWidgetArea">
103 <number>1</number>
104 </attribute>
105 <widget class="QWidget" name="dockWidgetContents_2">
106 <layout class="QVBoxLayout" name="verticalLayout_4">
107 <item>
108 <widget class="QTreeView" name="fileTree"/>
109 </item>
110 </layout>
111 </widget>
112 </widget>
113 <widget class="QDockWidget" name="parseTreeDock">
114 <property name="windowTitle">
115 <string>Parse Tree</string>
116 </property>
117 <attribute name="dockWidgetArea">
118 <number>2</number>
119 </attribute>
120 <widget class="QWidget" name="dockWidgetContents_3">
121 <layout class="QVBoxLayout" name="verticalLayout_3">
122 <item>
123 <widget class="QTreeView" name="parseTree"/>
124 </item>
125 <item>
126 <widget class="QPushButton" name="fromTree">
127 <property name="text">
128 <string>Update Code</string>
129 </property>
130 </widget>
131 </item>
132 </layout>
133 </widget>
134 </widget>
135 <action name="actionQuit">
136 <property name="text">
137 <string>&amp;Quit</string>
138 </property>
139 <property name="shortcut">
140 <string>Ctrl+Q</string>
141 </property>
142 </action>
143 <action name="actionDisplay_Panel">
144 <property name="checkable">
145 <bool>false</bool>
146 </property>
147 <property name="checked">
148 <bool>false</bool>
149 </property>
150 <property name="text">
151 <string>Parse &amp;Tree Panel</string>
152 </property>
153 <property name="shortcut">
154 <string>Ctrl+D</string>
155 </property>
156 </action>
157 <action name="actionPreferences">
158 <property name="text">
159 <string>&amp;Preferences</string>
160 </property>
161 </action>
162 <action name="actionFile_Panel">
163 <property name="checkable">
164 <bool>false</bool>
165 </property>
166 <property name="checked">
167 <bool>false</bool>
168 </property>
169 <property name="text">
170 <string>&amp;File Panel</string>
171 </property>
172 </action>
173 <action name="actionPreview_Panel">
174 <property name="checkable">
175 <bool>false</bool>
176 </property>
177 <property name="checked">
178 <bool>false</bool>
179 </property>
180 <property name="text">
181 <string>&amp;Preview Panel</string>
182 </property>
183 </action>
184 <action name="actionNew_Document">
185 <property name="text">
186 <string>&amp;New Document</string>
187 </property>
188 <property name="shortcut">
189 <string>Ctrl+N</string>
190 </property>
191 </action>
192 <action name="actionOpen_Document">
193 <property name="text">
194 <string>&amp;Open Document</string>
195 </property>
196 <property name="shortcut">
197 <string>Ctrl+O</string>
198 </property>
199 </action>
200 </widget>
201 <resources>
202 <include location="resources.qrc"/>
203 </resources>
204 <connections>
205 <connection>
206 <sender>actionQuit</sender>
207 <signal>activated()</signal>
208 <receiver>EditorWindow</receiver>
209 <slot>close()</slot>
210 <hints>
211 <hint type="sourcelabel">
212 <x>-1</x>
213 <y>-1</y>
214 </hint>
215 <hint type="destinationlabel">
216 <x>299</x>
217 <y>199</y>
218 </hint>
219 </hints>
220 </connection>
221 </connections>
222 </ui>