[QGIS Commit] r9025 - trunk/qgis/src/plugins/coordinate_capture

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Aug 7 18:14:56 EDT 2008


Author: timlinux
Date: 2008-08-07 18:14:56 -0400 (Thu, 07 Aug 2008)
New Revision: 9025

Modified:
   trunk/qgis/src/plugins/coordinate_capture/coordinatecapture.cpp
Log:
Added tooltip to crs select toolbutton


Modified: trunk/qgis/src/plugins/coordinate_capture/coordinatecapture.cpp
===================================================================
--- trunk/qgis/src/plugins/coordinate_capture/coordinatecapture.cpp	2008-08-07 22:14:05 UTC (rev 9024)
+++ trunk/qgis/src/plugins/coordinate_capture/coordinatecapture.cpp	2008-08-07 22:14:56 UTC (rev 9025)
@@ -105,10 +105,12 @@
   
   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);



More information about the QGIS-commit mailing list