~ubuntu-branches/ubuntu/raring/tiled-qt/raring

« back to all changes in this revision

Viewing changes to src/mainwindow.ui

  • Committer: Bazaar Package Importer
  • Author(s): Ying-Chun Liu (PaulLiu)
  • Date: 2010-07-05 21:35:45 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100705213545-ol5zjn85kun26ywx
Tags: 0.5.0-1
* New upstream release
* debian/patches/addrpath.patch: Modify library install path.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<ui version="4.0">
3
 
 <class>MainWindow</class>
4
 
 <widget class="QMainWindow" name="MainWindow">
5
 
  <property name="geometry">
6
 
   <rect>
7
 
    <x>0</x>
8
 
    <y>0</y>
9
 
    <width>553</width>
10
 
    <height>367</height>
11
 
   </rect>
12
 
  </property>
13
 
  <property name="windowTitle">
14
 
   <string>Tiled</string>
15
 
  </property>
16
 
  <property name="unifiedTitleAndToolBarOnMac">
17
 
   <bool>true</bool>
18
 
  </property>
19
 
  <widget class="QWidget" name="centralWidget">
20
 
   <layout class="QVBoxLayout" name="verticalLayout">
21
 
    <property name="margin">
22
 
     <number>0</number>
23
 
    </property>
24
 
    <item>
25
 
     <widget class="Tiled::Internal::MapView" name="mapView">
26
 
      <property name="sizePolicy">
27
 
       <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
28
 
        <horstretch>1</horstretch>
29
 
        <verstretch>1</verstretch>
30
 
       </sizepolicy>
31
 
      </property>
32
 
      <property name="alignment">
33
 
       <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
34
 
      </property>
35
 
     </widget>
36
 
    </item>
37
 
   </layout>
38
 
  </widget>
39
 
  <widget class="QMenuBar" name="menuBar">
40
 
   <property name="geometry">
41
 
    <rect>
42
 
     <x>0</x>
43
 
     <y>0</y>
44
 
     <width>553</width>
45
 
     <height>25</height>
46
 
    </rect>
47
 
   </property>
48
 
   <widget class="QMenu" name="menuFile">
49
 
    <property name="title">
50
 
     <string>&amp;File</string>
51
 
    </property>
52
 
    <widget class="QMenu" name="menuRecentFiles">
53
 
     <property name="title">
54
 
      <string>&amp;Recent Files</string>
55
 
     </property>
56
 
     <property name="icon">
57
 
      <iconset resource="tiled.qrc">
58
 
       <normaloff>:/images/16x16/document-open-recent.png</normaloff>:/images/16x16/document-open-recent.png</iconset>
59
 
     </property>
60
 
     <addaction name="actionClearRecentFiles"/>
61
 
    </widget>
62
 
    <addaction name="actionNew"/>
63
 
    <addaction name="actionOpen"/>
64
 
    <addaction name="menuRecentFiles"/>
65
 
    <addaction name="separator"/>
66
 
    <addaction name="actionSave"/>
67
 
    <addaction name="actionSaveAs"/>
68
 
    <addaction name="actionSaveAsImage"/>
69
 
    <addaction name="separator"/>
70
 
    <addaction name="actionClose"/>
71
 
    <addaction name="actionQuit"/>
72
 
   </widget>
73
 
   <widget class="QMenu" name="menuEdit">
74
 
    <property name="title">
75
 
     <string>&amp;Edit</string>
76
 
    </property>
77
 
    <addaction name="actionCut"/>
78
 
    <addaction name="actionCopy"/>
79
 
    <addaction name="actionPaste"/>
80
 
    <addaction name="separator"/>
81
 
    <addaction name="actionSelectAll"/>
82
 
    <addaction name="actionSelectNone"/>
83
 
    <addaction name="separator"/>
84
 
    <addaction name="actionPreferences"/>
85
 
   </widget>
86
 
   <widget class="QMenu" name="menuHelp">
87
 
    <property name="title">
88
 
     <string>&amp;Help</string>
89
 
    </property>
90
 
    <addaction name="actionAbout"/>
91
 
    <addaction name="actionAboutQt"/>
92
 
   </widget>
93
 
   <widget class="QMenu" name="menuMap">
94
 
    <property name="title">
95
 
     <string>&amp;Map</string>
96
 
    </property>
97
 
    <addaction name="actionNewTileset"/>
98
 
    <addaction name="separator"/>
99
 
    <addaction name="actionResizeMap"/>
100
 
    <addaction name="actionOffsetMap"/>
101
 
    <addaction name="separator"/>
102
 
    <addaction name="actionMapProperties"/>
103
 
   </widget>
104
 
   <widget class="QMenu" name="menuView">
105
 
    <property name="title">
106
 
     <string>&amp;View</string>
107
 
    </property>
