[QGIS Commit] r9069 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Aug 18 04:25:02 EDT 2008
Author: timlinux
Date: 2008-08-18 04:25:02 -0400 (Mon, 18 Aug 2008)
New Revision: 9069
Modified:
trunk/qgis/src/app/qgisapp.cpp
Log:
Set extents / pos label tooltip in status bar appropriately to context
Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp 2008-08-17 20:53:12 UTC (rev 9068)
+++ trunk/qgis/src/app/qgisapp.cpp 2008-08-18 08:25:02 UTC (rev 9069)
@@ -1135,7 +1135,6 @@
mCoordsLabel->setWhatsThis(tr("Shows the map coordinates at the "
"current cursor position. The display is continuously updated "
"as the mouse is moved."));
- mCoordsLabel->setToolTip(tr("Map coordinates at mouse cursor position"));
statusBar()->addPermanentWidget(mCoordsLabel, 0);
// add a label to show current scale
mScaleLabel = new QLabel(QString(),statusBar());
@@ -4491,12 +4490,14 @@
{
//extents view mode!
mToggleExtentsViewButton->setIcon(getThemeIcon("extents.png"));
+ mCoordsLabel->setToolTip(tr("Map coordinates for the current view extents"));
showExtents();
}
else
{
//mouse cursor pos view mode!
mToggleExtentsViewButton->setIcon(getThemeIcon("tracking.png"));
+ mCoordsLabel->setToolTip(tr("Map coordinates at mouse cursor position"));
}
}
More information about the QGIS-commit
mailing list