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

« back to all changes in this revision

Viewing changes to src/ui/ui_qgsnewhttpconnectionbase.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 'qgsnewhttpconnectionbase.ui'
 
3
**
 
4
** Created: Sat Dec 30 02:00:16 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_QGSNEWHTTPCONNECTIONBASE_H
 
11
#define UI_QGSNEWHTTPCONNECTIONBASE_H
 
12
 
 
13
#include <Qt3Support/Q3GroupBox>
 
14
#include <QtCore/QVariant>
 
15
#include <QtGui/QAction>
 
16
#include <QtGui/QApplication>
 
17
#include <QtGui/QButtonGroup>
 
18
#include <QtGui/QDialog>
 
19
#include <QtGui/QFrame>
 
20
#include <QtGui/QGridLayout>
 
21
#include <QtGui/QLabel>
 
22
#include <QtGui/QLineEdit>
 
23
#include <QtGui/QPushButton>
 
24
#include <QtGui/QSpacerItem>
 
25
#include <QtGui/QVBoxLayout>
 
26
#include <Qt3Support/Q3MimeSourceFactory>
 
27
 
 
28
class Ui_QgsNewHttpConnectionBase
 
29
{
 
30
public:
 
31
    QGridLayout *gridLayout;
 
32
    Q3GroupBox *GroupBox1;
 
33
    QGridLayout *gridLayout1;
 
34
    QFrame *frame;
 
35
    QLineEdit *txtName;
 
36
    QLabel *TextLabel1_2;
 
37
    QLabel *TextLabel1;
 
38
    QLabel *TextLabel1_3;
 
39
    QLabel *TextLabel1_3_2;
 
40
    QLabel *TextLabel1_3_3;
 
41
    QLabel *TextLabel1_3_4;
 
42
    QLineEdit *txtProxyUser;
 
43
    QLineEdit *txtProxyPass;
 
44
    QLineEdit *txtUrl;
 
45
    QLineEdit *txtProxyHost;
 
46
    QLineEdit *txtProxyPort;
 
47
    QVBoxLayout *vboxLayout;
 
48
    QPushButton *btnOk;
 
49
    QPushButton *btnCancel;
 
50
    QPushButton *btnHelp;
 
51
    QSpacerItem *spacerItem;
 
52
 
 
53
    void setupUi(QDialog *QgsNewHttpConnectionBase)
 
54
    {
 
55
    QgsNewHttpConnectionBase->setObjectName(QString::fromUtf8("QgsNewHttpConnectionBase"));
 
56
    QgsNewHttpConnectionBase->setSizeGripEnabled(true);
 
57
    QgsNewHttpConnectionBase->setModal(true);
 
58
    gridLayout = new QGridLayout(QgsNewHttpConnectionBase);
 
59
    gridLayout->setSpacing(6);
 
60
    gridLayout->setMargin(9);
 
61
    gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
 
62
    GroupBox1 = new Q3GroupBox(QgsNewHttpConnectionBase);
 
63
    GroupBox1->setObjectName(QString::fromUtf8("GroupBox1"));
 
64
    GroupBox1->setOrientation(Qt::Vertical);
 
65
    GroupBox1->setColumnLayout(0, Qt::Vertical);
 
66
    GroupBox1->layout()->setSpacing(5);
 
67
    GroupBox1->layout()->setMargin(0);
 
68
    gridLayout1 = new QGridLayout(GroupBox1->layout());
 
69
    gridLayout1->setAlignment(Qt::AlignTop);
 
70
    gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
 
71
    gridLayout1->setMargin(0);
 
72
    gridLayout1->setSpacing(5);
 
73
    frame = new QFrame(GroupBox1);
 
74
    frame->setObjectName(QString::fromUtf8("frame"));
 
75
    frame->setFrameShape(QFrame::NoFrame);
 
76
    frame->setFrameShadow(QFrame::Plain);
 
77
 
 
78
    gridLayout1->addWidget(frame, 0, 2, 6, 1);
 
79
 
 
80
    txtName = new QLineEdit(GroupBox1);
 
81
    txtName->setObjectName(QString::fromUtf8("txtName"));
 
82
    txtName->setMinimumSize(QSize(0, 0));
 
83
    txtName->setFrame(true);
 
84
 
 
85
    gridLayout1->addWidget(txtName, 0, 1, 1, 1);
 
86
 
 
87
    TextLabel1_2 = new QLabel(GroupBox1);
 
88
    TextLabel1_2->setObjectName(QString::fromUtf8("TextLabel1_2"));
 
89
    TextLabel1_2->setMargin(5);
 
90
 
 
91
    gridLayout1->addWidget(TextLabel1_2, 0, 0, 1, 1);
 
92
 
 
93
    TextLabel1 = new QLabel(GroupBox1);
 
94
    TextLabel1->setObjectName(QString::fromUtf8("TextLabel1"));
 
95
    TextLabel1->setMargin(5);
 
96
 
 
97
    gridLayout1->addWidget(TextLabel1, 1, 0, 1, 1);
 
98
 
 
99
    TextLabel1_3 = new QLabel(GroupBox1);
 
100
    TextLabel1_3->setObjectName(QString::fromUtf8("TextLabel1_3"));
 
101
    TextLabel1_3->setMargin(5);
 
102
 
 
103
    gridLayout1->addWidget(TextLabel1_3, 2, 0, 1, 1);
 
104
 
 
105
    TextLabel1_3_2 = new QLabel(GroupBox1);
 
106
    TextLabel1_3_2->setObjectName(QString::fromUtf8("TextLabel1_3_2"));
 
107
    TextLabel1_3_2->setMargin(5);
 
108
 
 
109
    gridLayout1->addWidget(TextLabel1_3_2, 3, 0, 1, 1);
 
110
 
 
111
    TextLabel1_3_3 = new QLabel(GroupBox1);
 
112
    TextLabel1_3_3->setObjectName(QString::fromUtf8("TextLabel1_3_3"));
 
113
    TextLabel1_3_3->setMargin(5);
 
114
 
 
115
    gridLayout1->addWidget(TextLabel1_3_3, 4, 0, 1, 1);
 
116
 
 
117
    TextLabel1_3_4 = new QLabel(GroupBox1);
 
118
    TextLabel1_3_4->setObjectName(QString::fromUtf8("TextLabel1_3_4"));
 
119
    TextLabel1_3_4->setMargin(5);
 
120
 
 
121
    gridLayout1->addWidget(TextLabel1_3_4, 5, 0, 1, 1);
 
122
 
 
123
    txtProxyUser = new QLineEdit(GroupBox1);
 
124
    txtProxyUser->setObjectName(QString::fromUtf8("txtProxyUser"));
 
125
    QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
 
126
    sizePolicy.setHorizontalStretch(1);
 
127
    sizePolicy.setVerticalStretch(0);
 
128
    sizePolicy.setHeightForWidth(txtProxyUser->sizePolicy().hasHeightForWidth());
 
129
    txtProxyUser->setSizePolicy(sizePolicy);
 
130
 
 
131
    gridLayout1->addWidget(txtProxyUser, 4, 1, 1, 1);
 
132
 
 
133
    txtProxyPass = new QLineEdit(GroupBox1);
 
134
    txtProxyPass->setObjectName(QString::fromUtf8("txtProxyPass"));
 
135
    QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
 
136
    sizePolicy1.setHorizontalStretch(1);
 
137
    sizePolicy1.setVerticalStretch(0);
 
138
    sizePolicy1.setHeightForWidth(txtProxyPass->sizePolicy().hasHeightForWidth());
 
139
    txtProxyPass->setSizePolicy(sizePolicy1);
 
140
    txtProxyPass->setEchoMode(QLineEdit::Password);
 
141
 
 
142
    gridLayout1->addWidget(txtProxyPass, 5, 1, 1, 1);
 
143
 
 
144
    txtUrl = new QLineEdit(GroupBox1);
 
145
    txtUrl->setObjectName(QString::fromUtf8("txtUrl"));
 
146
 
 
147
    gridLayout1->addWidget(txtUrl, 1, 1, 1, 1);
 
148
 
 
149
    txtProxyHost = new QLineEdit(GroupBox1);
 
150
    txtProxyHost->setObjectName(QString::fromUtf8("txtProxyHost"));
 
151
 
 
152
    gridLayout1->addWidget(txtProxyHost, 2, 1, 1, 1);
 
153
 
 
154
    txtProxyPort = new QLineEdit(GroupBox1);
 
155
    txtProxyPort->setObjectName(QString::fromUtf8("txtProxyPort"));
 
156
    QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
 
157
    sizePolicy2.setHorizontalStretch(1);
 
158
    sizePolicy2.setVerticalStretch(0);
 
159
    sizePolicy2.setHeightForWidth(txtProxyPort->sizePolicy().hasHeightForWidth());
 
160
    txtProxyPort->setSizePolicy(sizePolicy2);
 
161
    txtProxyPort->setMaxLength(5);
 
162
 
 
163
    gridLayout1->addWidget(txtProxyPort, 3, 1, 1, 1);
 
164
 
 
165
 
 
166
    gridLayout->addWidget(GroupBox1, 0, 0, 1, 1);
 
167
 
 
168
    vboxLayout = new QVBoxLayout();
 
169
    vboxLayout->setSpacing(6);
 
170
    vboxLayout->setMargin(0);
 
171
    vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
 
172
    btnOk = new QPushButton(QgsNewHttpConnectionBase);
 
173
    btnOk->setObjectName(QString::fromUtf8("btnOk"));
 
174
    btnOk->setAutoDefault(true);
 
175
    btnOk->setDefault(true);
 
176
 
 
177
    vboxLayout->addWidget(btnOk);
 
178
 
 
179
    btnCancel = new QPushButton(QgsNewHttpConnectionBase);
 
180
    btnCancel->setObjectName(QString::fromUtf8("btnCancel"));
 
181
    btnCancel->setAutoDefault(true);
 
182
 
 
183
    vboxLayout->addWidget(btnCancel);
 
184
 
 
185
    btnHelp = new QPushButton(QgsNewHttpConnectionBase);
 
186
    btnHelp->setObjectName(QString::fromUtf8("btnHelp"));
 
187
    btnHelp->setEnabled(true);
 
188
    btnHelp->setAutoDefault(true);
 
189
 
 
190
    vboxLayout->addWidget(btnHelp);
 
191
 
 
192
    spacerItem = new QSpacerItem(0, 20, QSizePolicy::Minimum, QSizePolicy::Expanding);
 
193
 
 
194
    vboxLayout->addItem(spacerItem);
 
195
 
 
196
 
 
197
    gridLayout->addLayout(vboxLayout, 0, 1, 1, 1);
 
198
 
 
199
    TextLabel1_2->setBuddy(txtName);
 
200
    TextLabel1->setBuddy(txtUrl);
 
201
    TextLabel1_3->setBuddy(txtProxyHost);
 
202
    TextLabel1_3_2->setBuddy(txtProxyPort);
 
203
    TextLabel1_3_3->setBuddy(txtProxyUser);
 
204
    TextLabel1_3_4->setBuddy(txtProxyPass);
 
205
    QWidget::setTabOrder(txtName, txtUrl);
 
206
    QWidget::setTabOrder(txtUrl, txtProxyHost);
 
207
    QWidget::setTabOrder(txtProxyHost, txtProxyPort);
 
208
    QWidget::setTabOrder(txtProxyPort, txtProxyUser);
 
209
    QWidget::setTabOrder(txtProxyUser, txtProxyPass);
 
210
    QWidget::setTabOrder(txtProxyPass, btnOk);
 
211
    QWidget::setTabOrder(btnOk, btnCancel);
 
212
    QWidget::setTabOrder(btnCancel, btnHelp);
 
213
 
 
214
    retranslateUi(QgsNewHttpConnectionBase);
 
215
 
 
216
    QSize size(437, 256);
 
217
    size = size.expandedTo(QgsNewHttpConnectionBase->minimumSizeHint());
 
218
    QgsNewHttpConnectionBase->resize(size);
 
219
 
 
220
 
 
221
    QMetaObject::connectSlotsByName(QgsNewHttpConnectionBase);
 
222
    } // setupUi
 
223
 
 
224
    void retranslateUi(QDialog *QgsNewHttpConnectionBase)
 
225
    {
 
226
    QgsNewHttpConnectionBase->setWindowTitle(QApplication::translate("QgsNewHttpConnectionBase", "Create a New WMS connection", 0, QApplication::UnicodeUTF8));
 
227
    GroupBox1->setTitle(QApplication::translate("QgsNewHttpConnectionBase", "Connection Information", 0, QApplication::UnicodeUTF8));
 
228
    txtName->setToolTip(QApplication::translate("QgsNewHttpConnectionBase", "Name of the new connection", 0, QApplication::UnicodeUTF8));
 
229
    TextLabel1_2->setText(QApplication::translate("QgsNewHttpConnectionBase", "Name", 0, QApplication::UnicodeUTF8));
 
230
    TextLabel1->setText(QApplication::translate("QgsNewHttpConnectionBase", "URL", 0, QApplication::UnicodeUTF8));
 
231
    TextLabel1_3->setText(QApplication::translate("QgsNewHttpConnectionBase", "Proxy Host", 0, QApplication::UnicodeUTF8));
 
232
    TextLabel1_3_2->setText(QApplication::translate("QgsNewHttpConnectionBase", "Proxy Port", 0, QApplication::UnicodeUTF8));
 
233
    TextLabel1_3_3->setText(QApplication::translate("QgsNewHttpConnectionBase", "Proxy User", 0, QApplication::UnicodeUTF8));
 
234
    TextLabel1_3_4->setText(QApplication::translate("QgsNewHttpConnectionBase", "Proxy Password", 0, QApplication::UnicodeUTF8));
 
235
    txtProxyUser->setToolTip(QApplication::translate("QgsNewHttpConnectionBase", "Your user name for the HTTP proxy (optional)", 0, QApplication::UnicodeUTF8));
 
236
    txtProxyPass->setToolTip(QApplication::translate("QgsNewHttpConnectionBase", "Password for your HTTP proxy (optional)", 0, QApplication::UnicodeUTF8));
 
237
    txtUrl->setToolTip(QApplication::translate("QgsNewHttpConnectionBase", "HTTP address of the Web Map Server", 0, QApplication::UnicodeUTF8));
 
238
    txtProxyHost->setToolTip(QApplication::translate("QgsNewHttpConnectionBase", "Name of your HTTP proxy (optional)", 0, QApplication::UnicodeUTF8));
 
239
    txtProxyPort->setToolTip(QApplication::translate("QgsNewHttpConnectionBase", "Port number of your HTTP proxy (optional)", 0, QApplication::UnicodeUTF8));
 
240
    btnOk->setText(QApplication::translate("QgsNewHttpConnectionBase", "OK", 0, QApplication::UnicodeUTF8));
 
241
    btnOk->setShortcut(QString());
 
242
    btnCancel->setText(QApplication::translate("QgsNewHttpConnectionBase", "Cancel", 0, QApplication::UnicodeUTF8));
 
243
    btnCancel->setShortcut(QString());
 
244
    btnHelp->setText(QApplication::translate("QgsNewHttpConnectionBase", "Help", 0, QApplication::UnicodeUTF8));
 
245
    btnHelp->setShortcut(QApplication::translate("QgsNewHttpConnectionBase", "F1", 0, QApplication::UnicodeUTF8));
 
246
    Q_UNUSED(QgsNewHttpConnectionBase);
 
247
    } // retranslateUi
 
248
 
 
249
};
 
250
 
 
251
namespace Ui {
 
252
    class QgsNewHttpConnectionBase: public Ui_QgsNewHttpConnectionBase {};
 
253
} // namespace Ui
 
254
 
 
255
#endif // UI_QGSNEWHTTPCONNECTIONBASE_H