-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathGUI.py
237 lines (230 loc) · 12.9 KB
/
GUI.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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'GUI.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_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(571, 734)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout_2.setObjectName("gridLayout_2")
self.gridLayout = QtWidgets.QGridLayout()
self.gridLayout.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
self.gridLayout.setSpacing(10)
self.gridLayout.setObjectName("gridLayout")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.label = QtWidgets.QLabel(self.centralwidget)
self.label.setObjectName("label")
self.horizontalLayout.addWidget(self.label)
self.tWorkingDir = QtWidgets.QLineEdit(self.centralwidget)
self.tWorkingDir.setObjectName("tWorkingDir")
self.horizontalLayout.addWidget(self.tWorkingDir)
self.btnChoseDir = QtWidgets.QToolButton(self.centralwidget)
self.btnChoseDir.setObjectName("btnChoseDir")
self.horizontalLayout.addWidget(self.btnChoseDir)
self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 1)
self.label_11 = QtWidgets.QLabel(self.centralwidget)
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
font.setStrikeOut(False)
self.label_11.setFont(font)
self.label_11.setObjectName("label_11")
self.gridLayout.addWidget(self.label_11, 0, 0, 1, 1)
self.btnRUN = QtWidgets.QPushButton(self.centralwidget)
font = QtGui.QFont()
font.setPointSize(14)
font.setBold(False)
font.setWeight(50)
font.setKerning(False)
self.btnRUN.setFont(font)
self.btnRUN.setObjectName("btnRUN")
self.gridLayout.addWidget(self.btnRUN, 20, 0, 1, 1)
self.label_9 = QtWidgets.QLabel(self.centralwidget)
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label_9.setFont(font)
self.label_9.setObjectName("label_9")
self.gridLayout.addWidget(self.label_9, 14, 0, 1, 1)
self.line_2 = QtWidgets.QFrame(self.centralwidget)
self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_2.setObjectName("line_2")
self.gridLayout.addWidget(self.line_2, 16, 0, 1, 1)
self.line_3 = QtWidgets.QFrame(self.centralwidget)
self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_3.setObjectName("line_3")
self.gridLayout.addWidget(self.line_3, 6, 0, 1, 1)
self.line = QtWidgets.QFrame(self.centralwidget)
self.line.setFrameShape(QtWidgets.QFrame.HLine)
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line.setObjectName("line")
self.gridLayout.addWidget(self.line, 3, 0, 1, 1)
self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
self.label_3 = QtWidgets.QLabel(self.centralwidget)
self.label_3.setObjectName("label_3")
self.horizontalLayout_8.addWidget(self.label_3)
self.tDownloadAddress = QtWidgets.QLineEdit(self.centralwidget)
self.tDownloadAddress.setObjectName("tDownloadAddress")
self.horizontalLayout_8.addWidget(self.tDownloadAddress)
self.btnPlaceholderHelp = QtWidgets.QToolButton(self.centralwidget)
self.btnPlaceholderHelp.setObjectName("btnPlaceholderHelp")
self.horizontalLayout_8.addWidget(self.btnPlaceholderHelp)
self.btnDownloadData = QtWidgets.QPushButton(self.centralwidget)
self.btnDownloadData.setObjectName("btnDownloadData")
self.horizontalLayout_8.addWidget(self.btnDownloadData)
self.gridLayout.addLayout(self.horizontalLayout_8, 4, 0, 1, 1)
self.gridLayout_4 = QtWidgets.QGridLayout()
self.gridLayout_4.setObjectName("gridLayout_4")
self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
self.label_8 = QtWidgets.QLabel(self.centralwidget)
self.label_8.setObjectName("label_8")
self.horizontalLayout_7.addWidget(self.label_8)
self.tBaseName = QtWidgets.QLineEdit(self.centralwidget)
self.tBaseName.setObjectName("tBaseName")
self.horizontalLayout_7.addWidget(self.tBaseName)
self.gridLayout_4.addLayout(self.horizontalLayout_7, 0, 0, 1, 1)
self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
self.horizontalLayout_13.setObjectName("horizontalLayout_13")
self.chkBaseOBS = QtWidgets.QCheckBox(self.centralwidget)
self.chkBaseOBS.setObjectName("chkBaseOBS")
self.horizontalLayout_13.addWidget(self.chkBaseOBS)
self.tBaseOBS = QtWidgets.QLineEdit(self.centralwidget)
self.tBaseOBS.setObjectName("tBaseOBS")
self.horizontalLayout_13.addWidget(self.tBaseOBS)
self.btnChoseBaseOBS = QtWidgets.QToolButton(self.centralwidget)
self.btnChoseBaseOBS.setObjectName("btnChoseBaseOBS")
self.horizontalLayout_13.addWidget(self.btnChoseBaseOBS)
self.gridLayout_4.addLayout(self.horizontalLayout_13, 1, 0, 1, 1)
self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
self.horizontalLayout_14.setObjectName("horizontalLayout_14")
self.chkBaseNAV = QtWidgets.QCheckBox(self.centralwidget)
self.chkBaseNAV.setObjectName("chkBaseNAV")
self.horizontalLayout_14.addWidget(self.chkBaseNAV)
self.tBaseNAV = QtWidgets.QLineEdit(self.centralwidget)
self.tBaseNAV.setObjectName("tBaseNAV")
self.horizontalLayout_14.addWidget(self.tBaseNAV)
self.btnChoseBaseNAV = QtWidgets.QToolButton(self.centralwidget)
self.btnChoseBaseNAV.setObjectName("btnChoseBaseNAV")
self.horizontalLayout_14.addWidget(self.btnChoseBaseNAV)
self.gridLayout_4.addLayout(self.horizontalLayout_14, 2, 0, 1, 1)
self.gridLayout.addLayout(self.gridLayout_4, 15, 0, 1, 1)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.label_2 = QtWidgets.QLabel(self.centralwidget)
self.label_2.setObjectName("label_2")
self.horizontalLayout_2.addWidget(self.label_2)
self.calendarDT = QtWidgets.QCalendarWidget(self.centralwidget)
self.calendarDT.setObjectName("calendarDT")
self.horizontalLayout_2.addWidget(self.calendarDT)
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.chkStartingTime = QtWidgets.QCheckBox(self.centralwidget)
self.chkStartingTime.setObjectName("chkStartingTime")
self.horizontalLayout_3.addWidget(self.chkStartingTime)
self.tStartingTime = QtWidgets.QTimeEdit(self.centralwidget)
self.tStartingTime.setObjectName("tStartingTime")
self.horizontalLayout_3.addWidget(self.tStartingTime)
self.verticalLayout.addLayout(self.horizontalLayout_3)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.chkEndTime = QtWidgets.QCheckBox(self.centralwidget)
self.chkEndTime.setObjectName("chkEndTime")
self.horizontalLayout_4.addWidget(self.chkEndTime)
self.tEndTime = QtWidgets.QTimeEdit(self.centralwidget)
self.tEndTime.setObjectName("tEndTime")
self.horizontalLayout_4.addWidget(self.tEndTime)
self.verticalLayout.addLayout(self.horizontalLayout_4)
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.chkTimeInterval = QtWidgets.QCheckBox(self.centralwidget)
self.chkTimeInterval.setObjectName("chkTimeInterval")
self.horizontalLayout_5.addWidget(self.chkTimeInterval)
self.cmbTimeInterval = QtWidgets.QComboBox(self.centralwidget)
self.cmbTimeInterval.setObjectName("cmbTimeInterval")
self.horizontalLayout_5.addWidget(self.cmbTimeInterval)
self.verticalLayout.addLayout(self.horizontalLayout_5)
self.horizontalLayout_2.addLayout(self.verticalLayout)
self.gridLayout.addLayout(self.horizontalLayout_2, 2, 0, 1, 1)
self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
self.tabWidget.setObjectName("tabWidget")
self.gridLayout.addWidget(self.tabWidget, 13, 0, 1, 1)
self.horizontalLayout_15 = QtWidgets.QHBoxLayout()
self.horizontalLayout_15.setObjectName("horizontalLayout_15")
self.label_10 = QtWidgets.QLabel(self.centralwidget)
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label_10.setFont(font)
self.label_10.setObjectName("label_10")
self.horizontalLayout_15.addWidget(self.label_10)
self.btnSetupDistances = QtWidgets.QPushButton(self.centralwidget)
self.btnSetupDistances.setObjectName("btnSetupDistances")
self.horizontalLayout_15.addWidget(self.btnSetupDistances)
self.btnAddRover = QtWidgets.QPushButton(self.centralwidget)
self.btnAddRover.setObjectName("btnAddRover")
self.horizontalLayout_15.addWidget(self.btnAddRover)
self.btnDeleteRover = QtWidgets.QPushButton(self.centralwidget)
self.btnDeleteRover.setEnabled(False)
self.btnDeleteRover.setObjectName("btnDeleteRover")
self.horizontalLayout_15.addWidget(self.btnDeleteRover)
self.gridLayout.addLayout(self.horizontalLayout_15, 9, 0, 1, 1)
self.btnPlotPositions = QtWidgets.QPushButton(self.centralwidget)
font = QtGui.QFont()
font.setPointSize(14)
self.btnPlotPositions.setFont(font)
self.btnPlotPositions.setObjectName("btnPlotPositions")
self.gridLayout.addWidget(self.btnPlotPositions, 21, 0, 1, 1)
self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 571, 20))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(-1)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.label.setText(_translate("MainWindow", "Working Directory:"))
self.btnChoseDir.setText(_translate("MainWindow", "..."))
self.label_11.setText(_translate("MainWindow", "General Settings"))
self.btnRUN.setText(_translate("MainWindow", "RUN"))
self.label_9.setText(_translate("MainWindow", "Base/Permanent Station"))
self.label_3.setText(_translate("MainWindow", "Download Address:"))
self.btnPlaceholderHelp.setText(_translate("MainWindow", "?"))
self.btnDownloadData.setText(_translate("MainWindow", "Download Data"))
self.label_8.setText(_translate("MainWindow", "Permanent/Base Station Name:"))
self.chkBaseOBS.setText(_translate("MainWindow", "OBS File"))
self.btnChoseBaseOBS.setText(_translate("MainWindow", "..."))
self.chkBaseNAV.setText(_translate("MainWindow", "NAV File"))
self.btnChoseBaseNAV.setText(_translate("MainWindow", "..."))
self.label_2.setText(_translate("MainWindow", "Date Time:"))
self.chkStartingTime.setText(_translate("MainWindow", "Starting Time:"))
self.chkEndTime.setText(_translate("MainWindow", "End Time:"))
self.chkTimeInterval.setText(_translate("MainWindow", "Time Interval:"))
self.label_10.setText(_translate("MainWindow", "Rovers"))
self.btnSetupDistances.setText(_translate("MainWindow", "Setup Distances"))
self.btnAddRover.setText(_translate("MainWindow", "Add Rover"))
self.btnDeleteRover.setText(_translate("MainWindow", "Delete Selected Rover"))
self.btnPlotPositions.setText(_translate("MainWindow", "PLOT POSITIONS"))