@@ -373,7 +373,7 @@ class GUI_EXPORT QgisInterface : public QObject
373
373
* An item can be inserted before any existing action.
374
374
*/
375
375
376
- // ! Menus
376
+ // Menus
377
377
#ifndef Q_MOC_RUN
378
378
Q_DECL_DEPRECATED
379
379
#endif
@@ -401,7 +401,7 @@ class GUI_EXPORT QgisInterface : public QObject
401
401
virtual QMenu *windowMenu () = 0;
402
402
virtual QMenu *helpMenu () = 0;
403
403
404
- // ! ToolBars
404
+ // ToolBars
405
405
virtual QToolBar *fileToolBar () = 0;
406
406
virtual QToolBar *layerToolBar () = 0;
407
407
virtual QToolBar *mapNavToolToolBar () = 0;
@@ -423,7 +423,7 @@ class GUI_EXPORT QgisInterface : public QObject
423
423
*/
424
424
virtual QToolBar *webToolBar () = 0;
425
425
426
- // ! Project menu actions
426
+ // Project menu actions
427
427
virtual QAction *actionNewProject () = 0;
428
428
virtual QAction *actionOpenProject () = 0;
429
429
virtual QAction *actionSaveProject () = 0;
@@ -434,7 +434,7 @@ class GUI_EXPORT QgisInterface : public QObject
434
434
virtual QAction *actionShowComposerManager () = 0;
435
435
virtual QAction *actionExit () = 0;
436
436
437
- // ! Edit menu actions
437
+ // Edit menu actions
438
438
virtual QAction *actionCutFeatures () = 0;
439
439
virtual QAction *actionCopyFeatures () = 0;
440
440
virtual QAction *actionPasteFeatures () = 0;
@@ -450,31 +450,53 @@ class GUI_EXPORT QgisInterface : public QObject
450
450
virtual QAction *actionDeletePart () = 0;
451
451
virtual QAction *actionNodeTool () = 0;
452
452
453
- // ! View menu actions
453
+ // View menu actions
454
+ // ! Get access to the native pan action. Call trigger() on it to set the default pan map tool.
454
455
virtual QAction *actionPan () = 0;
456
+ // ! Get access to the native touch action.
455
457
virtual QAction *actionTouch () = 0;
458
+ // ! Get access to the native pan to selected action. Call trigger() on it to pan the map canvas to the selection.
456
459
virtual QAction *actionPanToSelected () = 0;
460
+ // ! Get access to the native zoom in action. Call trigger() on it to set the default zoom in map tool.
457
461
virtual QAction *actionZoomIn () = 0;
462
+ // ! Get access to the native zoom out action. Call trigger() on it to set the default zoom out map tool.
458
463
virtual QAction *actionZoomOut () = 0;
464
+ // ! Get access to the native select action. Call trigger() on it to set the default select map tool.
459
465
virtual QAction *actionSelect () = 0;
466
+ // ! Get access to the native select rectangle action. Call trigger() on it to set the default select rectangle map tool.
460
467
virtual QAction *actionSelectRectangle () = 0;
468
+ // ! Get access to the native select polygon action. Call trigger() on it to set the default select polygon map tool.
461
469
virtual QAction *actionSelectPolygon () = 0;
470
+ // ! Get access to the native select freehand action. Call trigger() on it to set the default select freehand map tool.
462
471
virtual QAction *actionSelectFreehand () = 0;
472
+ // ! Get access to the native select radius action. Call trigger() on it to set the default select radius map tool.
463
473
virtual QAction *actionSelectRadius () = 0;
474
+ // ! Get access to the native identify action. Call trigger() on it to set the default identify map tool.
464
475
virtual QAction *actionIdentify () = 0;
476
+ // ! Get access to the native measure action. Call trigger() on it to set the default measure map tool.
465
477
virtual QAction *actionMeasure () = 0;
478
+ // ! Get access to the native measure area action. Call trigger() on it to set the default measure area map tool.
466
479
virtual QAction *actionMeasureArea () = 0;
480
+ // ! Get access to the native zoom full extent action. Call trigger() on it to zoom to the full extent.
467
481
virtual QAction *actionZoomFullExtent () = 0;
482
+ // ! Get access to the native zoom to layer action. Call trigger() on it to zoom to the active layer.
468
483
virtual QAction *actionZoomToLayer () = 0;
484
+ // ! Get access to the native zoom to selected action. Call trigger() on it to zoom to the current selection.
469
485
virtual QAction *actionZoomToSelected () = 0;
486
+ // ! Get access to the native zoom last action. Call trigger() on it to zoom to last.
470
487
virtual QAction *actionZoomLast () = 0;
488
+ // ! Get access to the native zoom actual size action. Call trigger() on it to zoom to actual size.
471
489
virtual QAction *actionZoomActualSize () = 0;
490
+ // ! Get access to the native map tips action. Call trigger() on it to toggle map tips.
472
491
virtual QAction *actionMapTips () = 0;
492
+ // ! Get access to the native new bookmark action. Call trigger() on it to open the new bookmark dialog.
473
493
virtual QAction *actionNewBookmark () = 0;
494
+ // ! Get access to the native show bookmarks action. Call trigger() on it to open the bookmarks dialog.
474
495
virtual QAction *actionShowBookmarks () = 0;
496
+ // ! Get access to the native draw action.
475
497
virtual QAction *actionDraw () = 0;
476
498
477
- // ! Layer menu actions
499
+ // Layer menu actions
478
500
virtual QAction *actionNewVectorLayer () = 0;
479
501
virtual QAction *actionAddOgrLayer () = 0;
480
502
virtual QAction *actionAddRasterLayer () = 0;
@@ -515,17 +537,17 @@ class GUI_EXPORT QgisInterface : public QObject
515
537
virtual QAction *actionHideAllLayers () = 0;
516
538
virtual QAction *actionShowAllLayers () = 0;
517
539
518
- // ! Plugin menu actions
540
+ // Plugin menu actions
519
541
virtual QAction *actionManagePlugins () = 0;
520
542
virtual QAction *actionPluginListSeparator () = 0;
521
543
virtual QAction *actionShowPythonDialog () = 0;
522
544
523
- // ! Settings menu actions
545
+ // Settings menu actions
524
546
virtual QAction *actionToggleFullScreen () = 0;
525
547
virtual QAction *actionOptions () = 0;
526
548
virtual QAction *actionCustomProjection () = 0;
527
549
528
- // ! Help menu actions
550
+ // Help menu actions
529
551
virtual QAction *actionHelpContents () = 0;
530
552
virtual QAction *actionQgisHomePage () = 0;
531
553
virtual QAction *actionCheckQgisVersion () = 0;
0 commit comments