Skip to content
Permalink
Browse files
Added tooltips and made textedits read only
git-svn-id: http://svn.osgeo.org/qgis/trunk@9008 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Aug 6, 2008
1 parent 392397b commit 3944236cf5e1e4c94a54bb5700c2ba05ffabb294
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 3944236

Please sign in to comment.