-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui_dialog.py
98 lines (90 loc) · 5.98 KB
/
ui_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
91
92
93
94
95
96
97
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'padrohabitants_dialog.ui'
#
# Created: Tue Sep 15 19:59:28 2015
# by: PyQt4 UI code generator 4.10.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_padroHabitantsDialog(object):
def setupUi(self, padroHabitantsDialog):
padroHabitantsDialog.setObjectName(_fromUtf8("padroHabitantsDialog"))
padroHabitantsDialog.resize(475, 204)
self.btnCsvToPg = QtGui.QPushButton(padroHabitantsDialog)
self.btnCsvToPg.setGeometry(QtCore.QRect(370, 120, 91, 23))
self.btnCsvToPg.setObjectName(_fromUtf8("btnCsvToPg"))
self.btnSelectInput = QtGui.QPushButton(padroHabitantsDialog)
self.btnSelectInput.setGeometry(QtCore.QRect(390, 25, 71, 23))
self.btnSelectInput.setObjectName(_fromUtf8("btnSelectInput"))
self.label = QtGui.QLabel(padroHabitantsDialog)
self.label.setGeometry(QtCore.QRect(10, 20, 91, 31))
self.label.setObjectName(_fromUtf8("label"))
self.label_2 = QtGui.QLabel(padroHabitantsDialog)
self.label_2.setGeometry(QtCore.QRect(10, 70, 91, 31))
self.label_2.setObjectName(_fromUtf8("label_2"))
self.btnSelectOutput = QtGui.QPushButton(padroHabitantsDialog)
self.btnSelectOutput.setGeometry(QtCore.QRect(390, 75, 71, 23))
self.btnSelectOutput.setObjectName(_fromUtf8("btnSelectOutput"))
self.txtInputFilePath = QtGui.QTextEdit(padroHabitantsDialog)
self.txtInputFilePath.setGeometry(QtCore.QRect(100, 20, 271, 36))
self.txtInputFilePath.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.txtInputFilePath.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.txtInputFilePath.setObjectName(_fromUtf8("txtInputFilePath"))
self.txtOutputFilePath = QtGui.QTextEdit(padroHabitantsDialog)
self.txtOutputFilePath.setGeometry(QtCore.QRect(100, 70, 271, 36))
self.txtOutputFilePath.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.txtOutputFilePath.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.txtOutputFilePath.setObjectName(_fromUtf8("txtOutputFilePath"))
self.cboConnection = QtGui.QComboBox(padroHabitantsDialog)
self.cboConnection.setGeometry(QtCore.QRect(100, 120, 151, 22))
self.cboConnection.setObjectName(_fromUtf8("cboConnection"))
self.label_3 = QtGui.QLabel(padroHabitantsDialog)
self.label_3.setGeometry(QtCore.QRect(10, 120, 91, 21))
self.label_3.setObjectName(_fromUtf8("label_3"))
self.label_4 = QtGui.QLabel(padroHabitantsDialog)
self.label_4.setGeometry(QtCore.QRect(10, 160, 91, 21))
self.label_4.setObjectName(_fromUtf8("label_4"))
self.txtTableName = QtGui.QLineEdit(padroHabitantsDialog)
self.txtTableName.setGeometry(QtCore.QRect(100, 160, 151, 20))
self.txtTableName.setObjectName(_fromUtf8("txtTableName"))
self.btnTxtToCsv = QtGui.QPushButton(padroHabitantsDialog)
self.btnTxtToCsv.setGeometry(QtCore.QRect(270, 120, 91, 23))
self.btnTxtToCsv.setObjectName(_fromUtf8("btnTxtToCsv"))
self.btnAccept = QtGui.QPushButton(padroHabitantsDialog)
self.btnAccept.setGeometry(QtCore.QRect(390, 160, 71, 23))
self.btnAccept.setObjectName(_fromUtf8("btnAccept"))
self.retranslateUi(padroHabitantsDialog)
QtCore.QMetaObject.connectSlotsByName(padroHabitantsDialog)
def retranslateUi(self, padroHabitantsDialog):
padroHabitantsDialog.setWindowTitle(_translate("padroHabitantsDialog", "Dialog", None))
self.btnCsvToPg.setText(_translate("padroHabitantsDialog", "CSV to PostGIS", None))
self.btnSelectInput.setText(_translate("padroHabitantsDialog", "...", None))
self.label.setText(_translate("padroHabitantsDialog", "Fitxer entrada:", None))
self.label_2.setText(_translate("padroHabitantsDialog", "Fitxer sortida:", None))
self.btnSelectOutput.setText(_translate("padroHabitantsDialog", "...", None))
self.txtInputFilePath.setHtml(_translate("padroHabitantsDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>", None))
self.txtOutputFilePath.setHtml(_translate("padroHabitantsDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>", None))
self.label_3.setText(_translate("padroHabitantsDialog", "Connexió:", None))
self.label_4.setText(_translate("padroHabitantsDialog", "Nom taula:", None))
self.btnTxtToCsv.setText(_translate("padroHabitantsDialog", "TXT to CSV", None))
self.btnAccept.setText(_translate("padroHabitantsDialog", "Aceptar", None))