2
// C++ Interface: qgscustomprojectiondialog
7
// Author: Tim Sutton tim@linfiniti.com, (C) 2005
9
// Copyright: See COPYING file that comes with this distribution
12
#ifndef QGSCUSTOMPROJECTIONDIALOG_H
13
#define QGSCUSTOMPROJECTIONDIALOG_H
15
#include "ui_qgscustomprojectiondialogbase.h"
19
The custom projection widget is used to define the projection family, ellipsoid and paremters needed by proj4 to assemble a customised projection definition. The resulting projection will be store in an sqlite backend.
23
class QgsCustomProjectionDialog : public QDialog, private Ui::QgsCustomProjectionDialogBase
27
QgsCustomProjectionDialog(QWidget *parent = 0, Qt::WFlags fl = 0);
28
~QgsCustomProjectionDialog();
29
//a recursive function to make a directory and its ancestors
31
void on_pbnCalculate_clicked();
32
void on_pbnClose_clicked();
33
void on_pbnDelete_clicked();
35
// Database navigation controles
37
long getRecordCount();
38
void on_pbnFirst_clicked();
39
void on_pbnPrevious_clicked();
40
void on_pbnNext_clicked();
41
void on_pbnLast_clicked();
42
void on_pbnNew_clicked();
43
void on_pbnSave_clicked();
48
/* These two methods will be deprecated
50
void getEllipsoidList();
52
QString getProjectionFamilyName(QString theProjectionFamilyAcronym);
53
QString getEllipsoidName(QString theEllipsoidAcronym);
54
QString getProjectionFamilyAcronym(QString theProjectionFamilyName);
55
QString getEllipsoidAcronym(QString theEllipsoidName);
57
QString getProjFromParameters();
58
QString getEllipseFromParameters();
61
QString mCurrentRecordId;
62
long mCurrentRecordLong;
63
//the record previous to starting an insert operation
64
//so that we can return to it if the record insert is aborted
66
long mRecordCountLong;
67
const QString stringSQLSafe(const QString theSQL);