~ubuntu-branches/ubuntu/quantal/qgis/quantal

« back to all changes in this revision

Viewing changes to src/ui/ui_qgsserversourceselectbase.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 'qgsserversourceselectbase.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_QGSSERVERSOURCESELECTBASE_H
 
11
#define UI_QGSSERVERSOURCESELECTBASE_H
 
12
 
 
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>
 
28
 
 
29
class Ui_QgsServerSourceSelectBase
 
30
{
 
31
public:
 
32
    QGridLayout *gridLayout;
 
33
    QGroupBox *GroupBox1;
 
34
    QGridLayout *gridLayout1;
 
35
    QPushButton *btnAddDefault;
 
36
    QSpacerItem *spacerItem;
 
37
    QComboBox *cmbConnections;
 
38
    QPushButton *btnConnect;
 
39
    QPushButton *btnEdit;
 
40
    QPushButton *btnDelete;
 
41
    QPushButton *btnNew;
 
42
    QGroupBox *gbCRS;
 
43
    QHBoxLayout *hboxLayout;
 
44
    QLabel *labelCoordRefSys;
 
45
    QSpacerItem *spacerItem1;
 
46
    QPushButton *btnChangeSpatialRefSys;
 
47
    QLabel *labelStatus;
 
48
    QPushButton *btnAdd;
 
49
    QGroupBox *groupBox2;
 
50
    QVBoxLayout *vboxLayout;
 
51
    Q3ListView *lstLayers;
 
52
    QGroupBox *btnGrpImageEncoding;
 
53
    QSpacerItem *spacerItem2;
 
54
    QPushButton *btnHelp;
 
55
    QPushButton *btnCancel;
 
56
 
 
57
    void setupUi(QDialog *QgsServerSourceSelectBase)
 
58
    {
 
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"));
 
75
 
 
76
    gridLayout1->addWidget(btnAddDefault, 1, 4, 1, 1);
 
77
 
 
78
    spacerItem = new QSpacerItem(131, 30, QSizePolicy::Expanding, QSizePolicy::Minimum);
 
79
 
 
80
    gridLayout1->addItem(spacerItem, 1, 5, 1, 1);
 
81
 
 
82
    cmbConnections = new QComboBox(GroupBox1);
 
83
    cmbConnections->setObjectName(QString::fromUtf8("cmbConnections"));
 
84
 
 
85
    gridLayout1->addWidget(cmbConnections, 0, 0, 1, 6);
 
86
 
 
87
    btnConnect = new QPushButton(GroupBox1);
 
88
    btnConnect->setObjectName(QString::fromUtf8("btnConnect"));
 
89
    btnConnect->setEnabled(false);
 
90
 
 
91
    gridLayout1->addWidget(btnConnect, 1, 0, 1, 1);
 
92
 
 
93
    btnEdit = new QPushButton(GroupBox1);
 
94
    btnEdit->setObjectName(QString::fromUtf8("btnEdit"));
 
95
    btnEdit->setEnabled(false);
 
96
 
 
97
    gridLayout1->addWidget(btnEdit, 1, 2, 1, 1);
 
98
 
 
99
    btnDelete = new QPushButton(GroupBox1);
 
100
    btnDelete->setObjectName(QString::fromUtf8("btnDelete"));
 
101
    btnDelete->setEnabled(false);
 
102
 
 
103
    gridLayout1->addWidget(btnDelete, 1, 3, 1, 1);
 
104
 
 
105
    btnNew = new QPushButton(GroupBox1);
 
106
    btnNew->setObjectName(QString::fromUtf8("btnNew"));
 
107
 
 
108
    gridLayout1->addWidget(btnNew, 1, 1, 1, 1);
 
109
 
 
110
 
 
111
    gridLayout->addWidget(GroupBox1, 0, 0, 1, 4);
 
112
 
 
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"));
 
121
 
 
122
    hboxLayout->addWidget(labelCoordRefSys);
 
123
 
 
124
    spacerItem1 = new QSpacerItem(441, 23, QSizePolicy::Expanding, QSizePolicy::Minimum);
 
125
 
 
126
    hboxLayout->addItem(spacerItem1);
 
127
 
 
128
    btnChangeSpatialRefSys = new QPushButton(gbCRS);
 
129
    btnChangeSpatialRefSys->setObjectName(QString::fromUtf8("btnChangeSpatialRefSys"));
 
130
    btnChangeSpatialRefSys->setEnabled(false);
 
131
 
 
132
    hboxLayout->addWidget(btnChangeSpatialRefSys);
 
133
 
 
134
 
 
135
    gridLayout->addWidget(gbCRS, 3, 0, 1, 4);
 
136
 
 
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);
 
145
 
 
146
    gridLayout->addWidget(labelStatus, 5, 0, 1, 4);
 
147
 
 
148
    btnAdd = new QPushButton(QgsServerSourceSelectBase);
 
149
    btnAdd->setObjectName(QString::fromUtf8("btnAdd"));
 
150
    btnAdd->setEnabled(false);
 
151
    btnAdd->setAutoDefault(true);
 
152
    btnAdd->setDefault(true);
 
153
 
 
154
    gridLayout->addWidget(btnAdd, 4, 2, 1, 1);
 
155
 
 
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);
 
177
 
 
178
    vboxLayout->addWidget(lstLayers);
 
179
 
 
180
 
 
181
    gridLayout->addWidget(groupBox2, 2, 0, 1, 4);
 
182
 
 
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));
 
191
 
 
192
    gridLayout->addWidget(btnGrpImageEncoding, 1, 0, 1, 4);
 
193
 
 
194
    spacerItem2 = new QSpacerItem(284, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);
 
195
 
 
196
    gridLayout->addItem(spacerItem2, 4, 1, 1, 1);
 
197
 
 
198
    btnHelp = new QPushButton(QgsServerSourceSelectBase);
 
199
    btnHelp->setObjectName(QString::fromUtf8("btnHelp"));
 
200
    btnHelp->setEnabled(true);
 
201
    btnHelp->setAutoDefault(true);
 
202
 
 
203
    gridLayout->addWidget(btnHelp, 4, 0, 1, 1);
 
204
 
 
205
    btnCancel = new QPushButton(QgsServerSourceSelectBase);
 
206
    btnCancel->setObjectName(QString::fromUtf8("btnCancel"));
 
207
    btnCancel->setAutoDefault(true);
 
208
 
 
209
    gridLayout->addWidget(btnCancel, 4, 3, 1, 1);
 
210
 
 
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);
 
219
 
 
220
    retranslateUi(QgsServerSourceSelectBase);
 
221
 
 
222
    QSize size(600, 505);
 
223
    size = size.expandedTo(QgsServerSourceSelectBase->minimumSizeHint());
 
224
    QgsServerSourceSelectBase->resize(size);
 
225
 
 
226
 
 
227
    QMetaObject::connectSlotsByName(QgsServerSourceSelectBase);
 
228
    } // setupUi
 
229
 
 
230
    void retranslateUi(QDialog *QgsServerSourceSelectBase)
 
231
    {
 
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);
 
258
    } // retranslateUi
 
259
 
 
260
};
 
261
 
 
262
namespace Ui {
 
263
    class QgsServerSourceSelectBase: public Ui_QgsServerSourceSelectBase {};
 
264
} // namespace Ui
 
265
 
 
266
#endif // UI_QGSSERVERSOURCESELECTBASE_H