Theme Editor: Added an edit menu with a find/replace function (copied from an LGPL...
[kugel-rb.git] / utils / themeeditor / gui / editorwindow.ui
blob707e24698c35bf40ea32810e1db7f50f49b09437
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/windowicon.png</normaloff>:/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>27</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="actionOpen_Project"/>
53 <addaction name="separator"/>
54 <addaction name="actionClose_Document"/>
55 <addaction name="separator"/>
56 <addaction name="actionSave_Document"/>
57 <addaction name="actionSave_Document_As"/>
58 <addaction name="separator"/>
59 <addaction name="actionPreferences"/>
60 <addaction name="separator"/>
61 <addaction name="actionQuit"/>
62 </widget>
63 <widget class="QMenu" name="menuView">
64 <property name="title">
65 <string>&amp;View</string>
66 </property>
67 <addaction name="actionPreview_Panel"/>
68 <addaction name="actionDisplay_Panel"/>
69 <addaction name="actionFile_Panel"/>
70 <addaction name="separator"/>
71 <addaction name="actionDevice_Configuration"/>
72 </widget>
73 <widget class="QMenu" name="menuEdit">
74 <property name="title">
75 <string>&amp;Edit</string>
76 </property>
77 <addaction name="actionUndo"/>
78 <addaction name="actionRedo"/>
79 <addaction name="separator"/>
80 <addaction name="actionCut"/>
81 <addaction name="actionCopy"/>
82 <addaction name="actionPaste"/>
83 <addaction name="separator"/>
84 <addaction name="actionFind_Replace"/>
85 </widget>
86 <addaction name="menuFile"/>
87 <addaction name="menuEdit"/>
88 <addaction name="menuView"/>
89 </widget>
90 <widget class="QStatusBar" name="statusbar"/>
91 <widget class="QDockWidget" name="skinPreviewDock">
92 <property name="windowTitle">
93 <string>Skin Preview</string>
94 </property>
95 <attribute name="dockWidgetArea">
96 <number>2</number>
97 </attribute>
98 <widget class="QWidget" name="skinPreviewContents">
99 <layout class="QVBoxLayout" name="verticalLayout_2">
100 <item>
101 <layout class="QVBoxLayout" name="skinPreviewLayout"/>
102 </item>
103 </layout>
104 </widget>
105 </widget>
106 <widget class="QToolBar" name="toolBar">
107 <property name="windowTitle">
108 <string>toolBar</string>
109 </property>
110 <attribute name="toolBarArea">
111 <enum>TopToolBarArea</enum>
112 </attribute>
113 <attribute name="toolBarBreak">
114 <bool>false</bool>
115 </attribute>
116 <addaction name="actionToolbarNew"/>
117 <addaction name="actionToolbarOpen"/>
118 <addaction name="actionToolbarSave"/>
119 </widget>
120 <widget class="QDockWidget" name="projectDock">
121 <property name="windowTitle">
122 <string>Project</string>
123 </property>
124 <attribute name="dockWidgetArea">
125 <number>1</number>
126 </attribute>
127 <widget class="QWidget" name="dockWidgetContents_2">
128 <layout class="QVBoxLayout" name="verticalLayout_4">
129 <item>
130 <widget class="QListView" name="projectTree"/>
131 </item>
132 </layout>
133 </widget>
134 </widget>
135 <widget class="QDockWidget" name="parseTreeDock">
136 <property name="windowTitle">
137 <string>Parse Tree</string>
138 </property>
139 <attribute name="dockWidgetArea">
140 <number>2</number>
141 </attribute>
142 <widget class="QWidget" name="dockWidgetContents_3">
143 <layout class="QVBoxLayout" name="verticalLayout_3">
144 <item>
145 <widget class="QTreeView" name="parseTree">
146 <property name="alternatingRowColors">
147 <bool>true</bool>
148 </property>
149 <property name="selectionMode">
150 <enum>QAbstractItemView::MultiSelection</enum>
151 </property>
152 </widget>
153 </item>
154 <item>
155 <widget class="QPushButton" name="fromTree">
156 <property name="enabled">
157 <bool>false</bool>
158 </property>
159 <property name="text">
160 <string>Update Code</string>
161 </property>
162 </widget>
163 </item>
164 </layout>
165 </widget>
166 </widget>
167 <action name="actionQuit">
168 <property name="text">
169 <string>&amp;Quit</string>
170 </property>
171 <property name="shortcut">
172 <string>Ctrl+Q</string>
173 </property>
174 </action>
175 <action name="actionDisplay_Panel">
176 <property name="checkable">
177 <bool>false</bool>
178 </property>
179 <property name="checked">
180 <bool>false</bool>
181 </property>
182 <property name="text">
183 <string>Parse &amp;Tree Panel</string>
184 </property>
185 </action>
186 <action name="actionPreferences">
187 <property name="text">
188 <string>&amp;Preferences</string>
189 </property>
190 <property name="shortcut">
191 <string>Ctrl+P</string>
192 </property>
193 </action>
194 <action name="actionFile_Panel">
195 <property name="checkable">
196 <bool>false</bool>
197 </property>
198 <property name="checked">
199 <bool>false</bool>
200 </property>
201 <property name="text">
202 <string>P&amp;roject Panel</string>
203 </property>
204 </action>
205 <action name="actionPreview_Panel">
206 <property name="checkable">
207 <bool>false</bool>
208 </property>
209 <property name="checked">
210 <bool>false</bool>
211 </property>
212 <property name="text">
213 <string>&amp;Preview Panel</string>
214 </property>
215 </action>
216 <action name="actionNew_Document">
217 <property name="text">
218 <string>&amp;New Document</string>
219 </property>
220 <property name="shortcut">
221 <string>Ctrl+N</string>
222 </property>
223 </action>
224 <action name="actionOpen_Document">
225 <property name="text">
226 <string>&amp;Open Document</string>
227 </property>
228 <property name="shortcut">
229 <string>Ctrl+O</string>
230 </property>
231 </action>
232 <action name="actionSave_Document">
233 <property name="enabled">
234 <bool>false</bool>
235 </property>
236 <property name="text">
237 <string>&amp;Save Document</string>
238 </property>
239 <property name="shortcut">
240 <string>Ctrl+S</string>
241 </property>
242 </action>
243 <action name="actionClose_Document">
244 <property name="enabled">
245 <bool>false</bool>
246 </property>
247 <property name="text">
248 <string>&amp;Close Document</string>
249 </property>
250 <property name="shortcut">
251 <string>Ctrl+W</string>
252 </property>
253 </action>
254 <action name="actionSave_Document_As">
255 <property name="enabled">
256 <bool>false</bool>
257 </property>
258 <property name="text">
259 <string>Save Document &amp;As</string>
260 </property>
261 <property name="shortcut">
262 <string>Ctrl+Shift+S</string>
263 </property>
264 </action>
265 <action name="actionToolbarNew">
266 <property name="icon">
267 <iconset resource="../resources.qrc">
268 <normaloff>:/resources/resources/document-new.png</normaloff>:/resources/resources/document-new.png</iconset>
269 </property>
270 <property name="text">
271 <string>ToolbarNew</string>
272 </property>
273 <property name="toolTip">
274 <string>New</string>
275 </property>
276 </action>
277 <action name="actionToolbarOpen">
278 <property name="icon">
279 <iconset resource="../resources.qrc">
280 <normaloff>:/resources/resources/document-open.png</normaloff>:/resources/resources/document-open.png</iconset>
281 </property>
282 <property name="text">
283 <string>ToolbarOpen</string>
284 </property>
285 <property name="toolTip">
286 <string>Open</string>
287 </property>
288 </action>
289 <action name="actionToolbarSave">
290 <property name="enabled">
291 <bool>false</bool>
292 </property>
293 <property name="icon">
294 <iconset resource="../resources.qrc">
295 <normaloff>:/resources/resources/document-save.png</normaloff>:/resources/resources/document-save.png</iconset>
296 </property>
297 <property name="text">
298 <string>ToolbarSave</string>
299 </property>
300 <property name="toolTip">
301 <string>Save</string>
302 </property>
303 </action>
304 <action name="actionOpen_Project">
305 <property name="text">
306 <string>Open P&amp;roject</string>
307 </property>
308 <property name="shortcut">
309 <string>Ctrl+Shift+O</string>
310 </property>
311 </action>
312 <action name="actionDevice_Configuration">
313 <property name="text">
314 <string>&amp;Device Configuration</string>
315 </property>
316 <property name="shortcut">
317 <string>Ctrl+D</string>
318 </property>
319 </action>
320 <action name="actionUndo">
321 <property name="text">
322 <string>&amp;Undo</string>
323 </property>
324 <property name="shortcut">
325 <string>Ctrl+Z</string>
326 </property>
327 </action>
328 <action name="actionRedo">
329 <property name="text">
330 <string>&amp;Redo</string>
331 </property>
332 <property name="shortcut">
333 <string>Ctrl+Shift+Z</string>
334 </property>
335 </action>
336 <action name="actionCut">
337 <property name="text">
338 <string>C&amp;ut</string>
339 </property>
340 <property name="shortcut">
341 <string>Ctrl+X</string>
342 </property>
343 </action>
344 <action name="actionCopy">
345 <property name="text">
346 <string>&amp;Copy</string>
347 </property>
348 <property name="shortcut">
349 <string>Ctrl+C</string>
350 </property>
351 </action>
352 <action name="actionPaste">
353 <property name="text">
354 <string>&amp;Paste</string>
355 </property>
356 <property name="shortcut">
357 <string>Ctrl+V</string>
358 </property>
359 </action>
360 <action name="actionFind_Replace">
361 <property name="text">
362 <string>&amp;Find/Replace</string>
363 </property>
364 <property name="shortcut">
365 <string>Ctrl+F</string>
366 </property>
367 </action>
368 </widget>
369 <tabstops>
370 <tabstop>projectTree</tabstop>
371 <tabstop>parseTree</tabstop>
372 <tabstop>fromTree</tabstop>
373 <tabstop>editorTabs</tabstop>
374 </tabstops>
375 <resources>
376 <include location="../resources.qrc"/>
377 </resources>
378 <connections>
379 <connection>
380 <sender>actionQuit</sender>
381 <signal>activated()</signal>
382 <receiver>EditorWindow</receiver>
383 <slot>close()</slot>
384 <hints>
385 <hint type="sourcelabel">
386 <x>-1</x>
387 <y>-1</y>
388 </hint>
389 <hint type="destinationlabel">
390 <x>299</x>
391 <y>199</y>
392 </hint>
393 </hints>
394 </connection>
395 </connections>
396 </ui>