108
 
    <addaction name="actionShowGrid"/>
109
 
    <addaction name="separator"/>
110
 
    <addaction name="actionZoomIn"/>
111
 
    <addaction name="actionZoomOut"/>
112
 
    <addaction name="actionZoomNormal"/>
113
 
   </widget>
114
 
   <widget class="QMenu" name="menuLayer">
115
 
    <property name="title">
116
 
     <string>&amp;Layer</string>
117
 
    </property>
118
 
    <addaction name="actionAddTileLayer"/>
119
 
    <addaction name="actionAddObjectLayer"/>
120
 
    <addaction name="actionDuplicateLayer"/>
121
 
    <addaction name="actionRemoveLayer"/>
122
 
    <addaction name="separator"/>
123
 
    <addaction name="actionMoveLayerUp"/>
124
 
    <addaction name="actionMoveLayerDown"/>
125
 
    <addaction name="separator"/>
126
 
    <addaction name="actionLayerProperties"/>
127
 
   </widget>
128
 
   <addaction name="menuFile"/>
129
 
   <addaction name="menuEdit"/>
130
 
   <addaction name="menuView"/>
131
 
   <addaction name="menuMap"/>
132
 
   <addaction name="menuLayer"/>
133
 
   <addaction name="menuHelp"/>
134
 
  </widget>
135
 
  <widget class="QToolBar" name="mainToolBar">
136
 
   <property name="windowTitle">
137
 
    <string>Main Toolbar</string>
138
 
   </property>
139
 
   <attribute name="toolBarArea">
140
 
    <enum>TopToolBarArea</enum>
141
 
   </attribute>
142
 
   <attribute name="toolBarBreak">
143
 
    <bool>false</bool>
144
 
   </attribute>
145
 
   <addaction name="actionNew"/>
146
 
   <addaction name="actionOpen"/>
147
 
   <addaction name="actionSave"/>
148
 
   <addaction name="separator"/>
149
 
  </widget>
150
 
  <widget class="QStatusBar" name="statusBar"/>
151
 
  <action name="actionOpen">
152
 
   <property name="icon">
153
 
    <iconset resource="tiled.qrc">
154
 
     <normaloff>:/images/16x16/document-open.png</normaloff>:/images/16x16/document-open.png</iconset>
155
 
   </property>
156
 
   <property name="text">
157
 
    <string>&amp;Open...</string>
158
 
   </property>
159
 
  </action>
160
 
  <action name="actionSave">
161
 
   <property name="icon">
162
 
    <iconset resource="tiled.qrc">
163
 
     <normaloff>:/images/16x16/document-save.png</normaloff>:/images/16x16/document-save.png</iconset>
164
 
   </property>
165
 
   <property name="text">
166
 
    <string>&amp;Save</string>
167
 
   </property>
168
 
  </action>
169
 
  <action name="actionQuit">
170
 
   <property name="icon">
171
 
    <iconset resource="tiled.qrc">
172
 
     <normaloff>:/images/16x16/application-exit.png</normaloff>:/images/16x16/application-exit.png</iconset>
173
 
   </property>
174
 
   <property name="text">
175
 
    <string>&amp;Quit</string>
176
 
   </property>
177
 
  </action>
178
 
  <action name="actionCopy">
179
 
   <property name="enabled">
180
 
    <bool>false</bool>
181
 
   </property>
182
 
   <property name="icon">
183
 
    <iconset resource="tiled.qrc">
184
 
     <normaloff>:/images/16x16/edit-copy.png</normaloff>:/images/16x16/edit-copy.png</iconset>
185
 
   </property>
186
 
   <property name="text">
187
 
    <string>&amp;Copy</string>
188
 
   </property>
189
 
  </action>
190
 
  <action name="actionPaste">
191
 
   <property name="enabled">
192
 
    <bool>false</bool>
193
 
   </property>
194
 
   <property name="icon">
195
 
    <iconset resource="tiled.qrc">
196
 
     <normaloff>:/images/16x16/edit-paste.png</normaloff>:/images/16x16/edit-paste.png</iconset>
197
 
   </property>
198
 
   <property name="text">
199
 
    <string>&amp;Paste</string>
200
 
   </property>
201
 
  </action>
202
 
  <action name="actionAbout">
203
 
   <property name="icon">
204
 
    <iconset resource="tiled.qrc">
205
 
     <normaloff>:/images/16x16/help-about.png</normaloff>:/images/16x16/help-about.png</iconset>
206
 
   </property>
207
 
   <property name="text">
208
 
    <string>&amp;About Tiled</string>
209
 
   </property>
210
 
  </action>
211
 
  <action name="actionAboutQt">
212
 
   <property name="text">
213
 
    <string>About Qt</string>
214
 
   </property>
215
 
  </action>
216
 
  <action name="actionResizeMap">
