Skip to content

Commit be6397e

Browse files
author
gsherman
committed
Added tooltips to the scale and coordinate position displays
in the status bar. git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@6635 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent c3c100f commit be6397e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gui/qgisapp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,7 @@ void QgisApp::createStatusBar()
943943
mScaleLabel->setMargin(3);
944944
mScaleLabel->setAlignment(Qt::AlignCenter);
945945
QWhatsThis::add(mScaleLabel, tr("Displays the current map scale"));
946+
QToolTip::add (mScaleLabel, tr("Current map scale"));
946947
statusBar()->addWidget(mScaleLabel, 0,true);
947948
//coords status bar widget
948949
mCoordsLabel = new QLabel(QString(), statusBar());
@@ -951,6 +952,7 @@ void QgisApp::createStatusBar()
951952
mCoordsLabel->setMargin(3);
952953
mCoordsLabel->setAlignment(Qt::AlignCenter);
953954
QWhatsThis::add(mCoordsLabel, tr("Shows the map coordinates at the current cursor postion. The display is continuously updated as the mouse is moved."));
955+
QToolTip::add (mCoordsLabel, tr("Map coordinates at mouse cursor position"));
954956
statusBar()->addWidget(mCoordsLabel, 0, true);
955957
// render suppression status bar widget
956958
mRenderSuppressionCBox = new QCheckBox(tr("Render"),statusBar());

0 commit comments

Comments
 (0)