@@ -637,19 +637,19 @@ void QgisApp::createActions()
637
637
mActionPasteFeatures ->setEnabled ( false );
638
638
639
639
mActionCapturePoint = new QAction ( getThemeIcon ( " mActionCapturePoint.png" ), tr ( " Capture Point" ), this );
640
- shortcuts->registerAction ( mActionCapturePoint , tr ( " ." , " Capture Points" ) );
640
+ shortcuts->registerAction ( mActionCapturePoint , tr ( " Ctrl+ ." , " Capture Points" ) );
641
641
mActionCapturePoint ->setStatusTip ( tr ( " Capture Points" ) );
642
642
connect ( mActionCapturePoint , SIGNAL ( triggered () ), this , SLOT ( capturePoint () ) );
643
643
mActionCapturePoint ->setEnabled ( false );
644
644
645
645
mActionCaptureLine = new QAction ( getThemeIcon ( " mActionCaptureLine.png" ), tr ( " Capture Line" ), this );
646
- shortcuts->registerAction ( mActionCaptureLine , tr ( " /" , " Capture Lines" ) );
646
+ shortcuts->registerAction ( mActionCaptureLine , tr ( " Ctrl+ /" , " Capture Lines" ) );
647
647
mActionCaptureLine ->setStatusTip ( tr ( " Capture Lines" ) );
648
648
connect ( mActionCaptureLine , SIGNAL ( triggered () ), this , SLOT ( captureLine () ) );
649
649
mActionCaptureLine ->setEnabled ( false );
650
650
651
651
mActionCapturePolygon = new QAction ( getThemeIcon ( " mActionCapturePolygon.png" ), tr ( " Capture Polygon" ), this );
652
- shortcuts->registerAction ( mActionCapturePolygon , tr ( " Ctrl+/" , " Capture Polygons" ) );
652
+ shortcuts->registerAction ( mActionCapturePolygon , tr ( " Ctrl+Shift+ /" , " Capture Polygons" ) );
653
653
mActionCapturePolygon ->setStatusTip ( tr ( " Capture Polygons" ) );
654
654
connect ( mActionCapturePolygon , SIGNAL ( triggered () ), this , SLOT ( capturePolygon () ) );
655
655
mActionCapturePolygon ->setEnabled ( false );
@@ -756,23 +756,23 @@ void QgisApp::createActions()
756
756
mActionSelect ->setEnabled ( false );
757
757
758
758
mActionIdentify = new QAction ( getThemeIcon ( " mActionIdentify.png" ), tr ( " Identify Features" ), this );
759
- shortcuts->registerAction ( mActionIdentify , tr ( " I" , " Click on features to identify them" ) );
759
+ shortcuts->registerAction ( mActionIdentify , tr ( " Ctrl+Shift+ I" , " Click on features to identify them" ) );
760
760
mActionIdentify ->setStatusTip ( tr ( " Click on features to identify them" ) );
761
761
connect ( mActionIdentify , SIGNAL ( triggered () ), this , SLOT ( identify () ) );
762
762
mActionIdentify ->setEnabled ( false );
763
763
764
764
mActionMeasure = new QAction ( getThemeIcon ( " mActionMeasure.png" ), tr ( " Measure Line " ), this );
765
- shortcuts->registerAction ( mActionMeasure , tr ( " M" , " Measure a Line" ) );
765
+ shortcuts->registerAction ( mActionMeasure , tr ( " Ctrl+Shift+ M" , " Measure a Line" ) );
766
766
mActionMeasure ->setStatusTip ( tr ( " Measure a Line" ) );
767
767
connect ( mActionMeasure , SIGNAL ( triggered () ), this , SLOT ( measure () ) );
768
768
769
769
mActionMeasureArea = new QAction ( getThemeIcon ( " mActionMeasureArea.png" ), tr ( " Measure Area" ), this );
770
- shortcuts->registerAction ( mActionMeasureArea , tr ( " J" , " Measure an Area" ) );
770
+ shortcuts->registerAction ( mActionMeasureArea , tr ( " Ctrl+Shift+ J" , " Measure an Area" ) );
771
771
mActionMeasureArea ->setStatusTip ( tr ( " Measure an Area" ) );
772
772
connect ( mActionMeasureArea , SIGNAL ( triggered () ), this , SLOT ( measureArea () ) );
773
773
774
774
mActionZoomFullExtent = new QAction ( getThemeIcon ( " mActionZoomFullExtent.png" ), tr ( " Zoom Full" ), this );
775
- shortcuts->registerAction ( mActionZoomFullExtent , tr ( " F" , " Zoom to Full Extents" ) );
775
+ shortcuts->registerAction ( mActionZoomFullExtent , tr ( " Ctrl+Shift+ F" , " Zoom to Full Extents" ) );
776
776
mActionZoomFullExtent ->setStatusTip ( tr ( " Zoom to Full Extents" ) );
777
777
connect ( mActionZoomFullExtent , SIGNAL ( triggered () ), this , SLOT ( zoomFull () ) );
778
778
@@ -814,7 +814,7 @@ void QgisApp::createActions()
814
814
connect ( mActionNewBookmark , SIGNAL ( triggered () ), this , SLOT ( newBookmark () ) );
815
815
816
816
mActionShowBookmarks = new QAction ( getThemeIcon ( " mActionShowBookmarks.png" ), tr ( " Show Bookmarks" ), this );
817
- shortcuts->registerAction ( mActionShowBookmarks , tr ( " B" , " Show Bookmarks" ) );
817
+ shortcuts->registerAction ( mActionShowBookmarks , tr ( " Ctrl+Shift+ B" , " Show Bookmarks" ) );
818
818
mActionShowBookmarks ->setStatusTip ( tr ( " Show Bookmarks" ) );
819
819
connect ( mActionShowBookmarks , SIGNAL ( triggered () ), this , SLOT ( showBookmarks () ) );
820
820
@@ -826,22 +826,22 @@ void QgisApp::createActions()
826
826
// Layer Menu Items
827
827
828
828
mActionNewVectorLayer = new QAction ( getThemeIcon ( " mActionNewVectorLayer.png" ), tr ( " New Vector Layer..." ), this );
829
- shortcuts->registerAction ( mActionNewVectorLayer , tr ( " N" , " Create a New Vector Layer" ) );
829
+ shortcuts->registerAction ( mActionNewVectorLayer , tr ( " Ctrl+Shift+ N" , " Create a New Vector Layer" ) );
830
830
mActionNewVectorLayer ->setStatusTip ( tr ( " Create a New Vector Layer" ) );
831
831
connect ( mActionNewVectorLayer , SIGNAL ( triggered () ), this , SLOT ( newVectorLayer () ) );
832
832
833
833
mActionAddOgrLayer = new QAction ( getThemeIcon ( " mActionAddOgrLayer.png" ), tr ( " Add Vector Layer..." ), this );
834
- shortcuts->registerAction ( mActionAddOgrLayer , tr ( " V" , " Add a Vector Layer" ) );
834
+ shortcuts->registerAction ( mActionAddOgrLayer , tr ( " Ctrl+Shift+ V" , " Add a Vector Layer" ) );
835
835
mActionAddOgrLayer ->setStatusTip ( tr ( " Add a Vector Layer" ) );
836
836
connect ( mActionAddOgrLayer , SIGNAL ( triggered () ), this , SLOT ( addVectorLayer () ) );
837
837
838
838
mActionAddRasterLayer = new QAction ( getThemeIcon ( " mActionAddRasterLayer.png" ), tr ( " Add Raster Layer..." ), this );
839
- shortcuts->registerAction ( mActionAddRasterLayer , tr ( " R" , " Add a Raster Layer" ) );
839
+ shortcuts->registerAction ( mActionAddRasterLayer , tr ( " Ctrl+Shift+ R" , " Add a Raster Layer" ) );
840
840
mActionAddRasterLayer ->setStatusTip ( tr ( " Add a Raster Layer" ) );
841
841
connect ( mActionAddRasterLayer , SIGNAL ( triggered () ), this , SLOT ( addRasterLayer () ) );
842
842
843
843
mActionAddPgLayer = new QAction ( getThemeIcon ( " mActionAddLayer.png" ), tr ( " Add PostGIS Layer..." ), this );
844
- shortcuts->registerAction ( mActionAddPgLayer , tr ( " D" , " Add a PostGIS Layer" ) );
844
+ shortcuts->registerAction ( mActionAddPgLayer , tr ( " Ctrl+Shift+ D" , " Add a PostGIS Layer" ) );
845
845
mActionAddPgLayer ->setStatusTip ( tr ( " Add a PostGIS Layer" ) );
846
846
// #ifdef HAVE_POSTGRESQL
847
847
// QgsDebugMsg("HAVE_POSTGRESQL is defined");
@@ -853,7 +853,7 @@ void QgisApp::createActions()
853
853
connect ( mActionAddPgLayer , SIGNAL ( triggered () ), this , SLOT ( addDatabaseLayer () ) );
854
854
855
855
mActionAddSpatiaLiteLayer = new QAction ( getThemeIcon ( " mActionAddSpatiaLiteLayer.png" ), tr ( " Add SpatiaLite Layer..." ), this );
856
- shortcuts->registerAction ( mActionAddSpatiaLiteLayer , tr ( " L" , " Add a SpatiaLite Layer" ) );
856
+ shortcuts->registerAction ( mActionAddSpatiaLiteLayer , tr ( " Ctrl+Shift+ L" , " Add a SpatiaLite Layer" ) );
857
857
mActionAddSpatiaLiteLayer ->setStatusTip ( tr ( " Add a SpatiaLite Layer" ) );
858
858
connect ( mActionAddSpatiaLiteLayer , SIGNAL ( triggered () ), this , SLOT ( addSpatiaLiteLayer () ) );
859
859
// #ifdef HAVE_SPATIALITE
@@ -865,7 +865,7 @@ void QgisApp::createActions()
865
865
// #endif
866
866
867
867
mActionAddWmsLayer = new QAction ( getThemeIcon ( " mActionAddWmsLayer.png" ), tr ( " Add WMS Layer..." ), this );
868
- shortcuts->registerAction ( mActionAddWmsLayer , tr ( " W" , " Add a Web Mapping Server Layer" ) );
868
+ shortcuts->registerAction ( mActionAddWmsLayer , tr ( " Ctrl+Shift+ W" , " Add a Web Mapping Server Layer" ) );
869
869
mActionAddWmsLayer ->setStatusTip ( tr ( " Add a Web Mapping Server Layer" ) );
870
870
connect ( mActionAddWmsLayer , SIGNAL ( triggered () ), this , SLOT ( addWmsLayer () ) );
871
871
@@ -907,28 +907,28 @@ void QgisApp::createActions()
907
907
mActionLayerProperties ->setEnabled ( false );
908
908
909
909
mActionAddToOverview = new QAction ( getThemeIcon ( " mActionInOverview.png" ), tr ( " Add to Overview" ), this );
910
- shortcuts->registerAction ( mActionAddToOverview , tr ( " O" , " Add current layer to overview map" ) );
910
+ shortcuts->registerAction ( mActionAddToOverview , tr ( " Ctrl+Shift+ O" , " Add current layer to overview map" ) );
911
911
mActionAddToOverview ->setStatusTip ( tr ( " Add current layer to overview map" ) );
912
912
connect ( mActionAddToOverview , SIGNAL ( triggered () ), this , SLOT ( isInOverview () ) );
913
913
mActionAddToOverview ->setEnabled ( false );
914
914
915
915
mActionAddAllToOverview = new QAction ( getThemeIcon ( " mActionAddAllToOverview.png" ), tr ( " Add All to Overview" ), this );
916
- shortcuts->registerAction ( mActionAddAllToOverview , tr ( " +" , " Show all layers in the overview map" ) );
916
+ shortcuts->registerAction ( mActionAddAllToOverview ); // , tr( "+", "Show all layers in the overview map" ) );
917
917
mActionAddAllToOverview ->setStatusTip ( tr ( " Show all layers in the overview map" ) );
918
918
connect ( mActionAddAllToOverview , SIGNAL ( triggered () ), this , SLOT ( addAllToOverview () ) );
919
919
920
920
mActionRemoveAllFromOverview = new QAction ( getThemeIcon ( " mActionRemoveAllFromOverview.png" ), tr ( " Remove All From Overview" ), this );
921
- shortcuts->registerAction ( mActionRemoveAllFromOverview , tr ( " -" , " Remove all layers from overview map" ) );
921
+ shortcuts->registerAction ( mActionRemoveAllFromOverview ); // , tr( "-", "Remove all layers from overview map" ) );
922
922
mActionRemoveAllFromOverview ->setStatusTip ( tr ( " Remove all layers from overview map" ) );
923
923
connect ( mActionRemoveAllFromOverview , SIGNAL ( triggered () ), this , SLOT ( removeAllFromOverview () ) );
924
924
925
925
mActionShowAllLayers = new QAction ( getThemeIcon ( " mActionShowAllLayers.png" ), tr ( " Show All Layers" ), this );
926
- shortcuts->registerAction ( mActionShowAllLayers , tr ( " S " , " Show all layers" ) );
926
+ shortcuts->registerAction ( mActionShowAllLayers , tr ( " Ctrl+Shift+U " , " Show all layers" ) );
927
927
mActionShowAllLayers ->setStatusTip ( tr ( " Show all layers" ) );
928
928
connect ( mActionShowAllLayers , SIGNAL ( triggered () ), this , SLOT ( showAllLayers () ) );
929
929
930
930
mActionHideAllLayers = new QAction ( getThemeIcon ( " mActionHideAllLayers.png" ), tr ( " Hide All Layers" ), this );
931
- shortcuts->registerAction ( mActionHideAllLayers , tr ( " H" , " Hide all layers" ) );
931
+ shortcuts->registerAction ( mActionHideAllLayers , tr ( " Ctrl+Shift+ H" , " Hide all layers" ) );
932
932
mActionHideAllLayers ->setStatusTip ( tr ( " Hide all layers" ) );
933
933
connect ( mActionHideAllLayers , SIGNAL ( triggered () ), this , SLOT ( hideAllLayers () ) );
934
934
@@ -947,7 +947,7 @@ void QgisApp::createActions()
947
947
connect ( mActionToggleFullScreen , SIGNAL ( triggered () ), this , SLOT ( toggleFullScreen () ) );
948
948
949
949
mActionProjectProperties = new QAction ( getThemeIcon ( " mActionProjectProperties.png" ), tr ( " Project Properties..." ), this );
950
- shortcuts->registerAction ( mActionProjectProperties , tr ( " P" , " Set project properties" ) );
950
+ shortcuts->registerAction ( mActionProjectProperties , tr ( " Ctrl+Shift+ P" , " Set project properties" ) );
951
951
mActionProjectProperties ->setStatusTip ( tr ( " Set project properties" ) );
952
952
connect ( mActionProjectProperties , SIGNAL ( triggered () ), this , SLOT ( projectProperties () ) );
953
953
0 commit comments