Skip to content

Commit

Permalink
Create icons for layout map item toolbar actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn authored and nyalldawson committed Dec 18, 2018
1 parent 75b7d14 commit 1b98247
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions images/images.qrc
Expand Up @@ -316,6 +316,8 @@
<file>themes/default/mActionNewVectorLayer.svg</file>
<file>themes/default/mActionVertexTool.svg</file>
<file>themes/default/mActionVertexToolActiveLayer.svg</file>
<file>themes/default/mActionViewExtentInCanvas.svg</file>
<file>themes/default/mActionViewScaleInCanvas.svg</file>
<file>themes/default/mActionOffsetCurve.svg</file>
<file>themes/default/mActionOpenTable.svg</file>
<file>themes/default/mActionAddTable.svg</file>
Expand Down Expand Up @@ -365,6 +367,8 @@
<file>themes/default/mActionSelectRectangle.svg</file>
<file>themes/default/mActionSelectAllTree.svg</file>
<file>themes/default/mActionSetProjection.svg</file>
<file>themes/default/mActionSetToCanvasExtent.svg</file>
<file>themes/default/mActionSetToCanvasScale.svg</file>
<file>themes/default/mActionSharing.svg</file>
<file>themes/default/mActionSharingExport.svg</file>
<file>themes/default/mActionSharingImport.svg</file>
Expand Down
1 change: 1 addition & 0 deletions images/themes/default/mActionSetToCanvasExtent.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/themes/default/mActionSetToCanvasScale.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/themes/default/mActionViewExtentInCanvas.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/themes/default/mActionViewScaleInCanvas.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/ui/layout/qgslayoutmapwidgetbase.ui
Expand Up @@ -820,7 +820,7 @@
<action name="mActionSetToCanvasExtent">
<property name="icon">
<iconset resource="../../../images/images.qrc">
<normaloff>:/images/themes/default/mActionZoomFullExtent.svg</normaloff>:/images/themes/default/mActionZoomFullExtent.svg</iconset>
<normaloff>:/images/themes/default/mActionSetToCanvasExtent.svg</normaloff>:/images/themes/default/mActionSetToCanvasExtent.svg</iconset>
</property>
<property name="text">
<string>Set to Map Canvas Extent</string>
Expand All @@ -832,7 +832,7 @@
<action name="mActionViewExtentInCanvas">
<property name="icon">
<iconset resource="../../../images/images.qrc">
<normaloff>:/images/themes/default/mActionZoomToLayer.svg</normaloff>:/images/themes/default/mActionZoomToLayer.svg</iconset>
<normaloff>:/images/themes/default/mActionViewExtentInCanvas.svg</normaloff>:/images/themes/default/mActionViewExtentInCanvas.svg</iconset>
</property>
<property name="text">
<string>View Extent in Map Canvas</string>
Expand All @@ -856,7 +856,7 @@
<action name="mActionViewScaleInCanvas">
<property name="icon">
<iconset resource="../../../images/images.qrc">
<normaloff>:/images/themes/default/mActionScaleHighlightFeature.svg</normaloff>:/images/themes/default/mActionScaleHighlightFeature.svg</iconset>
<normaloff>:/images/themes/default/mActionViewScaleInCanvas.svg</normaloff>:/images/themes/default/mActionViewScaleInCanvas.svg</iconset>
</property>
<property name="text">
<string>View Scale in Map Canvas</string>
Expand All @@ -868,7 +868,7 @@
<action name="mActionSetToCanvasScale">
<property name="icon">
<iconset resource="../../../images/images.qrc">
<normaloff>:/images/themes/default/mActionZoomToBookmark.svg</normaloff>:/images/themes/default/mActionZoomToBookmark.svg</iconset>
<normaloff>:/images/themes/default/mActionSetToCanvasScale.svg</normaloff>:/images/themes/default/mActionSetToCanvasScale.svg</iconset>
</property>
<property name="text">
<string>Set to Map Canvas Scale</string>
Expand Down

0 comments on commit 1b98247

Please sign in to comment.