-
Notifications
You must be signed in to change notification settings - Fork 1
/
GeocodeCN_dialog_base.py
441 lines (434 loc) · 24.7 KB
/
GeocodeCN_dialog_base.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'GeocodeCN_dialog_base.ui'
#
# Created by: PyQt5 UI code generator 5.15.11
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_GeocodeCNDialogBase(object):
def setupUi(self, GeocodeCNDialogBase):
GeocodeCNDialogBase.setObjectName("GeocodeCNDialogBase")
GeocodeCNDialogBase.setEnabled(True)
GeocodeCNDialogBase.resize(542, 620)
GeocodeCNDialogBase.setMinimumSize(QtCore.QSize(250, 550))
self.verticalLayout_2 = QtWidgets.QVBoxLayout(GeocodeCNDialogBase)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.tabWidget = QtWidgets.QTabWidget(GeocodeCNDialogBase)
font = QtGui.QFont()
font.setFamily("黑体")
font.setPointSize(10)
self.tabWidget.setFont(font)
self.tabWidget.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.tabWidget.setObjectName("tabWidget")
self.table_batch = QtWidgets.QWidget()
self.table_batch.setObjectName("table_batch")
self.verticalLayout_12 = QtWidgets.QVBoxLayout(self.table_batch)
self.verticalLayout_12.setObjectName("verticalLayout_12")
self.gbBatch = QtWidgets.QGroupBox(self.table_batch)
self.gbBatch.setAutoFillBackground(True)
self.gbBatch.setObjectName("gbBatch")
self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.gbBatch)
self.verticalLayout_7.setObjectName("verticalLayout_7")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.le_file = QtWidgets.QLineEdit(self.gbBatch)
self.le_file.setMinimumSize(QtCore.QSize(200, 25))
self.le_file.setBaseSize(QtCore.QSize(400, 60))
font = QtGui.QFont()
font.setFamily(".AppleSystemUIFont")
font.setPointSize(12)
self.le_file.setFont(font)
self.le_file.setReadOnly(True)
self.le_file.setObjectName("le_file")
self.horizontalLayout_4.addWidget(self.le_file)
self.btn_file = QtWidgets.QPushButton(self.gbBatch)
self.btn_file.setMinimumSize(QtCore.QSize(60, 20))
self.btn_file.setMaximumSize(QtCore.QSize(60, 60))
font = QtGui.QFont()
font.setFamily("Heiti SC")
font.setPointSize(12)
self.btn_file.setFont(font)
self.btn_file.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.btn_file.setStyleSheet("color: #fff;\n"
"background:#428bca;\n"
"border-radius: 5%;")
self.btn_file.setObjectName("btn_file")
self.horizontalLayout_4.addWidget(self.btn_file)
self.verticalLayout_7.addLayout(self.horizontalLayout_4)
self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
self.horizontalLayout_14.setObjectName("horizontalLayout_14")
self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
self.horizontalLayout_12.setObjectName("horizontalLayout_12")
self.label = QtWidgets.QLabel(self.gbBatch)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
self.label.setSizePolicy(sizePolicy)
self.label.setMinimumSize(QtCore.QSize(30, 20))
font = QtGui.QFont()
font.setFamily(".AppleSystemUIFont")
font.setPointSize(10)
self.label.setFont(font)
self.label.setAlignment(QtCore.Qt.AlignCenter)
self.label.setObjectName("label")
self.horizontalLayout_12.addWidget(self.label)
self.cb = QtWidgets.QComboBox(self.gbBatch)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.cb.sizePolicy().hasHeightForWidth())
self.cb.setSizePolicy(sizePolicy)
self.cb.setMinimumSize(QtCore.QSize(250, 25))
font = QtGui.QFont()
font.setFamily(".AppleSystemUIFont")
font.setPointSize(12)
self.cb.setFont(font)
self.cb.setObjectName("cb")
self.horizontalLayout_12.addWidget(self.cb)
self.horizontalLayout_14.addLayout(self.horizontalLayout_12)
self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
self.horizontalLayout_10.setObjectName("horizontalLayout_10")
self.lbl_encoding = QtWidgets.QLabel(self.gbBatch)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lbl_encoding.sizePolicy().hasHeightForWidth())
self.lbl_encoding.setSizePolicy(sizePolicy)
self.lbl_encoding.setMinimumSize(QtCore.QSize(30, 20))
font = QtGui.QFont()
font.setFamily(".AppleSystemUIFont")
font.setPointSize(10)
self.lbl_encoding.setFont(font)
self.lbl_encoding.setAlignment(QtCore.Qt.AlignCenter)
self.lbl_encoding.setObjectName("lbl_encoding")
self.horizontalLayout_10.addWidget(self.lbl_encoding)
self.cb_encoding = QtWidgets.QComboBox(self.gbBatch)
self.cb_encoding.setMinimumSize(QtCore.QSize(80, 25))
self.cb_encoding.setMaximumSize(QtCore.QSize(110, 30))
font = QtGui.QFont()
font.setFamily(".AppleSystemUIFont")
font.setPointSize(12)
self.cb_encoding.setFont(font)
self.cb_encoding.setCurrentText("")
self.cb_encoding.setObjectName("cb_encoding")
self.horizontalLayout_10.addWidget(self.cb_encoding)
self.horizontalLayout_14.addLayout(self.horizontalLayout_10)
self.verticalLayout_7.addLayout(self.horizontalLayout_14)
self.btn_start = QtWidgets.QPushButton(self.gbBatch)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btn_start.sizePolicy().hasHeightForWidth())
self.btn_start.setSizePolicy(sizePolicy)
self.btn_start.setMinimumSize(QtCore.QSize(0, 20))
self.btn_start.setMouseTracking(True)
self.btn_start.setStyleSheet("color: #fff;\n"
"background:#428bca;\n"
"border-radius: 5%;")
self.btn_start.setObjectName("btn_start")
self.verticalLayout_7.addWidget(self.btn_start)
self.verticalLayout_12.addWidget(self.gbBatch)
self.groupBox = QtWidgets.QGroupBox(self.table_batch)
self.groupBox.setAutoFillBackground(True)
self.groupBox.setObjectName("groupBox")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.groupBox)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.leAddress = QtWidgets.QLineEdit(self.groupBox)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.leAddress.sizePolicy().hasHeightForWidth())
self.leAddress.setSizePolicy(sizePolicy)
self.leAddress.setMinimumSize(QtCore.QSize(0, 25))
self.leAddress.setMaximumSize(QtCore.QSize(800, 40))
font = QtGui.QFont()
font.setFamily(".AppleSystemUIFont")
font.setPointSize(12)
self.leAddress.setFont(font)
self.leAddress.setObjectName("leAddress")
self.horizontalLayout_5.addWidget(self.leAddress)
self.btnSingle = QtWidgets.QPushButton(self.groupBox)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnSingle.sizePolicy().hasHeightForWidth())
self.btnSingle.setSizePolicy(sizePolicy)
self.btnSingle.setMinimumSize(QtCore.QSize(80, 20))
font = QtGui.QFont()
font.setFamily("黑体")
font.setPointSize(10)
self.btnSingle.setFont(font)
self.btnSingle.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.btnSingle.setAutoFillBackground(False)
self.btnSingle.setStyleSheet("color: #fff;\n"
"background:#428bca;\n"
"border-radius: 5%;")
self.btnSingle.setObjectName("btnSingle")
self.horizontalLayout_5.addWidget(self.btnSingle)
self.horizontalLayout_3.addLayout(self.horizontalLayout_5)
self.verticalLayout_12.addWidget(self.groupBox)
self.verticalLayout_4 = QtWidgets.QVBoxLayout()
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.tb_loc = QtWidgets.QTextBrowser(self.table_batch)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.tb_loc.sizePolicy().hasHeightForWidth())
self.tb_loc.setSizePolicy(sizePolicy)
self.tb_loc.setMinimumSize(QtCore.QSize(0, 40))
self.tb_loc.setLayoutDirection(QtCore.Qt.LeftToRight)
self.tb_loc.setStyleSheet("")
self.tb_loc.setPlaceholderText("")
self.tb_loc.setObjectName("tb_loc")
self.verticalLayout_4.addWidget(self.tb_loc)
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.btn_add = QtWidgets.QPushButton(self.table_batch)
self.btn_add.setMinimumSize(QtCore.QSize(80, 20))
self.btn_add.setMaximumSize(QtCore.QSize(120, 40))
font = QtGui.QFont()
font.setFamily("黑体")
font.setPointSize(12)
self.btn_add.setFont(font)
self.btn_add.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.btn_add.setStyleSheet("color: #fff;\n"
"background:#428bca;\n"
"border-radius: 5%;")
self.btn_add.setObjectName("btn_add")
self.horizontalLayout_2.addWidget(self.btn_add)
self.btn_export = QtWidgets.QPushButton(self.table_batch)
self.btn_export.setMinimumSize(QtCore.QSize(60, 20))
self.btn_export.setMaximumSize(QtCore.QSize(120, 40))
font = QtGui.QFont()
font.setFamily("黑体")
font.setPointSize(12)
self.btn_export.setFont(font)
self.btn_export.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.btn_export.setMouseTracking(False)
self.btn_export.setStyleSheet("color: #fff;\n"
"background:#428bca;\n"
"border-radius: 5%;")
self.btn_export.setObjectName("btn_export")
self.horizontalLayout_2.addWidget(self.btn_export)
self.btn_clear = QtWidgets.QPushButton(self.table_batch)
self.btn_clear.setMinimumSize(QtCore.QSize(80, 20))
self.btn_clear.setMaximumSize(QtCore.QSize(60, 40))
font = QtGui.QFont()
font.setFamily("黑体")
font.setPointSize(12)
self.btn_clear.setFont(font)
self.btn_clear.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.btn_clear.setStyleSheet("color: #fff;\n"
"background:#428bca;\n"
"border-radius: 5%;")
self.btn_clear.setObjectName("btn_clear")
self.horizontalLayout_2.addWidget(self.btn_clear)
self.verticalLayout.addLayout(self.horizontalLayout_2)
self.pb = QtWidgets.QProgressBar(self.table_batch)
self.pb.setProperty("value", 0)
self.pb.setObjectName("pb")
self.verticalLayout.addWidget(self.pb)
self.verticalLayout_4.addLayout(self.verticalLayout)
self.verticalLayout_12.addLayout(self.verticalLayout_4)
self.tabWidget.addTab(self.table_batch, "")
self.table_one = QtWidgets.QWidget()
self.table_one.setObjectName("table_one")
self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.table_one)
self.verticalLayout_10.setObjectName("verticalLayout_10")
self.scrollArea = QtWidgets.QScrollArea(self.table_one)
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName("scrollArea")
self.scrollAreaWidgetContents = QtWidgets.QWidget()
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 470, 509))
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.groupBox_6 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_6.setAutoFillBackground(True)
self.groupBox_6.setStyleSheet("color:#428bca")
self.groupBox_6.setObjectName("groupBox_6")
self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.groupBox_6)
self.verticalLayout_11.setObjectName("verticalLayout_11")
self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
self.horizontalLayout_9.setObjectName("horizontalLayout_9")
self.cb_service = QtWidgets.QComboBox(self.groupBox_6)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.cb_service.sizePolicy().hasHeightForWidth())
self.cb_service.setSizePolicy(sizePolicy)
self.cb_service.setMinimumSize(QtCore.QSize(0, 20))
self.cb_service.setMaximumSize(QtCore.QSize(16777215, 30))
self.cb_service.setCurrentText("")
self.cb_service.setObjectName("cb_service")
self.horizontalLayout_9.addWidget(self.cb_service)
self.verticalLayout_11.addLayout(self.horizontalLayout_9)
self.verticalLayout_3.addWidget(self.groupBox_6)
self.groupBox_2 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_2.setAutoFillBackground(True)
self.groupBox_2.setObjectName("groupBox_2")
self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_2)
self.verticalLayout_6.setObjectName("verticalLayout_6")
self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
self.label_6 = QtWidgets.QLabel(self.groupBox_2)
self.label_6.setObjectName("label_6")
self.horizontalLayout_7.addWidget(self.label_6)
self.cb_crs = QtWidgets.QComboBox(self.groupBox_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.cb_crs.sizePolicy().hasHeightForWidth())
self.cb_crs.setSizePolicy(sizePolicy)
self.cb_crs.setMinimumSize(QtCore.QSize(0, 20))
self.cb_crs.setMaximumSize(QtCore.QSize(16777215, 30))
self.cb_crs.setObjectName("cb_crs")
self.cb_crs.addItem("")
self.cb_crs.addItem("")
self.cb_crs.addItem("")
self.horizontalLayout_7.addWidget(self.cb_crs)
self.verticalLayout_6.addLayout(self.horizontalLayout_7)
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
self.label_3 = QtWidgets.QLabel(self.groupBox_2)
self.label_3.setObjectName("label_3")
self.horizontalLayout_6.addWidget(self.label_3)
self.le_key_baidu = QtWidgets.QLineEdit(self.groupBox_2)
self.le_key_baidu.setMinimumSize(QtCore.QSize(0, 25))
self.le_key_baidu.setObjectName("le_key_baidu")
self.horizontalLayout_6.addWidget(self.le_key_baidu)
self.verticalLayout_6.addLayout(self.horizontalLayout_6)
self.verticalLayout_3.addWidget(self.groupBox_2)
self.groupBox_5 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_5.setObjectName("groupBox_5")
self.horizontalLayout_16 = QtWidgets.QHBoxLayout(self.groupBox_5)
self.horizontalLayout_16.setObjectName("horizontalLayout_16")
self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
self.label_8 = QtWidgets.QLabel(self.groupBox_5)
self.label_8.setObjectName("label_8")
self.horizontalLayout_8.addWidget(self.label_8)
self.le_key_gaode = QtWidgets.QLineEdit(self.groupBox_5)
self.le_key_gaode.setMinimumSize(QtCore.QSize(0, 25))
self.le_key_gaode.setObjectName("le_key_gaode")
self.horizontalLayout_8.addWidget(self.le_key_gaode)
self.horizontalLayout_16.addLayout(self.horizontalLayout_8)
self.verticalLayout_3.addWidget(self.groupBox_5)
self.gb_OSM = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.gb_OSM.setObjectName("gb_OSM")
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.gb_OSM)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.label_2 = QtWidgets.QLabel(self.gb_OSM)
self.label_2.setObjectName("label_2")
self.horizontalLayout.addWidget(self.label_2)
self.le_key_mapbox = QtWidgets.QLineEdit(self.gb_OSM)
self.le_key_mapbox.setMinimumSize(QtCore.QSize(0, 25))
self.le_key_mapbox.setObjectName("le_key_mapbox")
self.horizontalLayout.addWidget(self.le_key_mapbox)
self.verticalLayout_5.addLayout(self.horizontalLayout)
self.verticalLayout_3.addWidget(self.gb_OSM)
self.groupBox_3 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_3.setObjectName("groupBox_3")
self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupBox_3)
self.verticalLayout_8.setObjectName("verticalLayout_8")
self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
self.horizontalLayout_11.setObjectName("horizontalLayout_11")
self.label_4 = QtWidgets.QLabel(self.groupBox_3)
self.label_4.setObjectName("label_4")
self.horizontalLayout_11.addWidget(self.label_4)
self.le_proxy_osm = QtWidgets.QLineEdit(self.groupBox_3)
self.le_proxy_osm.setMinimumSize(QtCore.QSize(0, 25))
self.le_proxy_osm.setObjectName("le_proxy_osm")
self.horizontalLayout_11.addWidget(self.le_proxy_osm)
self.verticalLayout_8.addLayout(self.horizontalLayout_11)
self.verticalLayout_3.addWidget(self.groupBox_3)
self.groupBox_4 = QtWidgets.QGroupBox(self.scrollAreaWidgetContents)
self.groupBox_4.setObjectName("groupBox_4")
self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.groupBox_4)
self.verticalLayout_9.setObjectName("verticalLayout_9")
self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
self.horizontalLayout_13.setObjectName("horizontalLayout_13")
self.label_5 = QtWidgets.QLabel(self.groupBox_4)
self.label_5.setObjectName("label_5")
self.horizontalLayout_13.addWidget(self.label_5)
self.le_key_here = QtWidgets.QLineEdit(self.groupBox_4)
self.le_key_here.setMinimumSize(QtCore.QSize(0, 25))
self.le_key_here.setObjectName("le_key_here")
self.horizontalLayout_13.addWidget(self.le_key_here)
self.verticalLayout_9.addLayout(self.horizontalLayout_13)
self.verticalLayout_3.addWidget(self.groupBox_4)
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
self.verticalLayout_10.addWidget(self.scrollArea)
self.btn_apply = QtWidgets.QPushButton(self.table_one)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btn_apply.sizePolicy().hasHeightForWidth())
self.btn_apply.setSizePolicy(sizePolicy)
self.btn_apply.setMinimumSize(QtCore.QSize(0, 20))
self.btn_apply.setStyleSheet("color: #fff;\n"
"background:#428bca;\n"
"border-radius: 5%;")
self.btn_apply.setObjectName("btn_apply")
self.verticalLayout_10.addWidget(self.btn_apply)
self.tabWidget.addTab(self.table_one, "")
self.verticalLayout_2.addWidget(self.tabWidget)
self.retranslateUi(GeocodeCNDialogBase)
self.tabWidget.setCurrentIndex(1)
QtCore.QMetaObject.connectSlotsByName(GeocodeCNDialogBase)
def retranslateUi(self, GeocodeCNDialogBase):
_translate = QtCore.QCoreApplication.translate
GeocodeCNDialogBase.setWindowTitle(_translate("GeocodeCNDialogBase", "GeocodeCN"))
self.gbBatch.setTitle(_translate("GeocodeCNDialogBase", "批量"))
self.le_file.setPlaceholderText(_translate("GeocodeCNDialogBase", "选择csv文件"))
self.btn_file.setToolTip(_translate("GeocodeCNDialogBase", "选择csv文件"))
self.btn_file.setText(_translate("GeocodeCNDialogBase", "文件"))
self.label.setToolTip(_translate("GeocodeCNDialogBase", "用作地理编码的列"))
self.label.setText(_translate("GeocodeCNDialogBase", "地址列"))
self.lbl_encoding.setToolTip(_translate("GeocodeCNDialogBase", "用作地理编码的列"))
self.lbl_encoding.setText(_translate("GeocodeCNDialogBase", "编码"))
self.btn_start.setText(_translate("GeocodeCNDialogBase", "开始"))
self.groupBox.setTitle(_translate("GeocodeCNDialogBase", "单个"))
self.leAddress.setPlaceholderText(_translate("GeocodeCNDialogBase", "在此输入地址名称,尽量详细"))
self.btnSingle.setToolTip(_translate("GeocodeCNDialogBase", "获取该地址坐标"))
self.btnSingle.setText(_translate("GeocodeCNDialogBase", "开始"))
self.btn_add.setToolTip(_translate("GeocodeCNDialogBase", "生成图层"))
self.btn_add.setText(_translate("GeocodeCNDialogBase", "添加到地图"))
self.btn_export.setToolTip(_translate("GeocodeCNDialogBase", "导出为csv文件"))
self.btn_export.setText(_translate("GeocodeCNDialogBase", "导出为"))
self.btn_clear.setToolTip(_translate("GeocodeCNDialogBase", "清除当前编码数据"))
self.btn_clear.setText(_translate("GeocodeCNDialogBase", "清除"))
self.pb.setToolTip(_translate("GeocodeCNDialogBase", "编码进度"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.table_batch), _translate("GeocodeCNDialogBase", "编码"))
self.groupBox_6.setTitle(_translate("GeocodeCNDialogBase", "激活哪一个服务"))
self.groupBox_2.setTitle(_translate("GeocodeCNDialogBase", "百度地图"))
self.label_6.setText(_translate("GeocodeCNDialogBase", "坐标系"))
self.cb_crs.setItemText(0, _translate("GeocodeCNDialogBase", "WGS84"))
self.cb_crs.setItemText(1, _translate("GeocodeCNDialogBase", "百度坐标系"))
self.cb_crs.setItemText(2, _translate("GeocodeCNDialogBase", "国测局坐标系"))
self.label_3.setText(_translate("GeocodeCNDialogBase", "密 钥"))
self.le_key_baidu.setPlaceholderText(_translate("GeocodeCNDialogBase", "百度地图平台密钥"))
self.groupBox_5.setTitle(_translate("GeocodeCNDialogBase", "高德地图"))
self.label_8.setText(_translate("GeocodeCNDialogBase", "密 钥"))
self.le_key_gaode.setText(_translate("GeocodeCNDialogBase", "高德地图密钥"))
self.le_key_gaode.setPlaceholderText(_translate("GeocodeCNDialogBase", "Mapbox平台密钥"))
self.gb_OSM.setTitle(_translate("GeocodeCNDialogBase", "Mapbox"))
self.label_2.setText(_translate("GeocodeCNDialogBase", "密 钥"))
self.le_key_mapbox.setPlaceholderText(_translate("GeocodeCNDialogBase", "Mapbox平台密钥"))
self.groupBox_3.setTitle(_translate("GeocodeCNDialogBase", "OSM"))
self.label_4.setText(_translate("GeocodeCNDialogBase", "地 址"))
self.le_proxy_osm.setToolTip(_translate("GeocodeCNDialogBase", "可指定代理地址"))
self.le_proxy_osm.setPlaceholderText(_translate("GeocodeCNDialogBase", "OSM 地理编码转发地址,默认官方地址"))
self.groupBox_4.setTitle(_translate("GeocodeCNDialogBase", "Here"))
self.label_5.setText(_translate("GeocodeCNDialogBase", "密 钥"))
self.le_key_here.setPlaceholderText(_translate("GeocodeCNDialogBase", "Here平台密钥"))
self.btn_apply.setText(_translate("GeocodeCNDialogBase", "应用"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.table_one), _translate("GeocodeCNDialogBase", "配置"))