Skip to content

Commit

Permalink
Added tooltips and made textedits read only
Browse files Browse the repository at this point in the history
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 3944236
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/coordinate_capture/coordinatecapture.cpp
Expand Up @@ -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()));
Expand Down

0 comments on commit 3944236

Please sign in to comment.