~ubuntu-branches/ubuntu/hardy/qgis/hardy

« back to all changes in this revision

Viewing changes to src/plugins/georeferencer/mapcoordsdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): William Grant
  • Date: 2007-05-06 13:42:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070506134232-pyli6t388w5asd8x
Tags: 0.8.0-3ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/rules, debian/qgis.install, debian/qgis.dirs debian/qgis.desktop:
    Add and install .desktop.
* debian/qgis.desktop: Remove Applications category; it's not real.
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2003 by Tim Sutton                                      *
 
3
 *   tim@linfiniti.com                                                     *
 
4
 *                                                                         *
 
5
 *   This is a plugin generated from the QGIS plugin template              *
 
6
 *                                                                         *
 
7
 *   This program is free software; you can redistribute it and/or modify  *
 
8
 *   it under the terms of the GNU General Public License as published by  *
 
9
 *   the Free Software Foundation; either version 2 of the License, or     *
 
10
 *   (at your option) any later version.                                   *
 
11
 ***************************************************************************/
 
12
#ifndef MAPCOORDSDIALOG_H
 
13
#define MAPCOORDSDIALOG_H
 
14
 
 
15
#include <qgspoint.h>
 
16
 
 
17
#include <ui_mapcoordsdialogbase.h>
 
18
#include <QDialog>
 
19
class MapCoordsDialog : public QDialog, private Ui::MapCoordsDialogBase
 
20
{
 
21
Q_OBJECT
 
22
public:
 
23
  MapCoordsDialog();
 
24
  MapCoordsDialog(const QgsPoint& pixelCoords,
 
25
                  QWidget* parent = 0, Qt::WFlags fl = 0);
 
26
  ~MapCoordsDialog();
 
27
  
 
28
public slots:
 
29
  
 
30
  void on_buttonOk_clicked();
 
31
  void on_buttonCancel_clicked(); 
 
32
  
 
33
private:
 
34
  
 
35
  QgsPoint mPixelCoords;
 
36
 
 
37
signals:
 
38
 
 
39
  void pointAdded(const QgsPoint& pixelCoords, const QgsPoint& mapCoords);
 
40
 
 
41
};
 
42
 
 
43
#endif