source: subversion/applications/editors/merkaartor/GotoDialog.h @ 10970

Last change on this file since 10970 was 10970, checked in by Chris Browet, 12 years ago

ADD : enhanced Goto dialog (closes #1182)

File size: 730 bytes
Line 
1//
2// C++ Interface: GotoDialog
3//
4// Description:
5//
6//
7// Author: Chris Browet <cbro@semperpax.com>, (C) 2008
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#ifndef GOTODIALOG_H
13#define GOTODIALOG_H
14
15#include <QWidget>
16#include <QSettings>
17
18#include "Map/Coord.h"
19#include "Map/Projection.h"
20
21#include <ui_GotoDialog.h>
22
23class CoordBox;
24
25class GotoDialog: public QDialog , public Ui::GotoDialog
26{
27        Q_OBJECT
28
29public:
30    GotoDialog(const Projection& aProj, QWidget *parent = 0);
31
32        const CoordBox& newViewport() const { return theNewViewport; };
33
34public slots:
35        void on_buttonBox_clicked(QAbstractButton * button);
36
37protected:
38
39private:
40        Projection theProjection;
41        CoordBox theNewViewport;
42
43};
44
45#endif
Note: See TracBrowser for help on using the repository browser.