2005-05-01 20:23:17 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2003 by Tim Sutton *
|
|
|
|
* tim@linfiniti.com *
|
|
|
|
* *
|
|
|
|
* This is a plugin generated from the QGIS plugin template *
|
|
|
|
* *
|
|
|
|
* 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. *
|
|
|
|
***************************************************************************/
|
|
|
|
#ifndef MAPCOORDSDIALOG_H
|
|
|
|
#define MAPCOORDSDIALOG_H
|
|
|
|
|
|
|
|
#include <qgspoint.h>
|
|
|
|
|
2005-12-30 04:56:31 +00:00
|
|
|
#include <ui_mapcoordsdialogbase.h>
|
|
|
|
#include <QDialog>
|
|
|
|
class MapCoordsDialog : public QDialog, private Ui::MapCoordsDialogBase
|
2005-05-01 20:23:17 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
MapCoordsDialog();
|
|
|
|
MapCoordsDialog(const QgsPoint& pixelCoords,
|
|
|
|
QWidget* parent = 0, const char* name = 0,
|
2005-11-19 23:35:22 +00:00
|
|
|
bool modal = FALSE, Qt::WFlags fl = 0);
|
2005-05-01 20:23:17 +00:00
|
|
|
~MapCoordsDialog();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
void pbnOK_clicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
QgsPoint mPixelCoords;
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
void pointAdded(const QgsPoint& pixelCoords, const QgsPoint& mapCoords);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|