-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgis.py
executable file
·114 lines (105 loc) · 5.95 KB
/
gis.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'gis.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(400, 323)
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
self.buttonBox.setGeometry(QtCore.QRect(220, 290, 166, 25))
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.gridLayoutWidget = QtWidgets.QWidget(Dialog)
self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 10, 141, 51))
self.gridLayoutWidget.setObjectName("gridLayoutWidget")
self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget)
self.gridLayout.setContentsMargins(0, 0, 0, 0)
self.gridLayout.setObjectName("gridLayout")
self.pushButton = QtWidgets.QPushButton(self.gridLayoutWidget)
self.pushButton.setObjectName("pushButton")
self.gridLayout.addWidget(self.pushButton, 0, 0, 1, 1)
self.gridLayoutWidget_2 = QtWidgets.QWidget(Dialog)
self.gridLayoutWidget_2.setGeometry(QtCore.QRect(170, 10, 160, 51))
self.gridLayoutWidget_2.setObjectName("gridLayoutWidget_2")
self.gridLayout_2 = QtWidgets.QGridLayout(self.gridLayoutWidget_2)
self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
self.gridLayout_2.setObjectName("gridLayout_2")
self.lineEdit = QtWidgets.QLineEdit(self.gridLayoutWidget_2)
self.lineEdit.setObjectName("lineEdit")
self.gridLayout_2.addWidget(self.lineEdit, 0, 0, 1, 1)
self.gridLayoutWidget_3 = QtWidgets.QWidget(Dialog)
self.gridLayoutWidget_3.setGeometry(QtCore.QRect(10, 70, 141, 61))
self.gridLayoutWidget_3.setObjectName("gridLayoutWidget_3")
self.gridLayout_3 = QtWidgets.QGridLayout(self.gridLayoutWidget_3)
self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
self.gridLayout_3.setObjectName("gridLayout_3")
self.pushButton_2 = QtWidgets.QPushButton(self.gridLayoutWidget_3)
self.pushButton_2.setObjectName("pushButton_2")
self.gridLayout_3.addWidget(self.pushButton_2, 0, 0, 1, 1)
self.gridLayoutWidget_4 = QtWidgets.QWidget(Dialog)
self.gridLayoutWidget_4.setGeometry(QtCore.QRect(170, 70, 160, 61))
self.gridLayoutWidget_4.setObjectName("gridLayoutWidget_4")
self.gridLayout_4 = QtWidgets.QGridLayout(self.gridLayoutWidget_4)
self.gridLayout_4.setContentsMargins(0, 0, 0, 0)
self.gridLayout_4.setObjectName("gridLayout_4")
self.lineEdit_2 = QtWidgets.QLineEdit(self.gridLayoutWidget_4)
self.lineEdit_2.setObjectName("lineEdit_2")
self.gridLayout_4.addWidget(self.lineEdit_2, 0, 0, 1, 1)
self.gridLayoutWidget_5 = QtWidgets.QWidget(Dialog)
self.gridLayoutWidget_5.setGeometry(QtCore.QRect(10, 140, 141, 51))
self.gridLayoutWidget_5.setObjectName("gridLayoutWidget_5")
self.gridLayout_5 = QtWidgets.QGridLayout(self.gridLayoutWidget_5)
self.gridLayout_5.setContentsMargins(0, 0, 0, 0)
self.gridLayout_5.setObjectName("gridLayout_5")
self.pushButton_4 = QtWidgets.QPushButton(self.gridLayoutWidget_5)
self.pushButton_4.setObjectName("pushButton_4")
self.gridLayout_5.addWidget(self.pushButton_4, 0, 0, 1, 1)
self.gridLayoutWidget_6 = QtWidgets.QWidget(Dialog)
self.gridLayoutWidget_6.setGeometry(QtCore.QRect(170, 140, 161, 51))
self.gridLayoutWidget_6.setObjectName("gridLayoutWidget_6")
self.gridLayout_6 = QtWidgets.QGridLayout(self.gridLayoutWidget_6)
self.gridLayout_6.setContentsMargins(0, 0, 0, 0)
self.gridLayout_6.setObjectName("gridLayout_6")
self.lineEdit_3 = QtWidgets.QLineEdit(self.gridLayoutWidget_6)
self.lineEdit_3.setObjectName("lineEdit_3")
self.gridLayout_6.addWidget(self.lineEdit_3, 0, 0, 1, 1)
self.gridLayoutWidget_7 = QtWidgets.QWidget(Dialog)
self.gridLayoutWidget_7.setGeometry(QtCore.QRect(10, 200, 141, 51))
self.gridLayoutWidget_7.setObjectName("gridLayoutWidget_7")
self.gridLayout_7 = QtWidgets.QGridLayout(self.gridLayoutWidget_7)
self.gridLayout_7.setContentsMargins(0, 0, 0, 0)
self.gridLayout_7.setObjectName("gridLayout_7")
self.gridLayoutWidget_8 = QtWidgets.QWidget(Dialog)
self.gridLayoutWidget_8.setGeometry(QtCore.QRect(170, 200, 160, 51))
self.gridLayoutWidget_8.setObjectName("gridLayoutWidget_8")
self.gridLayout_8 = QtWidgets.QGridLayout(self.gridLayoutWidget_8)
self.gridLayout_8.setContentsMargins(0, 0, 0, 0)
self.gridLayout_8.setObjectName("gridLayout_8")
self.pushButton_3 = QtWidgets.QPushButton(self.gridLayoutWidget_8)
self.pushButton_3.setObjectName("pushButton_3")
self.gridLayout_8.addWidget(self.pushButton_3, 0, 0, 1, 1)
self.retranslateUi(Dialog)
self.buttonBox.accepted.connect(Dialog.accept)
self.buttonBox.rejected.connect(Dialog.reject)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
self.pushButton.setText(_translate("Dialog", "Input File 1"))
self.pushButton_2.setText(_translate("Dialog", "Input File 2"))
self.pushButton_4.setText(_translate("Dialog", "Output"))
self.pushButton_3.setText(_translate("Dialog", "Execute"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Dialog = QtWidgets.QDialog()
ui = Ui_Dialog()
ui.setupUi(Dialog)
Dialog.show()
sys.exit(app.exec_())