217
 
   <property name="icon">
218
 
    <iconset resource="tiled.qrc">
219
 
     <normaloff>:/images/16x16/document-page-setup.png</normaloff>:/images/16x16/document-page-setup.png</iconset>
220
 
   </property>
221
 
   <property name="text">
222
 
    <string>&amp;Resize Map...</string>
223
 
   </property>
224
 
  </action>
225
 
  <action name="actionMapProperties">
226
 
   <property name="icon">
227
 
    <iconset resource="tiled.qrc">
228
 
     <normaloff>:/images/16x16/document-properties.png</normaloff>:/images/16x16/document-properties.png</iconset>
229
 
   </property>
230
 
   <property name="text">
231
 
    <string>Map &amp;Properties...</string>
232
 
   </property>
233
 
  </action>
234
 
  <action name="actionShowGrid">
235
 
   <property name="checkable">
236
 
    <bool>true</bool>
237
 
   </property>
238
 
   <property name="text">
239
 
    <string>Show &amp;Grid</string>
240
 
   </property>
241
 
   <property name="shortcut">
242
 
    <string>Ctrl+G</string>
243
 
   </property>
244
 
  </action>
245
 
  <action name="actionSaveAs">
246
 
   <property name="icon">
247
 
    <iconset resource="tiled.qrc">
248
 
     <normaloff>:/images/16x16/document-save-as.png</normaloff>:/images/16x16/document-save-as.png</iconset>
249
 
   </property>
250
 
   <property name="text">
251
 
    <string>Save &amp;As...</string>
252
 
   </property>
253
 
  </action>
254
 
  <action name="actionMoveLayerUp">
255
 
   <property name="icon">
256
 
    <iconset resource="tiled.qrc">
257
 
     <normaloff>:/images/16x16/go-up.png</normaloff>:/images/16x16/go-up.png</iconset>
258
 
   </property>
259
 
   <property name="text">
260
 
    <string>Move Layer &amp;Up</string>
261
 
   </property>
262
 
   <property name="shortcut">
263
 
    <string>Ctrl+Shift+Up</string>
264
 
   </property>
265
 
  </action>
266
 
  <action name="actionMoveLayerDown">
267
 
   <property name="icon">
268
 
    <iconset resource="tiled.qrc">
269
 
     <normaloff>:/images/16x16/go-down.png</normaloff>:/images/16x16/go-down.png</iconset>
270
 
   </property>
271
 
   <property name="text">
272
 
    <string>Move Layer Dow&amp;n</string>
273
 
   </property>
274
 
   <property name="shortcut">
275
 
    <string>Ctrl+Shift+Down</string>
276
 
   </property>
277
 
  </action>
278
 
  <action name="actionSelectAll">
279
 
   <property name="text">
280
 
    <string>Select &amp;All</string>
281
 
   </property>
282
 
  </action>
283
 
  <action name="actionSelectNone">
284
 
   <property name="text">
285
 
    <string>Select &amp;None</string>
286
 
   </property>
287
 
  </action>
288
 
  <action name="actionNew">
289
 
   <property name="icon">
290
 
    <iconset resource="tiled.qrc">
291
 
     <normaloff>:/images/16x16/document-new.png</normaloff>:/images/16x16/document-new.png</iconset>
292
 
   </property>
293
 
   <property name="text">
294
 
    <string>New...</string>
295
 
   </property>
296
 
  </action>
297
 
  <action name="actionNewTileset">
298
 
   <property name="icon">
299
 
    <iconset resource="tiled.qrc">
300
 
     <normaloff>:/images/16x16/document-new.png</normaloff>:/images/16x16/document-new.png</iconset>
301
 
   </property>
302
 
   <property name="text">
303
 
    <string>New &amp;Tileset...</string>
304
 
   </property>
305
 
  </action>
306
 
  <action name="actionRemoveLayer">
307
 
   <property name="icon">
308
 
    <iconset resource="tiled.qrc">
309
 
     <normaloff>:/images/16x16/edit-delete.png</normaloff>:/images/16x16/edit-delete.png</iconset>
310
 
   </property>
311
 
   <property name="text">
312
 
    <string>&amp;Remove Layer</string>
313
 
   </property>
314
 
  </action>
315
 
  <action name="actionClose">
316
 
   <property name="icon">
317
 
    <iconset resource="tiled.qrc">
318
 
     <normaloff>:/images/16x16/window-close.png</normaloff>:/images/16x16/window-close.png</iconset>
319
 
   </property>
320
 
   <property name="text">
321
 
    <string>&amp;Close</string>
322
 
   </property>
323
 
  </action>
324
 
  <action name="actionAddTileLayer">
325
 
   <property name="text">
326
 
    <string>Add &amp;Tile Layer...</string>
327
 
   </property>
328
 
  </action>
