Skip to content

Commit 1b98247

Browse files
nirvnnyalldawson
authored andcommitted
Create icons for layout map item toolbar actions
1 parent 75b7d14 commit 1b98247

6 files changed

+12
-4
lines changed

images/images.qrc

+4
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,8 @@
316316
<file>themes/default/mActionNewVectorLayer.svg</file>
317317
<file>themes/default/mActionVertexTool.svg</file>
318318
<file>themes/default/mActionVertexToolActiveLayer.svg</file>
319+
<file>themes/default/mActionViewExtentInCanvas.svg</file>
320+
<file>themes/default/mActionViewScaleInCanvas.svg</file>
319321
<file>themes/default/mActionOffsetCurve.svg</file>
320322
<file>themes/default/mActionOpenTable.svg</file>
321323
<file>themes/default/mActionAddTable.svg</file>
@@ -365,6 +367,8 @@
365367
<file>themes/default/mActionSelectRectangle.svg</file>
366368
<file>themes/default/mActionSelectAllTree.svg</file>
367369
<file>themes/default/mActionSetProjection.svg</file>
370+
<file>themes/default/mActionSetToCanvasExtent.svg</file>
371+
<file>themes/default/mActionSetToCanvasScale.svg</file>
368372
<file>themes/default/mActionSharing.svg</file>
369373
<file>themes/default/mActionSharingExport.svg</file>
370374
<file>themes/default/mActionSharingImport.svg</file>
Loading
Loading
Loading
Loading

src/ui/layout/qgslayoutmapwidgetbase.ui

+4-4
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@
820820
<action name="mActionSetToCanvasExtent">
821821
<property name="icon">
822822
<iconset resource="../../../images/images.qrc">
823-
<normaloff>:/images/themes/default/mActionZoomFullExtent.svg</normaloff>:/images/themes/default/mActionZoomFullExtent.svg</iconset>
823+
<normaloff>:/images/themes/default/mActionSetToCanvasExtent.svg</normaloff>:/images/themes/default/mActionSetToCanvasExtent.svg</iconset>
824824
</property>
825825
<property name="text">
826826
<string>Set to Map Canvas Extent</string>
@@ -832,7 +832,7 @@
832832
<action name="mActionViewExtentInCanvas">
833833
<property name="icon">
834834
<iconset resource="../../../images/images.qrc">
835-
<normaloff>:/images/themes/default/mActionZoomToLayer.svg</normaloff>:/images/themes/default/mActionZoomToLayer.svg</iconset>
835+
<normaloff>:/images/themes/default/mActionViewExtentInCanvas.svg</normaloff>:/images/themes/default/mActionViewExtentInCanvas.svg</iconset>
836836
</property>
837837
<property name="text">
838838
<string>View Extent in Map Canvas</string>
@@ -856,7 +856,7 @@
856856
<action name="mActionViewScaleInCanvas">
857857
<property name="icon">
858858
<iconset resource="../../../images/images.qrc">
859-
<normaloff>:/images/themes/default/mActionScaleHighlightFeature.svg</normaloff>:/images/themes/default/mActionScaleHighlightFeature.svg</iconset>
859+
<normaloff>:/images/themes/default/mActionViewScaleInCanvas.svg</normaloff>:/images/themes/default/mActionViewScaleInCanvas.svg</iconset>
860860
</property>
861861
<property name="text">
862862
<string>View Scale in Map Canvas</string>
@@ -868,7 +868,7 @@
868868
<action name="mActionSetToCanvasScale">
869869
<property name="icon">
870870
<iconset resource="../../../images/images.qrc">
871-
<normaloff>:/images/themes/default/mActionZoomToBookmark.svg</normaloff>:/images/themes/default/mActionZoomToBookmark.svg</iconset>
871+
<normaloff>:/images/themes/default/mActionSetToCanvasScale.svg</normaloff>:/images/themes/default/mActionSetToCanvasScale.svg</iconset>
872872
</property>
873873
<property name="text">
874874
<string>Set to Map Canvas Scale</string>

0 commit comments

Comments
 (0)