forked from AstunTechnology/QGIS-Gazetteer-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui_gazetteersearch.py
78 lines (71 loc) · 4 KB
/
ui_gazetteersearch.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui_gazetteersearch.ui'
#
# Created: Mon Aug 20 21:49:16 2012
# by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_gazetteerSearch(object):
def setupUi(self, gazetteerSearch):
gazetteerSearch.setObjectName(_fromUtf8("gazetteerSearch"))
gazetteerSearch.resize(393, 452)
self.gridLayout = QtGui.QGridLayout(gazetteerSearch)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.label_3 = QtGui.QLabel(gazetteerSearch)
font = QtGui.QFont()
font.setPointSize(15)
self.label_3.setFont(font)
self.label_3.setAlignment(QtCore.Qt.AlignCenter)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.gridLayout.addWidget(self.label_3, 0, 0, 1, 4)
self.label = QtGui.QLabel(gazetteerSearch)
self.label.setObjectName(_fromUtf8("label"))
self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
self.searchEdit = QtGui.QLineEdit(gazetteerSearch)
self.searchEdit.setObjectName(_fromUtf8("searchEdit"))
self.gridLayout.addWidget(self.searchEdit, 1, 1, 1, 1)
self.label_2 = QtGui.QLabel(gazetteerSearch)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
self.gazzetterCombo = QtGui.QComboBox(gazetteerSearch)
self.gazzetterCombo.setObjectName(_fromUtf8("gazzetterCombo"))
self.gridLayout.addWidget(self.gazzetterCombo, 2, 1, 1, 1)
self.line = QtGui.QFrame(gazetteerSearch)
self.line.setFrameShape(QtGui.QFrame.HLine)
self.line.setFrameShadow(QtGui.QFrame.Sunken)
self.line.setObjectName(_fromUtf8("line"))
self.gridLayout.addWidget(self.line, 3, 0, 1, 4)
self.resultsList = QtGui.QListWidget(gazetteerSearch)
self.resultsList.setObjectName(_fromUtf8("resultsList"))
self.gridLayout.addWidget(self.resultsList, 4, 0, 1, 4)
self.goButton = QtGui.QPushButton(gazetteerSearch)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.goButton.sizePolicy().hasHeightForWidth())
self.goButton.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(9)
self.goButton.setFont(font)
self.goButton.setObjectName(_fromUtf8("goButton"))
self.gridLayout.addWidget(self.goButton, 1, 3, 1, 1)
self.clearButton = QtGui.QPushButton(gazetteerSearch)
self.clearButton.setCheckable(False)
self.clearButton.setAutoRepeat(False)
self.clearButton.setObjectName(_fromUtf8("clearButton"))
self.gridLayout.addWidget(self.clearButton, 2, 3, 1, 1)
self.retranslateUi(gazetteerSearch)
QtCore.QObject.connect(self.searchEdit, QtCore.SIGNAL(_fromUtf8("returnPressed()")), self.goButton.click)
QtCore.QMetaObject.connectSlotsByName(gazetteerSearch)
def retranslateUi(self, gazetteerSearch):
gazetteerSearch.setWindowTitle(QtGui.QApplication.translate("gazetteerSearch", "Form", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setText(QtGui.QApplication.translate("gazetteerSearch", "Where would you like to go today?", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate("gazetteerSearch", "Search for:", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setText(QtGui.QApplication.translate("gazetteerSearch", "Gazetteer:", None, QtGui.QApplication.UnicodeUTF8))
self.goButton.setText(QtGui.QApplication.translate("gazetteerSearch", "Go!", None, QtGui.QApplication.UnicodeUTF8))
self.clearButton.setText(QtGui.QApplication.translate("gazetteerSearch", "Clear", None, QtGui.QApplication.UnicodeUTF8))