Theme Editor: Altered the SkinDocument class' handling of tab titles and added a...
[kugel-rb.git] / utils / themeeditor / editorwindow.ui
blobb5e6c9d228aef5fb33381aec11ab90132186605e
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="currentIndex">
25 <number>-1</number>
26 </property>
27 <property name="tabsClosable">
28 <bool>true</bool>
29 </property>
30 <property name="movable">
31 <bool>true</bool>
32 </property>
33 </widget>
34 </item>
35 </layout>
36 </widget>
37 <widget class="QMenuBar" name="menubar">
38 <property name="geometry">
39 <rect>
40 <x>0</x>
41 <y>0</y>
42 <width>628</width>
43 <height>25</height>
44 </rect>
45 </property>
46 <widget class="QMenu" name="menuFile">
47 <property name="title">
48 <string>&amp;File</string>
49 </property>
50 <addaction name="actionNew_Document"/>
51 <addaction name="actionOpen_Document"/>
52 <addaction name="separator"/>
53 <addaction name="actionClose_Document"/>
54 <addaction name="separator"/>
55 <addaction name="actionSave_Document"/>
56 <addaction name="actionSave_Document_As"/>
57 <addaction name="separator"/>
58 <addaction name="actionPreferences"/>
59 <addaction name="separator"/>
60 <addaction name="actionQuit"/>
61 </widget>
62 <widget class="QMenu" name="menuView">
63 <property name="title">
64 <string>&amp;View</string>
65 </property>
66 <addaction name="actionPreview_Panel"/>
67 <addaction name="actionDisplay_Panel"/>
68 <addaction name="actionFile_Panel"/>
69 </widget>
70 <addaction name="menuFile"/>
71 <addaction name="menuView"/>
72 </widget>
73 <widget class="QStatusBar" name="statusbar"/>
74 <widget class="QDockWidget" name="skinPreviewDock">
75 <property name="windowTitle">
76 <string>Skin Preview</string>
77 </property>
78 <attribute name="dockWidgetArea">
79 <number>2</number>
80 </attribute>
81 <widget class="QWidget" name="dockWidgetContents">
82 <layout class="QVBoxLayout" name="verticalLayout_2">
83 <item>
84 <widget class="QGraphicsView" name="skinPreview"/>
85 </item>
86 </layout>
87 </widget>
88 </widget>
89 <widget class="QToolBar" name="toolBar">
90 <property name="windowTitle">
91 <string>toolBar</string>
92 </property>
93 <attribute name="toolBarArea">
94 <enum>TopToolBarArea</enum>
95 </attribute>
96 <attribute name="toolBarBreak">
97 <bool>false</bool>
98 </attribute>
99 <addaction name="actionToolbarNew"/>
100 <addaction name="actionToolbarOpen"/>
101 <addaction name="actionToolbarSave"/>
102 </widget>
103 <widget class="QDockWidget" name="fileDock">
104 <property name="windowTitle">
105 <string>Files</string>
106 </property>
107 <attribute name="dockWidgetArea">
108 <number>1</number>
109 </attribute>
110 <widget class="QWidget" name="dockWidgetContents_2">
111 <layout class="QVBoxLayout" name="verticalLayout_4">
112 <item>
113 <widget class="QTreeView" name="fileTree"/>
114 </item>
115 </layout>
116 </widget>
117 </widget>
118 <widget class="QDockWidget" name="parseTreeDock">
119 <property name="windowTitle">
120 <string>Parse Tree</string>
121 </property>
122 <attribute name="dockWidgetArea">
123 <number>2</number>
124 </attribute>
125 <widget class="QWidget" name="dockWidgetContents_3">
126 <layout class="QVBoxLayout" name="verticalLayout_3">
127 <item>
128 <widget class="QTreeView" name="parseTree"/>
129 </item>
130 <item>
131 <widget class="QPushButton" name="fromTree">
132 <property name="text">
133 <string>Update Code</string>
134 </property>
135 </widget>
136 </item>
137 </layout>
138 </widget>
139 </widget>
140 <action name="actionQuit">
141 <property name="text">
142 <string>&amp;Quit</string>
143 </property>
144 <property name="shortcut">
145 <string>Ctrl+Q</string>
146 </property>
147 </action>
148 <action name="actionDisplay_Panel">
149 <property name="checkable">
150 <bool>false</bool>
151 </property>
152 <property name="checked">
153 <bool>false</bool>
154 </property>
155 <property name="text">
156 <string>Parse &amp;Tree Panel</string>
157 </property>
158 </action>
159 <action name="actionPreferences">
160 <property name="text">
161 <string>&amp;Preferences</string>
162 </property>
163 <property name="shortcut">
164 <string>Ctrl+P</string>
165 </property>
166 </action>
167 <action name="actionFile_Panel">
168 <property name="checkable">
169 <bool>false</bool>
170 </property>
171 <property name="checked">
172 <bool>false</bool>
173 </property>
174 <property name="text">
175 <string>&amp;File Panel</string>
176 </property>
177 </action>
178 <action name="actionPreview_Panel">
179 <property name="checkable">
180 <bool>false</bool>
181 </property>
182 <property name="checked">
183 <bool>false</bool>
184 </property>
185 <property name="text">
186 <string>&amp;Preview Panel</string>
187 </property>
188 </action>
189 <action name="actionNew_Document">
190 <property name="text">
191 <string>&amp;New Document</string>
192 </property>
193 <property name="shortcut">
194 <string>Ctrl+N</string>
195 </property>
196 </action>
197 <action name="actionOpen_Document">
198 <property name="text">
199 <string>&amp;Open Document</string>
200 </property>
201 <property name="shortcut">
202 <string>Ctrl+O</string>
203 </property>
204 </action>
205 <action name="actionSave_Document">
206 <property name="enabled">
207 <bool>false</bool>
208 </property>
209 <property name="text">
210 <string>&amp;Save Document</string>
211 </property>
212 <property name="shortcut">
213 <string>Ctrl+S</string>
214 </property>
215 </action>
216 <action name="actionClose_Document">
217 <property name="enabled">
218 <bool>false</bool>
219 </property>
220 <property name="text">
221 <string>&amp;Close Document</string>
222 </property>
223 <property name="shortcut">
224 <string>Ctrl+W</string>
225 </property>
226 </action>
227 <action name="actionSave_Document_As">
228 <property name="enabled">
229 <bool>false</bool>
230 </property>
231 <property name="text">
232 <string>Save Document &amp;As</string>
233 </property>
234 <property name="shortcut">
235 <string>Ctrl+Shift+S</string>
236 </property>
237 </action>
238 <action name="actionToolbarNew">
239 <property name="icon">
240 <iconset resource="resources.qrc">
241 <normaloff>:/resources/resources/document-new.png</normaloff>:/resources/resources/document-new.png</iconset>
242 </property>
243 <property name="text">
244 <string>ToolbarNew</string>
245 </property>
246 <property name="toolTip">
247 <string>New</string>
248 </property>
249 </action>
250 <action name="actionToolbarOpen">
251 <property name="icon">
252 <iconset resource="resources.qrc">
253 <normaloff>:/resources/resources/document-open.png</normaloff>:/resources/resources/document-open.png</iconset>
254 </property>
255 <property name="text">
256 <string>ToolbarOpen</string>
257 </property>
258 <property name="toolTip">
259 <string>Open</string>
260 </property>
261 </action>
262 <action name="actionToolbarSave">
263 <property name="icon">
264 <iconset resource="resources.qrc">
265 <normaloff>:/resources/resources/document-save.png</normaloff>:/resources/resources/document-save.png</iconset>
266 </property>
267 <property name="text">
268 <string>ToolbarSave</string>
269 </property>
270 <property name="toolTip">
271 <string>Save</string>
272 </property>
273 </action>
274 </widget>
275 <tabstops>
276 <tabstop>fileTree</tabstop>
277 <tabstop>skinPreview</tabstop>
278 <tabstop>parseTree</tabstop>
279 <tabstop>fromTree</tabstop>
280 <tabstop>editorTabs</tabstop>
281 </tabstops>
282 <resources>
283 <include location="resources.qrc"/>
284 </resources>
285 <connections>
286 <connection>
287 <sender>actionQuit</sender>
288 <signal>activated()</signal>
289 <receiver>EditorWindow</receiver>
290 <slot>close()</slot>
291 <hints>
292 <hint type="sourcelabel">
293 <x>-1</x>
294 <y>-1</y>
295 </hint>
296 <hint type="destinationlabel">
297 <x>299</x>
298 <y>199</y>
299 </hint>
300 </hints>
301 </connection>
302 </connections>
303 </ui>