329
 
  <action name="actionAddObjectLayer">
330
 
   <property name="text">
331
 
    <string>Add &amp;Object Layer...</string>
332
 
   </property>
333
 
  </action>
334
 
  <action name="actionDuplicateLayer">
335
 
   <property name="icon">
336
 
    <iconset resource="tiled.qrc">
337
 
     <normaloff>:/images/16x16/stock-duplicate-16.png</normaloff>:/images/16x16/stock-duplicate-16.png</iconset>
338
 
   </property>
339
 
   <property name="text">
340
 
    <string>&amp;Duplicate Layer</string>
341
 
   </property>
342
 
   <property name="shortcut">
343
 
    <string>Ctrl+Shift+D</string>
344
 
   </property>
345
 
  </action>
346
 
  <action name="actionLayerProperties">
347
 
   <property name="icon">
348
 
    <iconset resource="tiled.qrc">
349
 
     <normaloff>:/images/16x16/document-properties.png</normaloff>:/images/16x16/document-properties.png</iconset>
350
 
   </property>
351
 
   <property name="text">
352
 
    <string>Layer &amp;Properties...</string>
353
 
   </property>
354
 
  </action>
355
 
  <action name="actionZoomIn">
356
 
   <property name="icon">
357
 
    <iconset resource="tiled.qrc">
358
 
     <normaloff>:/images/16x16/zoom-in.png</normaloff>:/images/16x16/zoom-in.png</iconset>
359
 
   </property>
360
 
   <property name="text">
361
 
    <string>Zoom In</string>
362
 
   </property>
363
 
  </action>
364
 
  <action name="actionZoomOut">
365
 
   <property name="icon">
366
 
    <iconset resource="tiled.qrc">
367
 
     <normaloff>:/images/16x16/zoom-out.png</normaloff>:/images/16x16/zoom-out.png</iconset>
368
 
   </property>
369
 
   <property name="text">
370
 
    <string>Zoom Out</string>
371
 
   </property>
372
 
  </action>
373
 
  <action name="actionZoomNormal">
374
 
   <property name="enabled">
375
 
    <bool>false</bool>
376
 
   </property>
377
 
   <property name="icon">
378
 
    <iconset resource="tiled.qrc">
379
 
     <normaloff>:/images/16x16/zoom-original.png</normaloff>:/images/16x16/zoom-original.png</iconset>
380
 
   </property>
381
 
   <property name="text">
382
 
    <string>Normal Size</string>
383
 
   </property>
384
 
   <property name="shortcut">
385
 
    <string>Ctrl+0</string>
386
 
   </property>
387
 
  </action>
388
 
  <action name="actionSaveAsImage">
389
 
   <property name="text">
390
 
    <string>Save As Image...</string>
391
 
   </property>
392
 
  </action>
393
 
  <action name="actionCut">
394
 
   <property name="enabled">
395
 
    <bool>false</bool>
396
 
   </property>
397
 
   <property name="icon">
398
 
    <iconset resource="tiled.qrc">
399
 
     <normaloff>:/images/16x16/edit-cut.png</normaloff>:/images/16x16/edit-cut.png</iconset>
400
 
   </property>
401
 
   <property name="text">
402
 
    <string>Cu&amp;t</string>
403
 
   </property>
404
 
  </action>
405
 
  <action name="actionOffsetMap">
406
 
   <property name="text">
407
 
    <string>&amp;Offset Map...</string>
408
 
   </property>
409
 
   <property name="toolTip">
410
 
    <string>Offsets everything in a layer</string>
411
 
   </property>
412
 
  </action>
413
 
  <action name="actionPreferences">
414
 
   <property name="text">
415
 
    <string>Pre&amp;ferences...</string>
416
 
   </property>
417
 
  </action>
418
 
  <action name="actionClearRecentFiles">
419
 
   <property name="icon">
420
 
    <iconset resource="tiled.qrc">
421
 
     <normaloff>:/images/16x16/edit-clear.png</normaloff>:/images/16x16/edit-clear.png</iconset>
422
 
   </property>
423
 
   <property name="text">
424
 
    <string>Clear Recent Files</string>
425
 
   </property>
426
 
  </action>
427
 
 </widget>
428
 
 <layoutdefault spacing="6" margin="11"/>
429
 
 <customwidgets>
430
 
  <customwidget>
431
 
   <class>Tiled::Internal::MapView</class>
432
 
   <extends>QGraphicsView</extends>
433
 
   <header>mapview.h</header>
434
 
  </customwidget>
435
 
 </customwidgets>
436
 
 <tabstops>
437
 
  <tabstop>mapView</tabstop>
438
 
 </tabstops>
439
 
 <resources>
440
 
  <include location="tiled.qrc"/>
441
 
 </resources>
442
 
 <connections/>
443
 
</ui>