|
3 | 3 | <comment></comment>
|
4 | 4 | <exportmacro></exportmacro>
|
5 | 5 | <class>QgsComposerBase</class>
|
6 |
| - <widget class="Q3MainWindow" name="QgsComposerBase" > |
| 6 | + <widget class="QMainWindow" name="QgsComposerBase" > |
7 | 7 | <property name="geometry" >
|
8 | 8 | <rect>
|
9 | 9 | <x>0</x>
|
10 | 10 | <y>0</y>
|
11 |
| - <width>725</width> |
12 |
| - <height>526</height> |
| 11 | + <width>800</width> |
| 12 | + <height>600</height> |
13 | 13 | </rect>
|
14 | 14 | </property>
|
15 |
| - <property name="mouseTracking" > |
16 |
| - <bool>false</bool> |
17 |
| - </property> |
18 |
| - <property name="focusPolicy" > |
19 |
| - <enum>Qt::ClickFocus</enum> |
20 |
| - </property> |
21 | 15 | <property name="windowTitle" >
|
22 |
| - <string>Map Composer</string> |
| 16 | + <string>MainWindow</string> |
23 | 17 | </property>
|
24 |
| - <widget class="QWidget" name="widget" > |
25 |
| - <property name="geometry" > |
26 |
| - <rect> |
27 |
| - <x>0</x> |
28 |
| - <y>38</y> |
29 |
| - <width>725</width> |
30 |
| - <height>488</height> |
31 |
| - </rect> |
32 |
| - </property> |
| 18 | + <widget class="QWidget" name="centralwidget" > |
33 | 19 | <layout class="QGridLayout" >
|
34 | 20 | <property name="margin" >
|
35 |
| - <number>8</number> |
| 21 | + <number>9</number> |
36 | 22 | </property>
|
37 | 23 | <property name="spacing" >
|
38 | 24 | <number>6</number>
|
|
172 | 158 | </item>
|
173 | 159 | </layout>
|
174 | 160 | </widget>
|
175 |
| - <widget class="QWidget" name="tab" > |
| 161 | + <widget class="QWidget" name="tab_2" > |
176 | 162 | <attribute name="title" >
|
177 | 163 | <string>Item</string>
|
178 | 164 | </attribute>
|
|
211 | 197 | </item>
|
212 | 198 | </layout>
|
213 | 199 | </widget>
|
214 |
| - <widget class="Q3ToolBar" name="Toolbar_2" > |
| 200 | + <widget class="QStatusBar" name="statusbar" > |
215 | 201 | <property name="geometry" >
|
216 | 202 | <rect>
|
217 | 203 | <x>0</x>
|
218 |
| - <y>0</y> |
219 |
| - <width>223</width> |
220 |
| - <height>38</height> |
| 204 | + <y>578</y> |
| 205 | + <width>800</width> |
| 206 | + <height>22</height> |
221 | 207 | </rect>
|
222 | 208 | </property>
|
223 |
| - <property name="label" > |
224 |
| - <string>Toolbar_2</string> |
225 |
| - </property> |
226 |
| - <addaction name="actionSelectItem" /> |
227 |
| - <addaction name="actionAddMap" /> |
228 |
| - <addaction name="actionAddVectorLegend" /> |
229 |
| - <addaction name="actionAddScalebar" /> |
230 |
| - <addaction name="actionAddLabel" /> |
231 |
| - <addaction name="actionAddPicture" /> |
232 |
| - </widget> |
233 |
| - <widget class="Q3ToolBar" name="Toolbar" > |
234 |
| - <property name="geometry" > |
235 |
| - <rect> |
236 |
| - <x>223</x> |
237 |
| - <y>0</y> |
238 |
| - <width>155</width> |
239 |
| - <height>38</height> |
240 |
| - </rect> |
241 |
| - </property> |
242 |
| - <property name="label" > |
243 |
| - <string>Toolbar</string> |
244 |
| - </property> |
245 |
| - <addaction name="actionZoomIn" /> |
246 |
| - <addaction name="actionZoomOut" /> |
247 |
| - <addaction name="actionZoomFullExtent" /> |
248 |
| - <addaction name="actionRefresh" /> |
249 | 209 | </widget>
|
250 |
| - <widget class="Q3ToolBar" name="toolBar" > |
251 |
| - <property name="geometry" > |
252 |
| - <rect> |
253 |
| - <x>378</x> |
254 |
| - <y>0</y> |
255 |
| - <width>121</width> |
256 |
| - <height>38</height> |
257 |
| - </rect> |
258 |
| - </property> |
259 |
| - <property name="label" > |
260 |
| - <string>Tools</string> |
261 |
| - </property> |
262 |
| - <addaction name="actionPrint" /> |
263 |
| - <addaction name="actionImage" /> |
264 |
| - <addaction name="actionSvg" /> |
| 210 | + <widget class="QToolBar" name="toolBar" > |
| 211 | + <property name="orientation" > |
| 212 | + <enum>Qt::Horizontal</enum> |
| 213 | + </property> |
| 214 | + <attribute name="toolBarArea" > |
| 215 | + <number>4</number> |
| 216 | + </attribute> |
| 217 | + <addaction name="mActionOpenTemplate" /> |
| 218 | + <addaction name="mActionSaveTemplateAs" /> |
| 219 | + <addaction name="mActionExportAsImage" /> |
| 220 | + <addaction name="mActionExportAsSVG" /> |
| 221 | + <addaction name="mActionPrint" /> |
| 222 | + <addaction name="separator" /> |
| 223 | + <addaction name="mActionZoomAll" /> |
| 224 | + <addaction name="mActionZoomIn" /> |
| 225 | + <addaction name="mActionZoomOut" /> |
| 226 | + <addaction name="mActionRefreshView" /> |
| 227 | + <addaction name="separator" /> |
| 228 | + <addaction name="mActionAddNewMap" /> |
| 229 | + <addaction name="mActionAddNewLabel" /> |
| 230 | + <addaction name="mActionAddImage" /> |
| 231 | + <addaction name="mActionAddNewVectLegend" /> |
| 232 | + <addaction name="mActionAddNewScalebar" /> |
| 233 | + <addaction name="mActionSelectMoveItem" /> |
265 | 234 | </widget>
|
266 |
| - <action name="fileOpenAction" > |
267 |
| - <property name="enabled" > |
268 |
| - <bool>false</bool> |
269 |
| - </property> |
| 235 | + <action name="mActionOpenTemplate" > |
270 | 236 | <property name="icon" >
|
271 |
| - <iconset>themes/default/mActionFileOpen.png</iconset> |
| 237 | + <iconset>../themes/default/mActionFileOpen.png</iconset> |
272 | 238 | </property>
|
273 | 239 | <property name="text" >
|
274 | 240 | <string>&Open Template ...</string>
|
275 | 241 | </property>
|
276 |
| - <property name="iconText" > |
277 |
| - <string>Open Template</string> |
278 |
| - </property> |
279 |
| - <property name="shortcut" > |
280 |
| - <string>Ctrl+O</string> |
281 |
| - </property> |
282 | 242 | </action>
|
283 |
| - <action name="fileSaveAsAction" > |
284 |
| - <property name="enabled" > |
285 |
| - <bool>false</bool> |
286 |
| - </property> |
| 243 | + <action name="mActionSaveTemplateAs" > |
287 | 244 | <property name="icon" >
|
288 |
| - <iconset>themes/default/mActionFileSave.png</iconset> |
| 245 | + <iconset>../themes/default/mActionFileSaveAs.png</iconset> |
289 | 246 | </property>
|
290 | 247 | <property name="text" >
|
291 | 248 | <string>Save Template &As...</string>
|
292 | 249 | </property>
|
293 |
| - <property name="iconText" > |
294 |
| - <string>Save Template As</string> |
295 |
| - </property> |
296 |
| - <property name="shortcut" > |
297 |
| - <string/> |
298 |
| - </property> |
299 | 250 | </action>
|
300 |
| - <action name="actionPrint" > |
| 251 | + <action name="mActionPrint" > |
301 | 252 | <property name="icon" >
|
302 |
| - <iconset>themes/default/mActionFilePrint.png</iconset> |
| 253 | + <iconset>../themes/default/mActionFilePrint.png</iconset> |
303 | 254 | </property>
|
304 | 255 | <property name="text" >
|
305 | 256 | <string>&Print...</string>
|
306 | 257 | </property>
|
307 |
| - <property name="iconText" > |
308 |
| - <string>Print</string> |
309 |
| - </property> |
310 |
| - <property name="shortcut" > |
311 |
| - <string>Ctrl+P</string> |
312 |
| - </property> |
313 | 258 | </action>
|
314 |
| - <action name="actionZoomFullExtent" > |
| 259 | + <action name="mActionZoomAll" > |
315 | 260 | <property name="icon" >
|
316 |
| - <iconset>themes/default/mActionZoomFullExtent.png</iconset> |
| 261 | + <iconset>../themes/default/mActionZoomFullExtent.png</iconset> |
317 | 262 | </property>
|
318 | 263 | <property name="text" >
|
319 | 264 | <string>Zoom All</string>
|
320 | 265 | </property>
|
321 |
| - <property name="iconText" > |
322 |
| - <string>Zoom to full extent</string> |
323 |
| - </property> |
324 | 266 | </action>
|
325 |
| - <action name="actionZoomIn" > |
| 267 | + <action name="mActionZoomIn" > |
326 | 268 | <property name="icon" >
|
327 |
| - <iconset>themes/default/mActionZoomIn.png</iconset> |
| 269 | + <iconset>../themes/default/mActionZoomIn.png</iconset> |
328 | 270 | </property>
|
329 | 271 | <property name="text" >
|
330 | 272 | <string>Zoom In</string>
|
331 | 273 | </property>
|
332 |
| - <property name="iconText" > |
333 |
| - <string>Zoom in</string> |
334 |
| - </property> |
335 | 274 | </action>
|
336 |
| - <action name="actionZoomOut" > |
| 275 | + <action name="mActionZoomOut" > |
337 | 276 | <property name="icon" >
|
338 |
| - <iconset>themes/default/mActionZoomOut.png</iconset> |
| 277 | + <iconset>../themes/default/mActionZoomOut.png</iconset> |
339 | 278 | </property>
|
340 | 279 | <property name="text" >
|
341 | 280 | <string>Zoom Out</string>
|
342 | 281 | </property>
|
343 |
| - <property name="iconText" > |
344 |
| - <string>Zoom out</string> |
345 |
| - </property> |
346 | 282 | </action>
|
347 |
| - <action name="actionAddMap" > |
348 |
| - <property name="checkable" > |
349 |
| - <bool>true</bool> |
350 |
| - </property> |
| 283 | + <action name="mActionAddNewMap" > |
351 | 284 | <property name="icon" >
|
352 |
| - <iconset>themes/default/mActionAddNonDbLayer.png</iconset> |
| 285 | + <iconset>../themes/default/mActionAddRasterLayer.png</iconset> |
353 | 286 | </property>
|
354 | 287 | <property name="text" >
|
355 | 288 | <string>Add new map</string>
|
356 | 289 | </property>
|
357 |
| - <property name="iconText" > |
358 |
| - <string>Add new map</string> |
359 |
| - </property> |
360 | 290 | </action>
|
361 |
| - <action name="actionAddLabel" > |
362 |
| - <property name="checkable" > |
363 |
| - <bool>true</bool> |
364 |
| - </property> |
| 291 | + <action name="mActionAddNewLabel" > |
365 | 292 | <property name="icon" >
|
366 |
| - <iconset>themes/default/mActionLabel.png</iconset> |
| 293 | + <iconset>../themes/default/mActionLabel.png</iconset> |
367 | 294 | </property>
|
368 | 295 | <property name="text" >
|
369 | 296 | <string>Add new label</string>
|
370 | 297 | </property>
|
371 |
| - <property name="iconText" > |
372 |
| - <string>Add new label</string> |
373 |
| - </property> |
374 | 298 | </action>
|
375 |
| - <action name="actionAddVectorLegend" > |
376 |
| - <property name="checkable" > |
377 |
| - <bool>true</bool> |
378 |
| - </property> |
| 299 | + <action name="mActionAddNewVectLegend" > |
379 | 300 | <property name="icon" >
|
380 |
| - <iconset>themes/default/mActionAddLegend.png</iconset> |
| 301 | + <iconset>../themes/default/mActionAddLegend.png</iconset> |
381 | 302 | </property>
|
382 | 303 | <property name="text" >
|
383 | 304 | <string>Add new vect legend</string>
|
384 | 305 | </property>
|
385 |
| - <property name="iconText" > |
386 |
| - <string>Add new vect legend</string> |
387 |
| - </property> |
388 | 306 | </action>
|
389 |
| - <action name="actionSelectItem" > |
390 |
| - <property name="checkable" > |
391 |
| - <bool>true</bool> |
392 |
| - </property> |
| 307 | + <action name="mActionSelectMoveItem" > |
393 | 308 | <property name="icon" >
|
394 |
| - <iconset>themes/default/mActionSelect.png</iconset> |
| 309 | + <iconset>../themes/default/mActionPan.png</iconset> |
395 | 310 | </property>
|
396 | 311 | <property name="text" >
|
397 | 312 | <string>Select/Move item</string>
|
398 | 313 | </property>
|
399 |
| - <property name="iconText" > |
400 |
| - <string>Select/Move item</string> |
401 |
| - </property> |
402 | 314 | </action>
|
403 |
| - <action name="actionImage" > |
| 315 | + <action name="mActionExportAsImage" > |
404 | 316 | <property name="icon" >
|
405 |
| - <iconset>themes/default/mActionExportMapServer.png</iconset> |
| 317 | + <iconset>../themes/default/mActionExportMapServer.png</iconset> |
406 | 318 | </property>
|
407 | 319 | <property name="text" >
|
408 | 320 | <string>Export as image</string>
|
409 | 321 | </property>
|
410 |
| - <property name="iconText" > |
411 |
| - <string>Export as image</string> |
412 |
| - </property> |
413 | 322 | </action>
|
414 |
| - <action name="actionSvg" > |
| 323 | + <action name="mActionExportAsSVG" > |
415 | 324 | <property name="icon" >
|
416 |
| - <iconset>themes/default/mActionSaveAsSVG.png</iconset> |
| 325 | + <iconset>../themes/default/mActionSaveAsSVG.png</iconset> |
417 | 326 | </property>
|
418 | 327 | <property name="text" >
|
419 | 328 | <string>Export as SVG</string>
|
420 | 329 | </property>
|
421 |
| - <property name="iconText" > |
422 |
| - <string>Export as SVG</string> |
423 |
| - </property> |
424 | 330 | </action>
|
425 |
| - <action name="actionAddScalebar" > |
426 |
| - <property name="checkable" > |
427 |
| - <bool>true</bool> |
428 |
| - </property> |
| 331 | + <action name="mActionAddNewScalebar" > |
429 | 332 | <property name="icon" >
|
430 |
| - <iconset>themes/default/mActionMeasure.png</iconset> |
| 333 | + <iconset>../../plugins/scale_bar/icon.xpm</iconset> |
431 | 334 | </property>
|
432 | 335 | <property name="text" >
|
433 | 336 | <string>Add new scalebar</string>
|
434 | 337 | </property>
|
435 |
| - <property name="iconText" > |
436 |
| - <string>Add new scalebar</string> |
437 |
| - </property> |
438 | 338 | </action>
|
439 |
| - <action name="actionRefresh" > |
| 339 | + <action name="mActionRefreshView" > |
440 | 340 | <property name="icon" >
|
441 |
| - <iconset>themes/default/mActionDraw.png</iconset> |
| 341 | + <iconset>../themes/default/mActionDraw.png</iconset> |
442 | 342 | </property>
|
443 | 343 | <property name="text" >
|
444 | 344 | <string>Refresh view</string>
|
445 | 345 | </property>
|
446 |
| - <property name="iconText" > |
447 |
| - <string>Refresh view</string> |
448 |
| - </property> |
449 | 346 | </action>
|
450 |
| - <action name="actionAddPicture" > |
451 |
| - <property name="checkable" > |
452 |
| - <bool>true</bool> |
453 |
| - </property> |
| 347 | + <action name="mActionAddImage" > |
454 | 348 | <property name="icon" >
|
455 |
| - <iconset>themes/default/mActionAddRasterLayer.png</iconset> |
| 349 | + <iconset>../themes/default/mActionSaveMapAsImage.png</iconset> |
456 | 350 | </property>
|
457 |
| - <property name="iconText" > |
458 |
| - <string>Add new picture</string> |
| 351 | + <property name="text" > |
| 352 | + <string>Add Image</string> |
459 | 353 | </property>
|
460 | 354 | </action>
|
461 | 355 | </widget>
|
462 |
| - <layoutdefault spacing="6" margin="11" /> |
463 | 356 | <pixmapfunction></pixmapfunction>
|
464 | 357 | <customwidgets>
|
465 | 358 | <customwidget>
|
|
469 | 362 | <container>1</container>
|
470 | 363 | <pixmap></pixmap>
|
471 | 364 | </customwidget>
|
472 |
| - <customwidget> |
473 |
| - <class>Q3ToolBar</class> |
474 |
| - <extends></extends> |
475 |
| - <header>q3listview.h</header> |
476 |
| - <container>0</container> |
477 |
| - <pixmap></pixmap> |
478 |
| - </customwidget> |
479 |
| - <customwidget> |
480 |
| - <class>Q3MainWindow</class> |
481 |
| - <extends></extends> |
482 |
| - <header>q3mainwindow.h</header> |
483 |
| - <container>1</container> |
484 |
| - <pixmap></pixmap> |
485 |
| - </customwidget> |
486 | 365 | </customwidgets>
|
487 | 366 | <resources/>
|
488 | 367 | <connections/>
|
|
0 commit comments