Skip to content
Permalink
Browse files
[UX] homogenize labels for zoom to native resolution action
  • Loading branch information
slarosa committed Oct 6, 2015
1 parent 95e829d commit 63780563d8cfff16c9a835b098fbef05a24b1466
Showing with 5 additions and 5 deletions.
  1. +1 −1 src/app/qgsapplayertreeviewmenuprovider.cpp
  2. +1 −1 src/gui/qgisinterface.h
  3. +3 −3 src/ui/qgisapp.ui
@@ -73,7 +73,7 @@ QMenu* QgsAppLayerTreeViewMenuProvider::createContextMenu()

if ( rlayer )
{
menu->addAction( tr( "&Zoom to Best Scale (100%)" ), QgisApp::instance(), SLOT( legendLayerZoomNative() ) );
menu->addAction( QgsApplication::getThemeIcon( "/mActionZoomActual.svg" ), tr( "&Zoom to Native Resolution (100%)" ), QgisApp::instance(), SLOT( legendLayerZoomNative() ) );

if ( rlayer->rasterType() != QgsRasterLayer::Palette )
menu->addAction( tr( "&Stretch Using Current Extent" ), QgisApp::instance(), SLOT( legendLayerStretchUsingCurrentExtent() ) );
@@ -443,7 +443,7 @@ class GUI_EXPORT QgisInterface : public QObject
virtual QAction *actionZoomLast() = 0;
//! Get access to the native zoom next action. Call trigger() on it to zoom to next.
virtual QAction *actionZoomNext() = 0;
//! Get access to the native zoom actual size action. Call trigger() on it to zoom to actual size.
//! Get access to the native zoom resolution (100%) action. Call trigger() on it to zoom to actual size.
virtual QAction *actionZoomActualSize() = 0;
//! Get access to the native map tips action. Call trigger() on it to toggle map tips.
virtual QAction *actionMapTips() = 0;
@@ -17,7 +17,7 @@
<x>0</x>
<y>0</y>
<width>1050</width>
<height>20</height>
<height>27</height>
</rect>
</property>
<property name="toolTip">
@@ -1105,10 +1105,10 @@
<normaloff>:/images/themes/default/mActionZoomActual.svg</normaloff>:/images/themes/default/mActionZoomActual.svg</iconset>
</property>
<property name="text">
<string>Zoom Actual Size</string>
<string>Zoom to Native Resolution (100%)</string>
</property>
<property name="toolTip">
<string>Zoom to Native Pixel Resolution</string>
<string>Zoom to Native Resolution (100%)</string>
</property>
</action>
<action name="mActionMapTips">

0 comments on commit 6378056

Please sign in to comment.