Skip to content

Commit

Permalink
Added tooltip to crs select toolbutton
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9025 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Aug 7, 2008
1 parent b3422a6 commit 7215139
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/coordinate_capture/coordinatecapture.cpp
Expand Up @@ -105,10 +105,12 @@ void CoordinateCapture::initGui()

QToolButton * mypUserCrsToolButton = new QToolButton(mypWidget);
mypUserCrsToolButton->setIcon(QIcon(":/coordinatecapture/geographic.png"));
mypUserCrsToolButton->setToolTip(tr("Click to select the CRS to use for coordinate display"));
connect(mypUserCrsToolButton , SIGNAL(clicked()), this, SLOT(setCRS()));

QLabel * mypCRSLabel = new QLabel(mypWidget);
mypCRSLabel->setPixmap(QPixmap(":/coordinatecapture/transformed.png"));
mypCRSLabel->setGeometry(mypUserCrsToolButton->geometry());

mpUserCrsEdit = new QLineEdit(mypWidget);
mpUserCrsEdit->setReadOnly(true);
Expand Down

0 comments on commit 7215139

Please sign in to comment.