Skip to content
Permalink
Browse files
Added tooltips and made textedits read only
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9008 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Aug 6, 2008
1 parent 32de1fe commit 00938aff5243519bc97432a9a9ab78501f22ef33
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/plugins/coordinate_capture/coordinatecapture.cpp
@@ -102,10 +102,14 @@ void CoordinateCapture::initGui()

QLabel * mypGeoLabel = new QLabel(mypWidget);
mypGeoLabel->setPixmap(QPixmap(":/coordinatecapture/geographic.png"));
mypGeoLabel->setToolTip(tr("Coordinate in lat/long WGS84"));
QLabel * mypCRSLabel = new QLabel(mypWidget);
mypCRSLabel->setPixmap(QPixmap(":/coordinatecapture/transformed.png"));
mypGeoLabel->setToolTip(tr("Coordinate in map canvas coordinate reference system"));
mpGeoEdit = new QLineEdit(mypWidget);
mpGeoEdit->setReadOnly(true);
mpTransformedEdit = new QLineEdit(mypWidget);
mpTransformedEdit->setReadOnly(true);
QPushButton * mypCopyButton = new QPushButton(mypWidget);
mypCopyButton->setText(tr("Copy to clipboard"));
connect(mypCopyButton, SIGNAL(clicked()), this, SLOT(copy()));

0 comments on commit 00938af

Please sign in to comment.