Skip to content

Commit

Permalink
Added tooltips to the scale and coordinate position displays
Browse files Browse the repository at this point in the history
in the status bar.



git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@6635 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Feb 18, 2007
1 parent c3c100f commit be6397e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@ void QgisApp::createStatusBar()
mScaleLabel->setMargin(3);
mScaleLabel->setAlignment(Qt::AlignCenter);
QWhatsThis::add(mScaleLabel, tr("Displays the current map scale"));
QToolTip::add (mScaleLabel, tr("Current map scale"));
statusBar()->addWidget(mScaleLabel, 0,true);
//coords status bar widget
mCoordsLabel = new QLabel(QString(), statusBar());
Expand All @@ -951,6 +952,7 @@ void QgisApp::createStatusBar()
mCoordsLabel->setMargin(3);
mCoordsLabel->setAlignment(Qt::AlignCenter);
QWhatsThis::add(mCoordsLabel, tr("Shows the map coordinates at the current cursor postion. The display is continuously updated as the mouse is moved."));
QToolTip::add (mCoordsLabel, tr("Map coordinates at mouse cursor position"));
statusBar()->addWidget(mCoordsLabel, 0, true);
// render suppression status bar widget
mRenderSuppressionCBox = new QCheckBox(tr("Render"),statusBar());
Expand Down

0 comments on commit be6397e

Please sign in to comment.