1
/********************************************************************************
2
** Form generated from reading ui file 'qgsserversourceselectbase.ui'
4
** Created: Sat Dec 30 02:00:17 2006
5
** by: Qt User Interface Compiler version 4.2.2
7
** WARNING! All changes made in this file will be lost when recompiling ui file!
8
********************************************************************************/
10
#ifndef UI_QGSSERVERSOURCESELECTBASE_H
11
#define UI_QGSSERVERSOURCESELECTBASE_H
13
#include <Qt3Support/Q3Header>
14
#include <Qt3Support/Q3ListView>
15
#include <QtCore/QVariant>
16
#include <QtGui/QAction>
17
#include <QtGui/QApplication>
18
#include <QtGui/QButtonGroup>
19
#include <QtGui/QComboBox>
20
#include <QtGui/QDialog>
21
#include <QtGui/QGridLayout>
22
#include <QtGui/QGroupBox>
23
#include <QtGui/QHBoxLayout>
24
#include <QtGui/QLabel>
25
#include <QtGui/QPushButton>
26
#include <QtGui/QSpacerItem>
27
#include <QtGui/QVBoxLayout>
29
class Ui_QgsServerSourceSelectBase
32
QGridLayout *gridLayout;
34
QGridLayout *gridLayout1;
35
QPushButton *btnAddDefault;
36
QSpacerItem *spacerItem;
37
QComboBox *cmbConnections;
38
QPushButton *btnConnect;
40
QPushButton *btnDelete;
43
QHBoxLayout *hboxLayout;
44
QLabel *labelCoordRefSys;
45
QSpacerItem *spacerItem1;
46
QPushButton *btnChangeSpatialRefSys;
50
QVBoxLayout *vboxLayout;
51
Q3ListView *lstLayers;
52
QGroupBox *btnGrpImageEncoding;
53
QSpacerItem *spacerItem2;
55
QPushButton *btnCancel;
57
void setupUi(QDialog *QgsServerSourceSelectBase)
59
QgsServerSourceSelectBase->setObjectName(QString::fromUtf8("QgsServerSourceSelectBase"));
60
QgsServerSourceSelectBase->setWindowIcon(QIcon());
61
QgsServerSourceSelectBase->setSizeGripEnabled(true);
62
QgsServerSourceSelectBase->setModal(true);
63
gridLayout = new QGridLayout(QgsServerSourceSelectBase);
64
gridLayout->setSpacing(6);
65
gridLayout->setMargin(9);
66
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
67
GroupBox1 = new QGroupBox(QgsServerSourceSelectBase);
68
GroupBox1->setObjectName(QString::fromUtf8("GroupBox1"));
69
gridLayout1 = new QGridLayout(GroupBox1);
70
gridLayout1->setSpacing(6);
71
gridLayout1->setMargin(9);
72
gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
73
btnAddDefault = new QPushButton(GroupBox1);
74
btnAddDefault->setObjectName(QString::fromUtf8("btnAddDefault"));
76
gridLayout1->addWidget(btnAddDefault, 1, 4, 1, 1);
78
spacerItem = new QSpacerItem(131, 30, QSizePolicy::Expanding, QSizePolicy::Minimum);
80
gridLayout1->addItem(spacerItem, 1, 5, 1, 1);
82
cmbConnections = new QComboBox(GroupBox1);
83
cmbConnections->setObjectName(QString::fromUtf8("cmbConnections"));
85
gridLayout1->addWidget(cmbConnections, 0, 0, 1, 6);
87
btnConnect = new QPushButton(GroupBox1);
88
btnConnect->setObjectName(QString::fromUtf8("btnConnect"));
89
btnConnect->setEnabled(false);
91
gridLayout1->addWidget(btnConnect, 1, 0, 1, 1);
93
btnEdit = new QPushButton(GroupBox1);
94
btnEdit->setObjectName(QString::fromUtf8("btnEdit"));
95
btnEdit->setEnabled(false);
97
gridLayout1->addWidget(btnEdit, 1, 2, 1, 1);
99
btnDelete = new QPushButton(GroupBox1);
100
btnDelete->setObjectName(QString::fromUtf8("btnDelete"));
101
btnDelete->setEnabled(false);
103
gridLayout1->addWidget(btnDelete, 1, 3, 1, 1);
105
btnNew = new QPushButton(GroupBox1);
106
btnNew->setObjectName(QString::fromUtf8("btnNew"));
108
gridLayout1->addWidget(btnNew, 1, 1, 1, 1);
111
gridLayout->addWidget(GroupBox1, 0, 0, 1, 4);
113
gbCRS = new QGroupBox(QgsServerSourceSelectBase);
114
gbCRS->setObjectName(QString::fromUtf8("gbCRS"));
115
hboxLayout = new QHBoxLayout(gbCRS);
116
hboxLayout->setSpacing(6);
117
hboxLayout->setMargin(9);
118
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
119
labelCoordRefSys = new QLabel(gbCRS);
120
labelCoordRefSys->setObjectName(QString::fromUtf8("labelCoordRefSys"));
122
hboxLayout->addWidget(labelCoordRefSys);
124
spacerItem1 = new QSpacerItem(441, 23, QSizePolicy::Expanding, QSizePolicy::Minimum);
126
hboxLayout->addItem(spacerItem1);
128
btnChangeSpatialRefSys = new QPushButton(gbCRS);
129
btnChangeSpatialRefSys->setObjectName(QString::fromUtf8("btnChangeSpatialRefSys"));
130
btnChangeSpatialRefSys->setEnabled(false);
132
hboxLayout->addWidget(btnChangeSpatialRefSys);
135
gridLayout->addWidget(gbCRS, 3, 0, 1, 4);
137
labelStatus = new QLabel(QgsServerSourceSelectBase);
138
labelStatus->setObjectName(QString::fromUtf8("labelStatus"));
139
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(13), static_cast<QSizePolicy::Policy>(5));
140
sizePolicy.setHorizontalStretch(0);
141
sizePolicy.setVerticalStretch(0);
142
sizePolicy.setHeightForWidth(labelStatus->sizePolicy().hasHeightForWidth());
143
labelStatus->setSizePolicy(sizePolicy);
144
labelStatus->setWordWrap(false);
146
gridLayout->addWidget(labelStatus, 5, 0, 1, 4);
148
btnAdd = new QPushButton(QgsServerSourceSelectBase);
149
btnAdd->setObjectName(QString::fromUtf8("btnAdd"));
150
btnAdd->setEnabled(false);
151
btnAdd->setAutoDefault(true);
152
btnAdd->setDefault(true);
154
gridLayout->addWidget(btnAdd, 4, 2, 1, 1);
156
groupBox2 = new QGroupBox(QgsServerSourceSelectBase);
157
groupBox2->setObjectName(QString::fromUtf8("groupBox2"));
158
vboxLayout = new QVBoxLayout(groupBox2);
159
vboxLayout->setSpacing(6);
160
vboxLayout->setMargin(9);
161
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
162
lstLayers = new Q3ListView(groupBox2);
163
lstLayers->addColumn(QApplication::translate("QgsServerSourceSelectBase", "ID", 0, QApplication::UnicodeUTF8));
164
lstLayers->addColumn(QApplication::translate("QgsServerSourceSelectBase", "Name", 0, QApplication::UnicodeUTF8));
165
lstLayers->addColumn(QApplication::translate("QgsServerSourceSelectBase", "Title", 0, QApplication::UnicodeUTF8));
166
lstLayers->addColumn(QApplication::translate("QgsServerSourceSelectBase", "Abstract", 0, QApplication::UnicodeUTF8));
167
lstLayers->setObjectName(QString::fromUtf8("lstLayers"));
168
QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(7));
169
sizePolicy1.setHorizontalStretch(0);
170
sizePolicy1.setVerticalStretch(0);
171
sizePolicy1.setHeightForWidth(lstLayers->sizePolicy().hasHeightForWidth());
172
lstLayers->setSizePolicy(sizePolicy1);
173
lstLayers->setSelectionMode(Q3ListView::Multi);
174
lstLayers->setAllColumnsShowFocus(true);
175
lstLayers->setShowSortIndicator(true);
176
lstLayers->setRootIsDecorated(true);
178
vboxLayout->addWidget(lstLayers);
181
gridLayout->addWidget(groupBox2, 2, 0, 1, 4);
183
btnGrpImageEncoding = new QGroupBox(QgsServerSourceSelectBase);
184
btnGrpImageEncoding->setObjectName(QString::fromUtf8("btnGrpImageEncoding"));
185
QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
186
sizePolicy2.setHorizontalStretch(0);
187
sizePolicy2.setVerticalStretch(0);
188
sizePolicy2.setHeightForWidth(btnGrpImageEncoding->sizePolicy().hasHeightForWidth());
189
btnGrpImageEncoding->setSizePolicy(sizePolicy2);
190
btnGrpImageEncoding->setMinimumSize(QSize(16, 64));
192
gridLayout->addWidget(btnGrpImageEncoding, 1, 0, 1, 4);
194
spacerItem2 = new QSpacerItem(284, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);
196
gridLayout->addItem(spacerItem2, 4, 1, 1, 1);
198
btnHelp = new QPushButton(QgsServerSourceSelectBase);
199
btnHelp->setObjectName(QString::fromUtf8("btnHelp"));
200
btnHelp->setEnabled(true);
201
btnHelp->setAutoDefault(true);
203
gridLayout->addWidget(btnHelp, 4, 0, 1, 1);
205
btnCancel = new QPushButton(QgsServerSourceSelectBase);
206
btnCancel->setObjectName(QString::fromUtf8("btnCancel"));
207
btnCancel->setAutoDefault(true);
209
gridLayout->addWidget(btnCancel, 4, 3, 1, 1);
211
QWidget::setTabOrder(cmbConnections, btnConnect);
212
QWidget::setTabOrder(btnConnect, btnNew);
213
QWidget::setTabOrder(btnNew, btnEdit);
214
QWidget::setTabOrder(btnEdit, btnDelete);
215
QWidget::setTabOrder(btnDelete, btnChangeSpatialRefSys);
216
QWidget::setTabOrder(btnChangeSpatialRefSys, btnHelp);
217
QWidget::setTabOrder(btnHelp, btnAdd);
218
QWidget::setTabOrder(btnAdd, btnCancel);
220
retranslateUi(QgsServerSourceSelectBase);
222
QSize size(600, 505);
223
size = size.expandedTo(QgsServerSourceSelectBase->minimumSizeHint());
224
QgsServerSourceSelectBase->resize(size);
227
QMetaObject::connectSlotsByName(QgsServerSourceSelectBase);
230
void retranslateUi(QDialog *QgsServerSourceSelectBase)
232
QgsServerSourceSelectBase->setWindowTitle(QApplication::translate("QgsServerSourceSelectBase", "Add Layer(s) from a Server", 0, QApplication::UnicodeUTF8));
233
GroupBox1->setTitle(QApplication::translate("QgsServerSourceSelectBase", "Server Connections", 0, QApplication::UnicodeUTF8));
234
btnAddDefault->setStatusTip(QApplication::translate("QgsServerSourceSelectBase", "Adds a few example WMS servers", 0, QApplication::UnicodeUTF8));
235
btnAddDefault->setWhatsThis(QString());
236
btnAddDefault->setText(QApplication::translate("QgsServerSourceSelectBase", "Add default servers", 0, QApplication::UnicodeUTF8));
237
btnConnect->setText(QApplication::translate("QgsServerSourceSelectBase", "C&onnect", 0, QApplication::UnicodeUTF8));
238
btnEdit->setText(QApplication::translate("QgsServerSourceSelectBase", "Edit", 0, QApplication::UnicodeUTF8));
239
btnDelete->setText(QApplication::translate("QgsServerSourceSelectBase", "Delete", 0, QApplication::UnicodeUTF8));
240
btnNew->setText(QApplication::translate("QgsServerSourceSelectBase", "&New", 0, QApplication::UnicodeUTF8));
241
gbCRS->setTitle(QApplication::translate("QgsServerSourceSelectBase", "Coordinate Reference System", 0, QApplication::UnicodeUTF8));
242
labelCoordRefSys->setText(QString());
243
btnChangeSpatialRefSys->setText(QApplication::translate("QgsServerSourceSelectBase", "Change ...", 0, QApplication::UnicodeUTF8));
244
labelStatus->setText(QApplication::translate("QgsServerSourceSelectBase", "Ready", 0, QApplication::UnicodeUTF8));
245
btnAdd->setText(QApplication::translate("QgsServerSourceSelectBase", "&Add", 0, QApplication::UnicodeUTF8));
246
btnAdd->setShortcut(QApplication::translate("QgsServerSourceSelectBase", "Alt+A", 0, QApplication::UnicodeUTF8));
247
groupBox2->setTitle(QApplication::translate("QgsServerSourceSelectBase", "Layers", 0, QApplication::UnicodeUTF8));
248
lstLayers->header()->setLabel(0, QApplication::translate("QgsServerSourceSelectBase", "ID", 0, QApplication::UnicodeUTF8));
249
lstLayers->header()->setLabel(1, QApplication::translate("QgsServerSourceSelectBase", "Name", 0, QApplication::UnicodeUTF8));
250
lstLayers->header()->setLabel(2, QApplication::translate("QgsServerSourceSelectBase", "Title", 0, QApplication::UnicodeUTF8));
251
lstLayers->header()->setLabel(3, QApplication::translate("QgsServerSourceSelectBase", "Abstract", 0, QApplication::UnicodeUTF8));
252
btnGrpImageEncoding->setTitle(QApplication::translate("QgsServerSourceSelectBase", "Image encoding", 0, QApplication::UnicodeUTF8));
253
btnHelp->setText(QApplication::translate("QgsServerSourceSelectBase", "Help", 0, QApplication::UnicodeUTF8));
254
btnHelp->setShortcut(QApplication::translate("QgsServerSourceSelectBase", "F1", 0, QApplication::UnicodeUTF8));
255
btnCancel->setText(QApplication::translate("QgsServerSourceSelectBase", "C&lose", 0, QApplication::UnicodeUTF8));
256
btnCancel->setShortcut(QApplication::translate("QgsServerSourceSelectBase", "Alt+L", 0, QApplication::UnicodeUTF8));
257
Q_UNUSED(QgsServerSourceSelectBase);
263
class QgsServerSourceSelectBase: public Ui_QgsServerSourceSelectBase {};
266
#endif // UI_QGSSERVERSOURCESELECTBASE_H