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

« back to all changes in this revision

Viewing changes to src/ui/ui_qgscustomprojectiondialogbase.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
** Form generated from reading ui file 'qgscustomprojectiondialogbase.ui'
 
3
**
 
4
** Created: Sat Dec 30 02:00:17 2006
 
5
**      by: Qt User Interface Compiler version 4.2.2
 
6
**
 
7
** WARNING! All changes made in this file will be lost when recompiling ui file!
 
8
********************************************************************************/
 
9
 
 
10
#ifndef UI_QGSCUSTOMPROJECTIONDIALOGBASE_H
 
11
#define UI_QGSCUSTOMPROJECTIONDIALOGBASE_H
 
12
 
 
13
#include <QtCore/QVariant>
 
14
#include <QtGui/QAction>
 
15
#include <QtGui/QApplication>
 
16
#include <QtGui/QButtonGroup>
 
17
#include <QtGui/QDialog>
 
18
#include <QtGui/QGridLayout>
 
19
#include <QtGui/QHBoxLayout>
 
20
#include <QtGui/QLabel>
 
21
#include <QtGui/QLineEdit>
 
22
#include <QtGui/QPushButton>
 
23
#include <QtGui/QSpacerItem>
 
24
#include <QtGui/QTabWidget>
 
25
#include <QtGui/QTextBrowser>
 
26
#include <QtGui/QWidget>
 
27
 
 
28
class Ui_QgsCustomProjectionDialogBase
 
