-
Notifications
You must be signed in to change notification settings - Fork 0
/
gui_base.py
422 lines (416 loc) · 24.3 KB
/
gui_base.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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'traj_evaluation.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(817, 527)
MainWindow.setMaximumSize(QtCore.QSize(817, 16777215))
self.main_widget = QtWidgets.QWidget(MainWindow)
self.main_widget.setEnabled(True)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.main_widget.sizePolicy().hasHeightForWidth())
self.main_widget.setSizePolicy(sizePolicy)
self.main_widget.setMinimumSize(QtCore.QSize(711, 0))
self.main_widget.setObjectName("main_widget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.main_widget)
self.verticalLayout.setObjectName("verticalLayout")
self.result_vert = QtWidgets.QVBoxLayout()
self.result_vert.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint)
self.result_vert.setSpacing(3)
self.result_vert.setObjectName("result_vert")
self.pred_hor = QtWidgets.QHBoxLayout()
self.pred_hor.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
self.pred_hor.setObjectName("pred_hor")
self.pred_butt = QtWidgets.QPushButton(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pred_butt.sizePolicy().hasHeightForWidth())
self.pred_butt.setSizePolicy(sizePolicy)
self.pred_butt.setObjectName("pred_butt")
self.pred_hor.addWidget(self.pred_butt)
self.pred_path = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pred_path.sizePolicy().hasHeightForWidth())
self.pred_path.setSizePolicy(sizePolicy)
self.pred_path.setText("")
self.pred_path.setObjectName("pred_path")
self.pred_hor.addWidget(self.pred_path)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.pred_hor.addItem(spacerItem)
self.result_vert.addLayout(self.pred_hor)
self.gt_hor = QtWidgets.QHBoxLayout()
self.gt_hor.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
self.gt_hor.setObjectName("gt_hor")
self.gt_butt = QtWidgets.QPushButton(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.gt_butt.sizePolicy().hasHeightForWidth())
self.gt_butt.setSizePolicy(sizePolicy)
self.gt_butt.setObjectName("gt_butt")
self.gt_hor.addWidget(self.gt_butt)
self.gt_path = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.gt_path.sizePolicy().hasHeightForWidth())
self.gt_path.setSizePolicy(sizePolicy)
self.gt_path.setText("")
self.gt_path.setObjectName("gt_path")
self.gt_hor.addWidget(self.gt_path)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.gt_hor.addItem(spacerItem1)
self.result_vert.addLayout(self.gt_hor)
self.conf_hor = QtWidgets.QHBoxLayout()
self.conf_hor.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
self.conf_hor.setObjectName("conf_hor")
self.label_5 = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
self.label_5.setSizePolicy(sizePolicy)
self.label_5.setObjectName("label_5")
self.conf_hor.addWidget(self.label_5)
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.conf_hor.addItem(spacerItem2)
self.scale = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.scale.sizePolicy().hasHeightForWidth())
self.scale.setSizePolicy(sizePolicy)
self.scale.setObjectName("scale")
self.conf_hor.addWidget(self.scale)
self.scale_input = QtWidgets.QLineEdit(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.scale_input.sizePolicy().hasHeightForWidth())
self.scale_input.setSizePolicy(sizePolicy)
self.scale_input.setObjectName("scale_input")
self.conf_hor.addWidget(self.scale_input)
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.conf_hor.addItem(spacerItem3)
self.label_2 = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
self.label_2.setSizePolicy(sizePolicy)
self.label_2.setObjectName("label_2")
self.conf_hor.addWidget(self.label_2)
self.max_input = QtWidgets.QLineEdit(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.max_input.sizePolicy().hasHeightForWidth())
self.max_input.setSizePolicy(sizePolicy)
self.max_input.setObjectName("max_input")
self.conf_hor.addWidget(self.max_input)
spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.conf_hor.addItem(spacerItem4)
self.result_vert.addLayout(self.conf_hor)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
self.horizontalLayout_2.setContentsMargins(-1, -1, -1, 0)
self.horizontalLayout_2.setSpacing(6)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.rmse_hor = QtWidgets.QHBoxLayout()
self.rmse_hor.setObjectName("rmse_hor")
self.rmse_lbl = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rmse_lbl.sizePolicy().hasHeightForWidth())
self.rmse_lbl.setSizePolicy(sizePolicy)
self.rmse_lbl.setObjectName("rmse_lbl")
self.rmse_hor.addWidget(self.rmse_lbl)
spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.rmse_hor.addItem(spacerItem5)
self.rmse_res = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rmse_res.sizePolicy().hasHeightForWidth())
self.rmse_res.setSizePolicy(sizePolicy)
self.rmse_res.setText("")
self.rmse_res.setObjectName("rmse_res")
self.rmse_hor.addWidget(self.rmse_res)
self.verticalLayout_3.addLayout(self.rmse_hor)
self.mean_hor = QtWidgets.QHBoxLayout()
self.mean_hor.setObjectName("mean_hor")
self.rmse_lbl_2 = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rmse_lbl_2.sizePolicy().hasHeightForWidth())
self.rmse_lbl_2.setSizePolicy(sizePolicy)
self.rmse_lbl_2.setObjectName("rmse_lbl_2")
self.mean_hor.addWidget(self.rmse_lbl_2)
spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.mean_hor.addItem(spacerItem6)
self.mean_res = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.mean_res.sizePolicy().hasHeightForWidth())
self.mean_res.setSizePolicy(sizePolicy)
self.mean_res.setText("")
self.mean_res.setObjectName("mean_res")
self.mean_hor.addWidget(self.mean_res)
self.verticalLayout_3.addLayout(self.mean_hor)
self.min_hor = QtWidgets.QHBoxLayout()
self.min_hor.setObjectName("min_hor")
self.rmse_lbl_5 = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rmse_lbl_5.sizePolicy().hasHeightForWidth())
self.rmse_lbl_5.setSizePolicy(sizePolicy)
self.rmse_lbl_5.setObjectName("rmse_lbl_5")
self.min_hor.addWidget(self.rmse_lbl_5)
spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.min_hor.addItem(spacerItem7)
self.min_res = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.min_res.sizePolicy().hasHeightForWidth())
self.min_res.setSizePolicy(sizePolicy)
self.min_res.setText("")
self.min_res.setObjectName("min_res")
self.min_hor.addWidget(self.min_res)
self.verticalLayout_3.addLayout(self.min_hor)
self.std_hor = QtWidgets.QHBoxLayout()
self.std_hor.setObjectName("std_hor")
self.rmse_lbl_4 = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rmse_lbl_4.sizePolicy().hasHeightForWidth())
self.rmse_lbl_4.setSizePolicy(sizePolicy)
self.rmse_lbl_4.setObjectName("rmse_lbl_4")
self.std_hor.addWidget(self.rmse_lbl_4)
spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.std_hor.addItem(spacerItem8)
self.std_res = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.std_res.sizePolicy().hasHeightForWidth())
self.std_res.setSizePolicy(sizePolicy)
self.std_res.setText("")
self.std_res.setObjectName("std_res")
self.std_hor.addWidget(self.std_res)
self.verticalLayout_3.addLayout(self.std_hor)
self.max_hor = QtWidgets.QHBoxLayout()
self.max_hor.setObjectName("max_hor")
self.rmse_lbl_6 = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rmse_lbl_6.sizePolicy().hasHeightForWidth())
self.rmse_lbl_6.setSizePolicy(sizePolicy)
self.rmse_lbl_6.setObjectName("rmse_lbl_6")
self.max_hor.addWidget(self.rmse_lbl_6)
spacerItem9 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.max_hor.addItem(spacerItem9)
self.max_res = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.max_res.sizePolicy().hasHeightForWidth())
self.max_res.setSizePolicy(sizePolicy)
self.max_res.setText("")
self.max_res.setObjectName("max_res")
self.max_hor.addWidget(self.max_res)
self.verticalLayout_3.addLayout(self.max_hor)
self.median_hor = QtWidgets.QHBoxLayout()
self.median_hor.setObjectName("median_hor")
self.rmse_lbl_3 = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rmse_lbl_3.sizePolicy().hasHeightForWidth())
self.rmse_lbl_3.setSizePolicy(sizePolicy)
self.rmse_lbl_3.setObjectName("rmse_lbl_3")
self.median_hor.addWidget(self.rmse_lbl_3)
spacerItem10 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.median_hor.addItem(spacerItem10)
self.median_res = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.median_res.sizePolicy().hasHeightForWidth())
self.median_res.setSizePolicy(sizePolicy)
self.median_res.setText("")
self.median_res.setObjectName("median_res")
self.median_hor.addWidget(self.median_res)
self.verticalLayout_3.addLayout(self.median_hor)
self.min_hor_2 = QtWidgets.QHBoxLayout()
self.min_hor_2.setObjectName("min_hor_2")
self.verticalLayout_3.addLayout(self.min_hor_2)
self.horizontalLayout_2.addLayout(self.verticalLayout_3)
self.vertical_canvas = QtWidgets.QVBoxLayout()
self.vertical_canvas.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
self.vertical_canvas.setObjectName("vertical_canvas")
self.horizontalLayout_2.addLayout(self.vertical_canvas)
self.horizontalLayout_2.setStretch(1, 5)
self.result_vert.addLayout(self.horizontalLayout_2)
self.eval_butt = QtWidgets.QPushButton(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.eval_butt.sizePolicy().hasHeightForWidth())
self.eval_butt.setSizePolicy(sizePolicy)
self.eval_butt.setObjectName("eval_butt")
self.result_vert.addWidget(self.eval_butt)
self.conf_hor_2 = QtWidgets.QHBoxLayout()
self.conf_hor_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
self.conf_hor_2.setObjectName("conf_hor_2")
spacerItem11 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.conf_hor_2.addItem(spacerItem11)
self.scale_2 = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.scale_2.sizePolicy().hasHeightForWidth())
self.scale_2.setSizePolicy(sizePolicy)
self.scale_2.setObjectName("scale_2")
self.conf_hor_2.addWidget(self.scale_2)
self.dataset_input = QtWidgets.QLineEdit(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.dataset_input.sizePolicy().hasHeightForWidth())
self.dataset_input.setSizePolicy(sizePolicy)
self.dataset_input.setObjectName("dataset_input")
self.conf_hor_2.addWidget(self.dataset_input)
spacerItem12 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.conf_hor_2.addItem(spacerItem12)
self.label_3 = QtWidgets.QLabel(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
self.label_3.setSizePolicy(sizePolicy)
self.label_3.setObjectName("label_3")
self.conf_hor_2.addWidget(self.label_3)
self.method_input = QtWidgets.QLineEdit(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.method_input.sizePolicy().hasHeightForWidth())
self.method_input.setSizePolicy(sizePolicy)
self.method_input.setObjectName("method_input")
self.conf_hor_2.addWidget(self.method_input)
spacerItem13 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.conf_hor_2.addItem(spacerItem13)
self.result_vert.addLayout(self.conf_hor_2)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.Add_butt = QtWidgets.QPushButton(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Add_butt.sizePolicy().hasHeightForWidth())
self.Add_butt.setSizePolicy(sizePolicy)
self.Add_butt.setObjectName("Add_butt")
self.horizontalLayout.addWidget(self.Add_butt)
self.load_but = QtWidgets.QPushButton(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.load_but.sizePolicy().hasHeightForWidth())
self.load_but.setSizePolicy(sizePolicy)
self.load_but.setObjectName("load_but")
self.horizontalLayout.addWidget(self.load_but)
self.save_but = QtWidgets.QPushButton(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.save_but.sizePolicy().hasHeightForWidth())
self.save_but.setSizePolicy(sizePolicy)
self.save_but.setObjectName("save_but")
self.horizontalLayout.addWidget(self.save_but)
self.result_vert.addLayout(self.horizontalLayout)
self.verticalLayout.addLayout(self.result_vert)
self.table_layout = QtWidgets.QVBoxLayout()
self.table_layout.setObjectName("table_layout")
self.res_table = QtWidgets.QTableWidget(self.main_widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.res_table.sizePolicy().hasHeightForWidth())
self.res_table.setSizePolicy(sizePolicy)
self.res_table.setObjectName("res_table")
self.res_table.setColumnCount(0)
self.res_table.setRowCount(0)
self.table_layout.addWidget(self.res_table)
self.verticalLayout.addLayout(self.table_layout)
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.plt_box = QtWidgets.QPushButton(self.main_widget)
self.plt_box.setObjectName("plt_box")
self.horizontalLayout_5.addWidget(self.plt_box)
self.Plt_bar = QtWidgets.QPushButton(self.main_widget)
self.Plt_bar.setObjectName("Plt_bar")
self.horizontalLayout_5.addWidget(self.Plt_bar)
self.verticalLayout.addLayout(self.horizontalLayout_5)
MainWindow.setCentralWidget(self.main_widget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 817, 22))
self.menubar.setObjectName("menubar")
self.menuMenu = QtWidgets.QMenu(self.menubar)
self.menuMenu.setObjectName("menuMenu")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.actionAbout = QtWidgets.QAction(MainWindow)
self.actionAbout.setObjectName("actionAbout")
self.menuMenu.addAction(self.actionAbout)
self.menubar.addAction(self.menuMenu.menuAction())
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.pred_butt.setText(_translate("MainWindow", " Load Predicted Trajectory "))
self.gt_butt.setText(_translate("MainWindow", " Load Ground Truth Data "))
self.label_5.setText(_translate("MainWindow", "Configuration"))
self.scale.setText(_translate("MainWindow", "Scale "))
self.scale_input.setText(_translate("MainWindow", "1.0"))
self.label_2.setText(_translate("MainWindow", "Max diffrence"))
self.max_input.setText(_translate("MainWindow", "2.0"))
self.rmse_lbl.setText(_translate("MainWindow", "RMSE"))
self.rmse_lbl_2.setText(_translate("MainWindow", "Mean "))
self.rmse_lbl_5.setText(_translate("MainWindow", "Min"))
self.rmse_lbl_4.setText(_translate("MainWindow", "Std"))
self.rmse_lbl_6.setText(_translate("MainWindow", "Max"))
self.rmse_lbl_3.setText(_translate("MainWindow", "Median"))
self.eval_butt.setText(_translate("MainWindow", "Evaluate"))
self.scale_2.setText(_translate("MainWindow", "Dataset"))
self.dataset_input.setText(_translate("MainWindow", "MH01"))
self.label_3.setText(_translate("MainWindow", "Method"))
self.method_input.setText(_translate("MainWindow", "VINS"))
self.Add_butt.setText(_translate("MainWindow", "Add To Table"))
self.load_but.setText(_translate("MainWindow", "Load"))
self.save_but.setText(_translate("MainWindow", "Save"))
self.plt_box.setText(_translate("MainWindow", "Box plots"))
self.Plt_bar.setText(_translate("MainWindow", "Plot Bars"))
self.menuMenu.setTitle(_translate("MainWindow", "Menu"))
self.actionAbout.setText(_translate("MainWindow", "About"))