-
Notifications
You must be signed in to change notification settings - Fork 0
/
locale_dialog.py
91 lines (83 loc) · 4.4 KB
/
locale_dialog.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'locale_dialog.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# 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_locale_dialog(object):
def setupUi(self, locale_dialog):
locale_dialog.setObjectName(_fromUtf8("locale_dialog"))
locale_dialog.resize(400, 300)
self.verticalLayout = QtGui.QVBoxLayout(locale_dialog)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.label = QtGui.QLabel(locale_dialog)
self.label.setObjectName(_fromUtf8("label"))
self.horizontalLayout_2.addWidget(self.label)
self.lineEdit = QtGui.QLineEdit(locale_dialog)
self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
self.horizontalLayout_2.addWidget(self.lineEdit)
self.verticalLayout.addLayout(self.horizontalLayout_2)
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.label_2 = QtGui.QLabel(locale_dialog)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.horizontalLayout.addWidget(self.label_2)
self.lineEdit_2 = QtGui.QLineEdit(locale_dialog)
self.lineEdit_2.setObjectName(_fromUtf8("lineEdit_2"))
self.horizontalLayout.addWidget(self.lineEdit_2)
self.label_3 = QtGui.QLabel(locale_dialog)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.horizontalLayout.addWidget(self.label_3)
self.lineEdit_3 = QtGui.QLineEdit(locale_dialog)
self.lineEdit_3.setObjectName(_fromUtf8("lineEdit_3"))
self.horizontalLayout.addWidget(self.lineEdit_3)
self.label_4 = QtGui.QLabel(locale_dialog)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.horizontalLayout.addWidget(self.label_4)
self.lineEdit_4 = QtGui.QLineEdit(locale_dialog)
self.lineEdit_4.setObjectName(_fromUtf8("lineEdit_4"))
self.horizontalLayout.addWidget(self.lineEdit_4)
self.verticalLayout.addLayout(self.horizontalLayout)
self.tableWidget = QtGui.QTableWidget(locale_dialog)
self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
self.tableWidget.setColumnCount(0)
self.tableWidget.setRowCount(0)
self.verticalLayout.addWidget(self.tableWidget)
self.horizontalLayout_3 = QtGui.QHBoxLayout()
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
self.pushButton = QtGui.QPushButton(locale_dialog)
self.pushButton.setObjectName(_fromUtf8("pushButton"))
self.horizontalLayout_3.addWidget(self.pushButton)
self.pushButton_3 = QtGui.QPushButton(locale_dialog)
self.pushButton_3.setObjectName(_fromUtf8("pushButton_3"))
self.horizontalLayout_3.addWidget(self.pushButton_3)
self.pushButton_2 = QtGui.QPushButton(locale_dialog)
self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
self.horizontalLayout_3.addWidget(self.pushButton_2)
self.verticalLayout.addLayout(self.horizontalLayout_3)
self.retranslateUi(locale_dialog)
QtCore.QMetaObject.connectSlotsByName(locale_dialog)
def retranslateUi(self, locale_dialog):
locale_dialog.setWindowTitle(_translate("locale_dialog", "Location selection", None))
self.label.setText(_translate("locale_dialog", "Location name:", None))
self.label_2.setText(_translate("locale_dialog", "Latitude:", None))
self.label_3.setText(_translate("locale_dialog", "Longitude:", None))
self.label_4.setText(_translate("locale_dialog", "Altitude", None))
self.pushButton.setText(_translate("locale_dialog", "Add to list", None))
self.pushButton_3.setText(_translate("locale_dialog", "Set", None))
self.pushButton_2.setText(_translate("locale_dialog", "Cancel", None))