29
{
 
30
public:
 
31
    QGridLayout *gridLayout;
 
32
    QTabWidget *tabWidget2;
 
33
    QWidget *tab;
 
34
    QGridLayout *gridLayout1;
 
35
    QTextBrowser *textBrowser;
 
36
    QLabel *textLabel5;
 
37
    QLineEdit *leParameters;
 
38
    QLabel *textLabel3_2;
 
39
    QHBoxLayout *hboxLayout;
 
40
    QPushButton *pbnFirst;
 
41
    QPushButton *pbnPrevious;
 
42
    QLabel *lblRecordNo;
 
43
    QPushButton *pbnNext;
 
44
    QPushButton *pbnLast;
 
45
    QPushButton *pbnNew;
 
46
    QPushButton *pbnSave;
 
47
    QPushButton *pbnDelete;
 
48
    QPushButton *pbnClose;
 
49
    QLabel *textLabel1;
 
50
    QLineEdit *leName;
 
51
    QWidget *tab1;
 
52
    QGridLayout *gridLayout2;
 
53
    QLabel *textLabel1_2;
 
54
    QTextBrowser *textBrowser_2;
 
55
    QLabel *textLabel3_2_2;
 
56
    QLineEdit *leTestParameters;
 
57
    QSpacerItem *spacerItem;
 
58
    QLabel *textLabel2_3;
 
59
    QLabel *textLabel1_3;
 
60
    QLabel *projectedY;
 
61
    QLineEdit *eastWGS84;
 
62
    QLabel *textLabel2_2_2;
 
63
    QLabel *textLabel2_2;
 
64
    QLineEdit *northWGS84;
 
65
    QLabel *projectedX;
 
66
    QPushButton *pbnCalculate;
 
67
 
 
68
    void setupUi(QDialog *QgsCustomProjectionDialogBase)
 
69
    {
 
70
    QgsCustomProjectionDialogBase->setObjectName(QString::fromUtf8("QgsCustomProjectionDialogBase"));
 
71
    QgsCustomProjectionDialogBase->setWindowIcon(QIcon());
 
72
    gridLayout = new QGridLayout(QgsCustomProjectionDialogBase);
 
73
    gridLayout->setSpacing(6);
 
74
    gridLayout->setMargin(9);
 
75
    gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
 
76
    tabWidget2 = new QTabWidget(QgsCustomProjectionDialogBase);
 
77
    tabWidget2->setObjectName(QString::fromUtf8("tabWidget2"));
 
78
    tab = new QWidget();
 
79
    tab->setObjectName(QString::fromUtf8("tab"));
 
80
    gridLayout1 = new QGridLayout(tab);
 
81
    gridLayout1->setSpacing(6);
 
82
    gridLayout1->setMargin(9);
 
83
    gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
 
84
    textBrowser = new QTextBrowser(tab);
 
85
    textBrowser->setObjectName(QString::fromUtf8("textBrowser"));
 
86
 
 
87
    gridLayout1->addWidget(textBrowser, 1, 0, 1, 2);
 
88
 
 
89
    textLabel5 = new QLabel(tab);
 
90
    textLabel5->setObjectName(QString::fromUtf8("textLabel5"));
 
91
    QFont font;
 
92
    font.setFamily(QString::fromUtf8("Arial"));
 
93
    font.setPointSize(18);
 
94
    font.setBold(false);
 
95
    font.setItalic(false);
 
96
    font.setUnderline(false);
 
97
    font.setWeight(50);
 
98
    font.setStrikeOut(false);
 
99
    textLabel5->setFont(font);
 
100
 
 
101
    gridLayout1->addWidget(textLabel5, 0, 0, 1, 2);
 
102
 
 
103
    leParameters = new QLineEdit(tab);
 
104
    leParameters->setObjectName(QString::fromUtf8("leParameters"));
 
105
 
 
106
    gridLayout1->addWidget(leParameters, 3, 1, 1, 1);
 
107
 
 
108
    textLabel3_2 = new QLabel(tab);
 
109
    textLabel3_2->setObjectName(QString::fromUtf8("textLabel3_2"));
 
110
 
 
111
    gridLayout1->addWidget(textLabel3_2, 3, 0, 1, 1);
 
112
 
 
113
    hboxLayout = new QHBoxLayout();
 
114
    hboxLayout->setSpacing(6);
 
115
    hboxLayout->setMargin(0);
 
116
    hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
 
117
    pbnFirst = new QPushButton(tab);
 
118
    pbnFirst->setObjectName(QString::fromUtf8("pbnFirst"));
 
119
 
 
120
    hboxLayout->addWidget(pbnFirst);
 
121
 
 
122
    pbnPrevious = new QPushButton(tab);
 
123
    pbnPrevious->setObjectName(QString::fromUtf8("pbnPrevious"));
 
124
 
 
125
    hboxLayout->addWidget(pbnPrevious);
 
126
 
 
127
    lblRecordNo = new QLabel(tab);
 
128
    lblRecordNo->setObjectName(QString::fromUtf8("lblRecordNo"));
 
129
    lblRecordNo->setAlignment(Qt::AlignCenter);
 
130
 
 
131
    hboxLayout->addWidget(lblRecordNo);
 
132
 
 
133
    pbnNext = new QPushButton(tab);
 
134
    pbnNext->setObjectName(QString::fromUtf8("pbnNext"));
 
135
 
 
136
    hboxLayout->addWidget(pbnNext);
 
137
 
 
138
    pbnLast = new QPushButton(tab);
 
139
    pbnLast->setObjectName(QString::fromUtf8("pbnLast"));
 
140
 
 
141
    hboxLayout->addWidget(pbnLast);
 
142
 
 
143
    pbnNew = new QPushButton(tab);
 
144
    pbnNew->setObjectName(QString::fromUtf8("pbnNew"));
 
145
 
 
146
    hboxLayout->addWidget(pbnNew);
 
147
 
 
148
    pbnSave = new QPushButton(tab);
 
149
    pbnSave->setObjectName(QString::fromUtf8("pbnSave"));
 
150
 
 
151
    hboxLayout->addWidget(pbnSave);
 
152
 
 
153
    pbnDelete = new QPushButton(tab);
 
154
    pbnDelete->setObjectName(QString::fromUtf8("pbnDelete"));
 
155
 
 
156
    hboxLayout->addWidget(pbnDelete);
 
157
 
 
158
    pbnClose = new QPushButton(tab);
 
159
    pbnClose->setObjectName(QString::fromUtf8("pbnClose"));
 
160
 
 
161
    hboxLayout->addWidget(pbnClose);
 
162
 
 
163
 
 
164
    gridLayout1->addLayout(hboxLayout, 4, 0, 1, 2);
 
165
 
 
166
    textLabel1 = new QLabel(tab);
 
167
    textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
 
168
 
 
169
    gridLayout1->addWidget(textLabel1, 2, 0, 1, 1);
 
170
 
 
171
    leName = new QLineEdit(tab);
 
172
    leName->setObjectName(QString::fromUtf8("leName"));
 
173
 
 
174
    gridLayout1->addWidget(leName, 2, 1, 1, 1);
 
175
 
 
176
    tabWidget2->addTab(tab, QApplication::translate("QgsCustomProjectionDialogBase", "Define", 0, QApplication::UnicodeUTF8));
 
177
    tab1 = new QWidget();
 
178
    tab1->setObjectName(QString::fromUtf8("tab1"));
 
179
    gridLayout2 = new QGridLayout(tab1);
 
180
    gridLayout2->setSpacing(6);
 
181
    gridLayout2->setMargin(9);
 
182
    gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
 
183
    textLabel1_2 = new QLabel(tab1);
 
184
    textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
 
185
 
 
186
    gridLayout2->addWidget(textLabel1_2, 0, 0, 1, 3);
 
187
 
 
188
    textBrowser_2 = new QTextBrowser(tab1);
 
189
    textBrowser_2->setObjectName(QString::fromUtf8("textBrowser_2"));
 
190
 
 
191
    gridLayout2->addWidget(textBrowser_2, 1, 0, 1, 3);
 
192
 
 
193
    textLabel3_2_2 = new QLabel(tab1);
 
194
    textLabel3_2_2->setObjectName(QString::fromUtf8("textLabel3_2_2"));
 
195
 
 
196
    gridLayout2->addWidget(textLabel3_2_2, 2, 0, 1, 1);
 
197
 
 
198
    leTestParameters = new QLineEdit(tab1);
 
199
    leTestParameters->setObjectName(QString::fromUtf8("leTestParameters"));
 
200
 
 
201
    gridLayout2->addWidget(leTestParameters, 2, 1, 1, 2);
 
202
 
 
203
    spacerItem = new QSpacerItem(41, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
 
204
 
 
205
    gridLayout2->addItem(spacerItem, 3, 0, 1, 1);
 
206
 
 
207
    textLabel2_3 = new QLabel(tab1);
 
208
    textLabel2_3->setObjectName(QString::fromUtf8("textLabel2_3"));
 
209
 
 
210
    gridLayout2->addWidget(textLabel2_3, 3, 2, 1, 1);
 
211
 
 
212
    textLabel1_3 = new QLabel(tab1);
 
213
    textLabel1_3->setObjectName(QString::fromUtf8("textLabel1_3"));
 
214
 
 
215
    gridLayout2->addWidget(textLabel1_3, 3, 1, 1, 1);
 
216
 
 
217
    projectedY = new QLabel(tab1);
 
218
    projectedY->setObjectName(QString::fromUtf8("projectedY"));
 
219
    projectedY->setEnabled(true);
 
220
    projectedY->setFrameShape(QFrame::Box);
 
221
    projectedY->setMargin(1);
 
222
 
 
223
    gridLayout2->addWidget(projectedY, 5, 2, 1, 1);
 
224
 
 
225
    eastWGS84 = new QLineEdit(tab1);
 
226
    eastWGS84->setObjectName(QString::fromUtf8("eastWGS84"));
 
227
 
 
228
    gridLayout2->addWidget(eastWGS84, 5, 1, 1, 1);
 
229
 
 
230
    textLabel2_2_2 = new QLabel(tab1);
 
231
    textLabel2_2_2->setObjectName(QString::fromUtf8("textLabel2_2_2"));
 
232
 
 
233
    gridLayout2->addWidget(textLabel2_2_2, 5, 0, 1, 1);
 
234
 
 
235
    textLabel2_2 = new QLabel(tab1);
 
236
    textLabel2_2->setObjectName(QString::fromUtf8("textLabel2_2"));
 
237
 
 
238
    gridLayout2->addWidget(textLabel2_2, 4, 0, 1, 1);
 
239
 
 
240
    northWGS84 = new QLineEdit(tab1);
 
241
    northWGS84->setObjectName(QString::fromUtf8("northWGS84"));
 
242
    northWGS84->setEnabled(true);
 
243
 
 
244
    gridLayout2->addWidget(northWGS84, 4, 1, 1, 1);
 
245
 
 
246
    projectedX = new QLabel(tab1);
 
247
    projectedX->setObjectName(QString::fromUtf8("projectedX"));
 
248
    projectedX->setEnabled(true);
 
249
    projectedX->setFrameShape(QFrame::Box);
 
250
 
 
251
    gridLayout2->addWidget(projectedX, 4, 2, 1, 1);
 
252
 
 
253
    pbnCalculate = new QPushButton(tab1);
 
254
    pbnCalculate->setObjectName(QString::fromUtf8("pbnCalculate"));
 
255
 
 
256
    gridLayout2->addWidget(pbnCalculate, 6, 0, 1, 3);
 
257
 
 
258
    tabWidget2->addTab(tab1, QApplication::translate("QgsCustomProjectionDialogBase", "Test", 0, QApplication::UnicodeUTF8));
 
259
 
 
260
    gridLayout->addWidget(tabWidget2, 0, 0, 1, 1);
 
261
 
 
262
    textLabel3_2_2->setBuddy(leTestParameters);
 
263
    textLabel2_2_2->setBuddy(eastWGS84);
 
264
    textLabel2_2->setBuddy(northWGS84);
 
265
    QWidget::setTabOrder(tabWidget2, textBrowser);
 
266
    QWidget::setTabOrder(textBrowser, leName);
 
267
    QWidget::setTabOrder(leName, leParameters);
 
268
    QWidget::setTabOrder(leParameters, pbnFirst);
 
269
    QWidget::setTabOrder(pbnFirst, pbnPrevious);
 
270
    QWidget::setTabOrder(pbnPrevious, pbnNext);
 
271
    QWidget::setTabOrder(pbnNext, pbnLast);
 
272
    QWidget::setTabOrder(pbnLast, pbnNew);
 
273
    QWidget::setTabOrder(pbnNew, pbnSave);
 
274
    QWidget::setTabOrder(pbnSave, pbnDelete);
 
275
    QWidget::setTabOrder(pbnDelete, pbnClose);
 
276
    QWidget::setTabOrder(pbnClose, textBrowser_2);
 
277
    QWidget::setTabOrder(textBrowser_2, leTestParameters);
 
278
    QWidget::setTabOrder(leTestParameters, northWGS84);
 
279
    QWidget::setTabOrder(northWGS84, eastWGS84);
 
280
    QWidget::setTabOrder(eastWGS84, pbnCalculate);
 
281
 
 
282
    retranslateUi(QgsCustomProjectionDialogBase);
 
283
 
 
284
    QSize size(532, 297);
 
285
    size = size.expandedTo(QgsCustomProjectionDialogBase->minimumSizeHint());
 
286
    QgsCustomProjectionDialogBase->resize(size);
 
287
 
 
288
 
 
289
    QMetaObject::connectSlotsByName(QgsCustomProjectionDialogBase);
 
290
    } // setupUi
 
291
 
 
292
    void retranslateUi(QDialog *QgsCustomProjectionDialogBase)
 
293
    {
 
294
    QgsCustomProjectionDialogBase->setWindowTitle(QApplication::translate("QgsCustomProjectionDialogBase", "Custom Projection Definition", 0, QApplication::UnicodeUTF8));
 
295
    textBrowser->setHtml(QApplication::translate("QgsCustomProjectionDialogBase", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Arial; font-size:10pt;\">You can define your own custom projection here. The definition must conform to the proj4 format for specifying a Spatial Reference System.</p></body></html>", 0, QApplication::UnicodeUTF8));
 
296
    textLabel5->setText(QApplication::translate("QgsCustomProjectionDialogBase", "Custom Projection Definition", 0, QApplication::UnicodeUTF8));
 
297
    textLabel3_2->setText(QApplication::translate("QgsCustomProjectionDialogBase", "Parameters:", 0, QApplication::UnicodeUTF8));
 
298
    pbnFirst->setText(QApplication::translate("QgsCustomProjectionDialogBase", "|<", 0, QApplication::UnicodeUTF8));
 
299
    pbnPrevious->setText(QApplication::translate("QgsCustomProjectionDialogBase", "<", 0, QApplication::UnicodeUTF8));
 
300
    lblRecordNo->setText(QApplication::translate("QgsCustomProjectionDialogBase", "1 of 1", 0, QApplication::UnicodeUTF8));
 
301
    pbnNext->setText(QApplication::translate("QgsCustomProjectionDialogBase", ">", 0, QApplication::UnicodeUTF8));
 
302
    pbnLast->setText(QApplication::translate("QgsCustomProjectionDialogBase", ">|", 0, QApplication::UnicodeUTF8));
 
303
    pbnNew->setText(QApplication::translate("QgsCustomProjectionDialogBase", "New", 0, QApplication::UnicodeUTF8));
 
304
    pbnSave->setText(QApplication::translate("QgsCustomProjectionDialogBase", "Save", 0, QApplication::UnicodeUTF8));
 
305
    pbnDelete->setText(QApplication::translate("QgsCustomProjectionDialogBase", "Delete", 0, QApplication::UnicodeUTF8));
 
306
    pbnClose->setText(QApplication::translate("QgsCustomProjectionDialogBase", "Close", 0, QApplication::UnicodeUTF8));
 
307
    textLabel1->setText(QApplication::translate("QgsCustomProjectionDialogBase", "Name:", 0, QApplication::UnicodeUTF8));
 
308
    tabWidget2->setTabText(tabWidget2->indexOf(tab), QApplication::translate("QgsCustomProjectionDialogBase", "Define", 0, QApplication::UnicodeUTF8));
 
309
    textLabel1_2->setText(QApplication::translate("QgsCustomProjectionDialogBase", "Transform from WGS84 to the chosen projection", 0, QApplication::UnicodeUTF8));
 
310
    textBrowser_2->setHtml(QApplication::translate("QgsCustomProjectionDialogBase", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:Arial; font-size:10pt;\">Use the text boxes below to test the projection definition you are creating. Enter a coordinate where both the lat/long and the projected result are known (for example by reading off a map). Then press the calculate button to see if the projection definition you are creating is accurate.</p></body></html>", 0, QApplication::UnicodeUTF8));
 
311
    textLabel3_2_2->setText(QApplication::translate("QgsCustomProjectionDialogBase", "Parameters:", 0, QApplication::UnicodeUTF8));
 
312
    textLabel2_3->setText(QApplication::translate("QgsCustomProjectionDialogBase", "Projected Corrdinate System", 0, QApplication::UnicodeUTF8));
 
313
    textLabel1_3->setText(QApplication::translate("QgsCustomProjectionDialogBase", "Geographic / WGS84", 0, QApplication::UnicodeUTF8));
 
314
    projectedY->setText(QString());
 
315
    textLabel2_2_2->setText(QApplication::translate("QgsCustomProjectionDialogBase", "East:", 0, QApplication::UnicodeUTF8));
 
316
    textLabel2_2->setText(QApplication::translate("QgsCustomProjectionDialogBase", "North:", 0, QApplication::UnicodeUTF8));
 
317
    projectedX->setText(QString());
 
318
    pbnCalculate->setText(QApplication::translate("QgsCustomProjectionDialogBase", "Calculate", 0, QApplication::UnicodeUTF8));
 
319
    tabWidget2->setTabText(tabWidget2->indexOf(tab1), QApplication::translate("QgsCustomProjectionDialogBase", "Test", 0, QApplication::UnicodeUTF8));
 
320
    Q_UNUSED(QgsCustomProjectionDialogBase);
 
321
    } // retranslateUi
 
322
 
 
323
};
 
324
 
 
325
namespace Ui {
 
326
    class QgsCustomProjectionDialogBase: public Ui_QgsCustomProjectionDialogBase {};
 
327
} // namespace Ui
 
328
 
 
329
#endif // UI_QGSCUSTOMPROJECTIONDIALOGBASE_H