forked from rduivenvoorde/pdokservicesplugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui_pdokservicesplugindialog.py
165 lines (157 loc) · 9.61 KB
/
ui_pdokservicesplugindialog.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui_pdokservicesplugindialog.ui'
#
# Created: Fri Aug 15 16:45:30 2014
# by: PyQt4 UI code generator 4.11.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_PdokServicesPlugin(object):
def setupUi(self, PdokServicesPlugin):
PdokServicesPlugin.setObjectName(_fromUtf8("PdokServicesPlugin"))
PdokServicesPlugin.resize(787, 728)
self.verticalLayout = QtGui.QVBoxLayout(PdokServicesPlugin)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.tabWidget = QtGui.QTabWidget(PdokServicesPlugin)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
self.tabWidget.setSizePolicy(sizePolicy)
self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
self.tab_2 = QtGui.QWidget()
self.tab_2.setObjectName(_fromUtf8("tab_2"))
self.gridLayout_2 = QtGui.QGridLayout(self.tab_2)
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
self.servicesView = QtGui.QTableView(self.tab_2)
self.servicesView.setMinimumSize(QtCore.QSize(0, 0))
self.servicesView.setObjectName(_fromUtf8("servicesView"))
self.gridLayout_2.addWidget(self.servicesView, 1, 0, 1, 2)
self.btnLoadLayer = QtGui.QPushButton(self.tab_2)
self.btnLoadLayer.setEnabled(False)
self.btnLoadLayer.setObjectName(_fromUtf8("btnLoadLayer"))
self.gridLayout_2.addWidget(self.btnLoadLayer, 4, 0, 1, 2)
self.label = QtGui.QLabel(self.tab_2)
self.label.setObjectName(_fromUtf8("label"))
self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
self.layerSearch = QtGui.QLineEdit(self.tab_2)
self.layerSearch.setObjectName(_fromUtf8("layerSearch"))
self.gridLayout_2.addWidget(self.layerSearch, 0, 1, 1, 1)
self.layerInfo = QtGui.QTextEdit(self.tab_2)
self.layerInfo.setMaximumSize(QtCore.QSize(16777215, 200))
self.layerInfo.setObjectName(_fromUtf8("layerInfo"))
self.gridLayout_2.addWidget(self.layerInfo, 2, 0, 1, 2)
self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
self.tab_3 = QtGui.QWidget()
self.tab_3.setObjectName(_fromUtf8("tab_3"))
self.gridLayout_4 = QtGui.QGridLayout(self.tab_3)
self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
self.geocoderSearch = QtGui.QLineEdit(self.tab_3)
self.geocoderSearch.setText(_fromUtf8(""))
self.geocoderSearch.setObjectName(_fromUtf8("geocoderSearch"))
self.gridLayout_4.addWidget(self.geocoderSearch, 0, 0, 1, 2)
self.geocoderSearchBtn = QtGui.QPushButton(self.tab_3)
self.geocoderSearchBtn.setObjectName(_fromUtf8("geocoderSearchBtn"))
self.gridLayout_4.addWidget(self.geocoderSearchBtn, 0, 2, 1, 1)
self.label_2 = QtGui.QLabel(self.tab_3)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.gridLayout_4.addWidget(self.label_2, 1, 0, 1, 1)
self.geocoderResultSearch = QtGui.QLineEdit(self.tab_3)
self.geocoderResultSearch.setObjectName(_fromUtf8("geocoderResultSearch"))
self.gridLayout_4.addWidget(self.geocoderResultSearch, 1, 1, 1, 2)
self.geocoderResultView = QtGui.QTableView(self.tab_3)
self.geocoderResultView.setObjectName(_fromUtf8("geocoderResultView"))
self.gridLayout_4.addWidget(self.geocoderResultView, 2, 0, 1, 3)
self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
self.tab_4 = QtGui.QWidget()
self.tab_4.setObjectName(_fromUtf8("tab_4"))
self.gridLayout = QtGui.QGridLayout(self.tab_4)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.groupBox = QtGui.QGroupBox(self.tab_4)
self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.label_3 = QtGui.QLabel(self.groupBox)
self.label_3.setWordWrap(True)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.verticalLayout_2.addWidget(self.label_3)
self.label_4 = QtGui.QLabel(self.groupBox)
self.label_4.setWordWrap(True)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.verticalLayout_2.addWidget(self.label_4)
self.btn_check_pdokjson = QtGui.QPushButton(self.groupBox)
self.btn_check_pdokjson.setObjectName(_fromUtf8("btn_check_pdokjson"))
self.verticalLayout_2.addWidget(self.btn_check_pdokjson)
spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.verticalLayout_2.addItem(spacerItem)
self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 1)
self.groupBox_2 = QtGui.QGroupBox(self.tab_4)
self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_2)
self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
self.label_5 = QtGui.QLabel(self.groupBox_2)
self.label_5.setWordWrap(True)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.verticalLayout_3.addWidget(self.label_5)
self.radio_dialog = QtGui.QRadioButton(self.groupBox_2)
self.radio_dialog.setEnabled(True)
self.radio_dialog.setChecked(True)
self.radio_dialog.setObjectName(_fromUtf8("radio_dialog"))
self.verticalLayout_3.addWidget(self.radio_dialog)
self.radio_docked_widget = QtGui.QRadioButton(self.groupBox_2)
self.radio_docked_widget.setObjectName(_fromUtf8("radio_docked_widget"))
self.verticalLayout_3.addWidget(self.radio_docked_widget)
self.gridLayout.addWidget(self.groupBox_2, 1, 0, 1, 1)
spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridLayout.addItem(spacerItem1, 2, 0, 1, 1)
self.tabWidget.addTab(self.tab_4, _fromUtf8(""))
self.tab = QtGui.QWidget()
self.tab.setObjectName(_fromUtf8("tab"))
self.gridLayout_3 = QtGui.QGridLayout(self.tab)
self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
self.webView = QtWebKit.QWebView(self.tab)
self.webView.setUrl(QtCore.QUrl(_fromUtf8("qrc:/plugins/pdokservicesplugin/infotab.html")))
self.webView.setObjectName(_fromUtf8("webView"))
self.gridLayout_3.addWidget(self.webView, 0, 0, 1, 1)
self.tabWidget.addTab(self.tab, _fromUtf8(""))
self.verticalLayout.addWidget(self.tabWidget)
self.buttonBox = QtGui.QDialogButtonBox(PdokServicesPlugin)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.verticalLayout.addWidget(self.buttonBox)
self.retranslateUi(PdokServicesPlugin)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(PdokServicesPlugin)
def retranslateUi(self, PdokServicesPlugin):
PdokServicesPlugin.setWindowTitle(_translate("PdokServicesPlugin", "PdokServicesPlugin", None))
self.btnLoadLayer.setText(_translate("PdokServicesPlugin", "Laad deze laag in QGIS (of dubbelklik op de regel)", None))
self.label.setText(_translate("PdokServicesPlugin", "Zoeken: ", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("PdokServicesPlugin", "PDOK services", None))
self.geocoderSearchBtn.setText(_translate("PdokServicesPlugin", "Zoek", None))
self.label_2.setText(_translate("PdokServicesPlugin", "Filter resultaten op:", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("PdokServicesPlugin", "PDOK geocoder", None))
self.groupBox.setTitle(_translate("PdokServicesPlugin", "PDOK services check", None))
self.label_3.setText(_translate("PdokServicesPlugin", "Er worden periodiek nieuwe services of lagen toegevoegd aan de PDOK services.", None))
self.label_4.setText(_translate("PdokServicesPlugin", "Klik op de Check services button om te kijken of er op qgis.nl een nieuw configuratie bestand beschikbaar is.", None))
self.btn_check_pdokjson.setText(_translate("PdokServicesPlugin", "Check services", None))
self.groupBox_2.setTitle(_translate("PdokServicesPlugin", "Docked widget of Dialoog", None))
self.label_5.setText(_translate("PdokServicesPlugin", "De plugin kan zich tonen als een losse Dialoog, of zich als een Docked Widget gedragen (QGIS herstart vereist).", None))
self.radio_dialog.setText(_translate("PdokServicesPlugin", "Losse dialoog", None))
self.radio_docked_widget.setText(_translate("PdokServicesPlugin", "Docked widget", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("PdokServicesPlugin", "Extra", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("PdokServicesPlugin", "OpenGeoGroep en PDOK", None))
from PyQt4 import QtWebKit
import resources_rc