Skip to content

Commit 8103b85

Browse files
author
gsherman
committed
Added tooltips to the scale and coordinate position displays
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6636 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 81b7562 commit 8103b85

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/qgisapp.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,7 @@ void QgisApp::createStatusBar()
10221022
mScaleLabel->setMargin(3);
10231023
mScaleLabel->setAlignment(Qt::AlignCenter);
10241024
QWhatsThis::add(mScaleLabel, tr("Displays the current map scale"));
1025+
QToolTip::add (mScaleLabel, tr("Current map scale"));
10251026
statusBar()->addWidget(mScaleLabel, 0,true);
10261027
//coords status bar widget
10271028
mCoordsLabel = new QLabel(QString(), statusBar());
@@ -1030,6 +1031,7 @@ void QgisApp::createStatusBar()
10301031
mCoordsLabel->setMargin(3);
10311032
mCoordsLabel->setAlignment(Qt::AlignCenter);
10321033
QWhatsThis::add(mCoordsLabel, tr("Shows the map coordinates at the current cursor postion. The display is continuously updated as the mouse is moved."));
1034+
QToolTip::add (mCoordsLabel, tr("Map coordinates at mouse cursor position"));
10331035
statusBar()->addWidget(mCoordsLabel, 0, true);
10341036
// render suppression status bar widget
10351037
mRenderSuppressionCBox = new QCheckBox(tr("Render"),statusBar());

0 commit comments

Comments
 (0)