mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2981 c8812cc2-4d05-0410-92ff-de0c093fc19c
42 lines
1.6 KiB
C++
42 lines
1.6 KiB
C++
|
|
/***************************************************************************
|
|
qgslocationcapturewidget.h
|
|
------------------
|
|
begin : March 2005
|
|
copyright : (C) 2005 by Tim Sutton
|
|
email : tim@linfiniti.com
|
|
***************************************************************************/
|
|
/***************************************************************************
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
#include "qgslocationcapturewidget.h"
|
|
#include <qgspoint.h>
|
|
#include <qlabel.h>
|
|
|
|
QgsLocationCaptureWidget::QgsLocationCaptureWidget( QWidget *parent, const char * name, WFlags f)
|
|
:QgsLocationCaptureWidgetBase( parent, name, f)
|
|
{
|
|
}
|
|
|
|
QgsLocationCaptureWidget::~QgsLocationCaptureWidget()
|
|
{
|
|
}
|
|
|
|
void QgsLocationCaptureWidget::qgsMapCanvas_xyClickCoordinates( QgsPoint & theQgsPoint )
|
|
{
|
|
lblCapturePos->setText(tr("Captured Pos: ")+theQgsPoint.stringRep(2));
|
|
}
|
|
|
|
|
|
void QgsLocationCaptureWidget::qgsMapCanvas_xyCoordinates( QgsPoint & theQgsPoint)
|
|
{
|
|
lblCapturePos->setText(tr("Current Pos: ")+theQgsPoint.stringRep(2));
|
|
}
|
|
|