-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrocket_GUI_PyQt_final_test.py
425 lines (416 loc) · 31.7 KB
/
rocket_GUI_PyQt_final_test.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
422
423
424
425
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '.\rocket_GUI_PyQt_final_test.ui'
#
# Created by: PyQt5 UI code generator 5.13.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(1593, 881)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(".\\rocket_icon_512.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
MainWindow.setStyleSheet("background-color: rgb(52, 52, 52);\n"
"color: rgb(255, 255, 255);\n"
"background-color: qlineargradient(spread:pad, x1:0.522, y1:1, x2:0.528, y2:0, stop:0 rgba(34, 34, 34, 255), stop:1 rgba(54, 54, 54, 255));\n"
"\n"
"")
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout.setObjectName("gridLayout")
self.columnViewFrame = QtWidgets.QFrame(self.centralwidget)
self.columnViewFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.columnViewFrame.setFrameShadow(QtWidgets.QFrame.Raised)
self.columnViewFrame.setObjectName("columnViewFrame")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.columnViewFrame)
self.horizontalLayout.setObjectName("horizontalLayout")
self.rocketClusterFrame = QtWidgets.QFrame(self.columnViewFrame)
self.rocketClusterFrame.setMaximumSize(QtCore.QSize(280, 16777215))
self.rocketClusterFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.rocketClusterFrame.setFrameShadow(QtWidgets.QFrame.Raised)
self.rocketClusterFrame.setObjectName("rocketClusterFrame")
self.verticalLayout = QtWidgets.QVBoxLayout(self.rocketClusterFrame)
self.verticalLayout.setContentsMargins(20, -1, -1, -1)
self.verticalLayout.setObjectName("verticalLayout")
self.rocketHeaderLabel = QtWidgets.QLabel(self.rocketClusterFrame)
self.rocketHeaderLabel.setMaximumSize(QtCore.QSize(260, 50))
self.rocketHeaderLabel.setStyleSheet("background-color: rgb(54, 54, 54);")
self.rocketHeaderLabel.setObjectName("rocketHeaderLabel")
self.verticalLayout.addWidget(self.rocketHeaderLabel)
self.searchBarFrame = QtWidgets.QFrame(self.rocketClusterFrame)
self.searchBarFrame.setMaximumSize(QtCore.QSize(260, 16777215))
self.searchBarFrame.setStyleSheet("background-color: rgb(52, 52, 52);")
self.searchBarFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.searchBarFrame.setFrameShadow(QtWidgets.QFrame.Raised)
self.searchBarFrame.setObjectName("searchBarFrame")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.searchBarFrame)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.searchHeaderLabel = QtWidgets.QLabel(self.searchBarFrame)
self.searchHeaderLabel.setMaximumSize(QtCore.QSize(80, 60))
self.searchHeaderLabel.setStyleSheet("background-color: rgb(52, 52, 52);")
self.searchHeaderLabel.setObjectName("searchHeaderLabel")
self.horizontalLayout_2.addWidget(self.searchHeaderLabel)
self.searchBox = QtWidgets.QLineEdit(self.searchBarFrame)
self.searchBox.setMinimumSize(QtCore.QSize(0, 10))
self.searchBox.setMaximumSize(QtCore.QSize(200, 16777215))
self.searchBox.setStyleSheet("background-color: rgb(70, 70, 70);\n"
"color: rgb(255, 255, 255);\n"
"selection-color: rgb(0, 0, 0);\n"
"selection-background-color: rgb(66, 229, 243);")
self.searchBox.setObjectName("searchBox")
self.horizontalLayout_2.addWidget(self.searchBox)
self.verticalLayout.addWidget(self.searchBarFrame)
self.listWidget = QtWidgets.QListWidget(self.rocketClusterFrame)
self.listWidget.setMaximumSize(QtCore.QSize(260, 16777215))
self.listWidget.setMouseTracking(True)
self.listWidget.setStyleSheet("color: rgb(255, 255, 255);\n"
"selection-color: rgb(0, 0, 0);\n"
"selection-background-color: rgb(6, 236, 248);\n"
"background-color: rgb(52, 52, 52);")
self.listWidget.setObjectName("listWidget")
item = QtWidgets.QListWidgetItem()
self.listWidget.addItem(item)
item = QtWidgets.QListWidgetItem()
self.listWidget.addItem(item)
item = QtWidgets.QListWidgetItem()
self.listWidget.addItem(item)
self.verticalLayout.addWidget(self.listWidget)
self.horizontalLayout.addWidget(self.rocketClusterFrame)
self.infoPaneFrame = QtWidgets.QFrame(self.columnViewFrame)
self.infoPaneFrame.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.infoPaneFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.infoPaneFrame.setFrameShadow(QtWidgets.QFrame.Raised)
self.infoPaneFrame.setObjectName("infoPaneFrame")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.infoPaneFrame)
self.verticalLayout_2.setContentsMargins(30, -1, 30, -1)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.informationHeaderLabel = QtWidgets.QLabel(self.infoPaneFrame)
self.informationHeaderLabel.setMaximumSize(QtCore.QSize(16777215, 50))
self.informationHeaderLabel.setStyleSheet("background-color: rgb(54, 54, 54);")
self.informationHeaderLabel.setObjectName("informationHeaderLabel")
self.verticalLayout_2.addWidget(self.informationHeaderLabel)
self.textBrowser = QtWidgets.QTextBrowser(self.infoPaneFrame)
self.textBrowser.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.textBrowser.setMouseTracking(True)
self.textBrowser.setStyleSheet("selection-background-color: rgb(33, 237, 255);\n"
"color: rgb(255, 255, 255);\n"
"border-color: rgb(255, 255, 255);\n"
"selection-color: rgb(0, 0, 0);\n"
"background-color: rgb(52, 52, 52);")
self.textBrowser.setFrameShadow(QtWidgets.QFrame.Raised)
self.textBrowser.setLineWrapColumnOrWidth(0)
self.textBrowser.setOpenExternalLinks(True)
self.textBrowser.setObjectName("textBrowser")
self.verticalLayout_2.addWidget(self.textBrowser)
self.horizontalLayout.addWidget(self.infoPaneFrame)
self.frame = QtWidgets.QFrame(self.columnViewFrame)
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame.setObjectName("frame")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.frame)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.imageHeaderLabel = QtWidgets.QLabel(self.frame)
self.imageHeaderLabel.setMaximumSize(QtCore.QSize(580, 50))
self.imageHeaderLabel.setStyleSheet("background-color: rgb(54, 54, 54);")
self.imageHeaderLabel.setObjectName("imageHeaderLabel")
self.verticalLayout_3.addWidget(self.imageHeaderLabel)
self.graphicsView = QtWidgets.QGraphicsView(self.frame)
self.graphicsView.setMaximumSize(QtCore.QSize(580, 16777215))
self.graphicsView.setStyleSheet("background-color: rgb(52, 52, 52);\n"
"background-image: url(\"C:/Users/Atraxa/DevOps/rocket_info/images/Antares.png\");\n"
"background-repeat: no-repeat;\n"
"\n"
"\n"
"")
self.graphicsView.setObjectName("graphicsView")
self.verticalLayout_3.addWidget(self.graphicsView)
self.horizontalLayout.addWidget(self.frame)
self.gridLayout.addWidget(self.columnViewFrame, 2, 0, 4, 2)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1593, 21))
self.menubar.setObjectName("menubar")
self.menuShow = QtWidgets.QMenu(self.menubar)
self.menuShow.setObjectName("menuShow")
self.menuSort = QtWidgets.QMenu(self.menubar)
self.menuSort.setObjectName("menuSort")
self.menuMass = QtWidgets.QMenu(self.menuSort)
self.menuMass.setObjectName("menuMass")
self.menuDiameter = QtWidgets.QMenu(self.menuSort)
self.menuDiameter.setObjectName("menuDiameter")
self.menuHeight = QtWidgets.QMenu(self.menuSort)
self.menuHeight.setObjectName("menuHeight")
self.menuCost_Per_Launch = QtWidgets.QMenu(self.menuSort)
self.menuCost_Per_Launch.setObjectName("menuCost_Per_Launch")
self.menuThrust = QtWidgets.QMenu(self.menuSort)
self.menuThrust.setObjectName("menuThrust")
self.menuPayload_to_LEO = QtWidgets.QMenu(self.menuSort)
self.menuPayload_to_LEO.setObjectName("menuPayload_to_LEO")
self.menuAlphabetical = QtWidgets.QMenu(self.menuSort)
self.menuAlphabetical.setObjectName("menuAlphabetical")
self.menuISP = QtWidgets.QMenu(self.menuSort)
self.menuISP.setObjectName("menuISP")
self.menuEdit = QtWidgets.QMenu(self.menubar)
self.menuEdit.setObjectName("menuEdit")
self.menuHelp = QtWidgets.QMenu(self.menubar)
self.menuHelp.setObjectName("menuHelp")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.toolBar = QtWidgets.QToolBar(MainWindow)
self.toolBar.setToolTip("")
self.toolBar.setStyleSheet("background-color: rgb(60, 60, 60);")
self.toolBar.setMovable(False)
self.toolBar.setFloatable(False)
self.toolBar.setObjectName("toolBar")
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
self.actionIndividual_Rockets = QtWidgets.QAction(MainWindow)
self.actionIndividual_Rockets.setObjectName("actionIndividual_Rockets")
self.actionCopy = QtWidgets.QAction(MainWindow)
self.actionCopy.setObjectName("actionCopy")
self.actionPaste = QtWidgets.QAction(MainWindow)
self.actionPaste.setObjectName("actionPaste")
self.actionAbout = QtWidgets.QAction(MainWindow)
self.actionAbout.setObjectName("actionAbout")
self.actionVersion = QtWidgets.QAction(MainWindow)
self.actionVersion.setObjectName("actionVersion")
self.actionAcronyms = QtWidgets.QAction(MainWindow)
self.actionAcronyms.setObjectName("actionAcronyms")
self.actionLow_to_High = QtWidgets.QAction(MainWindow)
self.actionLow_to_High.setObjectName("actionLow_to_High")
self.actionLow_to_High_2 = QtWidgets.QAction(MainWindow)
self.actionLow_to_High_2.setObjectName("actionLow_to_High_2")
self.actionLow_to_High_3 = QtWidgets.QAction(MainWindow)
self.actionLow_to_High_3.setObjectName("actionLow_to_High_3")
self.actionHigh_to_Low = QtWidgets.QAction(MainWindow)
self.actionHigh_to_Low.setObjectName("actionHigh_to_Low")
self.actionLow_to_High_4 = QtWidgets.QAction(MainWindow)
self.actionLow_to_High_4.setObjectName("actionLow_to_High_4")
self.actionHigh_to_Low_2 = QtWidgets.QAction(MainWindow)
self.actionHigh_to_Low_2.setObjectName("actionHigh_to_Low_2")
self.actionLow_to_High_5 = QtWidgets.QAction(MainWindow)
self.actionLow_to_High_5.setObjectName("actionLow_to_High_5")
self.actionHigh_to_Low_3 = QtWidgets.QAction(MainWindow)
self.actionHigh_to_Low_3.setObjectName("actionHigh_to_Low_3")
self.actionLow_to_High_6 = QtWidgets.QAction(MainWindow)
self.actionLow_to_High_6.setObjectName("actionLow_to_High_6")
self.actionAscending = QtWidgets.QAction(MainWindow)
self.actionAscending.setObjectName("actionAscending")
self.actionDescending = QtWidgets.QAction(MainWindow)
self.actionDescending.setObjectName("actionDescending")
self.actionHigh_to_Low_4 = QtWidgets.QAction(MainWindow)
self.actionHigh_to_Low_4.setObjectName("actionHigh_to_Low_4")
self.actionHigh_to_Low_5 = QtWidgets.QAction(MainWindow)
self.actionHigh_to_Low_5.setObjectName("actionHigh_to_Low_5")
self.actionHigh_to_Low_6 = QtWidgets.QAction(MainWindow)
self.actionHigh_to_Low_6.setObjectName("actionHigh_to_Low_6")
self.actionLow_to_High_7 = QtWidgets.QAction(MainWindow)
self.actionLow_to_High_7.setObjectName("actionLow_to_High_7")
self.actionHigh_to_Low_7 = QtWidgets.QAction(MainWindow)
self.actionHigh_to_Low_7.setObjectName("actionHigh_to_Low_7")
self.actionRocket_Families = QtWidgets.QAction(MainWindow)
self.actionRocket_Families.setObjectName("actionRocket_Families")
self.actionticke = QtWidgets.QAction(MainWindow)
self.actionticke.setObjectName("actionticke")
self.actiontouch = QtWidgets.QAction(MainWindow)
self.actiontouch.setObjectName("actiontouch")
self.actionstrongly = QtWidgets.QAction(MainWindow)
self.actionstrongly.setObjectName("actionstrongly")
self.actionmildly = QtWidgets.QAction(MainWindow)
self.actionmildly.setObjectName("actionmildly")
self.actionCompare = QtWidgets.QAction(MainWindow)
self.actionCompare.setObjectName("actionCompare")
self.actionPrint = QtWidgets.QAction(MainWindow)
self.actionPrint.setObjectName("actionPrint")
self.actionCountry = QtWidgets.QAction(MainWindow)
self.actionCountry.setObjectName("actionCountry")
self.actionAgency = QtWidgets.QAction(MainWindow)
self.actionAgency.setObjectName("actionAgency")
self.menuShow.addAction(self.actionIndividual_Rockets)
self.menuShow.addAction(self.actionRocket_Families)
self.menuMass.addAction(self.actionLow_to_High)
self.menuMass.addAction(self.actionHigh_to_Low_4)
self.menuDiameter.addAction(self.actionLow_to_High_2)
self.menuDiameter.addAction(self.actionHigh_to_Low_5)
self.menuHeight.addAction(self.actionLow_to_High_3)
self.menuHeight.addAction(self.actionHigh_to_Low)
self.menuCost_Per_Launch.addAction(self.actionLow_to_High_4)
self.menuCost_Per_Launch.addAction(self.actionHigh_to_Low_2)
self.menuThrust.addAction(self.actionLow_to_High_5)
self.menuThrust.addAction(self.actionHigh_to_Low_3)
self.menuPayload_to_LEO.addAction(self.actionLow_to_High_6)
self.menuPayload_to_LEO.addAction(self.actionHigh_to_Low_6)
self.menuAlphabetical.addAction(self.actionAscending)
self.menuAlphabetical.addAction(self.actionDescending)
self.menuISP.addAction(self.actionLow_to_High_7)
self.menuISP.addAction(self.actionHigh_to_Low_7)
self.menuSort.addAction(self.menuAlphabetical.menuAction())
self.menuSort.addAction(self.menuPayload_to_LEO.menuAction())
self.menuSort.addAction(self.menuMass.menuAction())
self.menuSort.addAction(self.menuDiameter.menuAction())
self.menuSort.addAction(self.menuHeight.menuAction())
self.menuSort.addAction(self.menuCost_Per_Launch.menuAction())
self.menuSort.addAction(self.menuThrust.menuAction())
self.menuSort.addAction(self.menuISP.menuAction())
self.menuSort.addAction(self.actionCountry)
self.menuSort.addAction(self.actionAgency)
self.menuEdit.addAction(self.actionCopy)
self.menuEdit.addAction(self.actionPaste)
self.menuHelp.addAction(self.actionAbout)
self.menuHelp.addAction(self.actionVersion)
self.menuHelp.addAction(self.actionAcronyms)
self.menubar.addAction(self.menuShow.menuAction())
self.menubar.addAction(self.menuSort.menuAction())
self.menubar.addAction(self.menuEdit.menuAction())
self.menubar.addAction(self.menuHelp.menuAction())
self.toolBar.addAction(self.actionCompare)
self.toolBar.addAction(self.actionPrint)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "Working Title: SRP 0.3"))
MainWindow.setToolTip(_translate("MainWindow", "<html><head/><body><p>SRP 0.2</p></body></html>"))
self.rocketHeaderLabel.setToolTip(_translate("MainWindow", "Rockets!!!!"))
self.rocketHeaderLabel.setText(_translate("MainWindow", "<html><head/><body><p align=\"center\"><span style=\" font-size:24pt; font-weight:600; color:#ffffff;\">Rockets</span></p></body></html>"))
self.searchHeaderLabel.setToolTip(_translate("MainWindow", "Enter text in the bar to the right to search for a specific rocket"))
self.searchHeaderLabel.setText(_translate("MainWindow", "<html><head/><body><p><span style=\" font-size:14pt; color:#ffffff;\">Search</span></p></body></html>"))
self.searchBox.setStatusTip(_translate("MainWindow", "Enter text to search for rocket by name"))
self.listWidget.setToolTip(_translate("MainWindow", "List of rockets"))
self.listWidget.setStatusTip(_translate("MainWindow", "Rocket List"))
__sortingEnabled = self.listWidget.isSortingEnabled()
self.listWidget.setSortingEnabled(False)
item = self.listWidget.item(0)
item.setText(_translate("MainWindow", "poop"))
item = self.listWidget.item(1)
item.setText(_translate("MainWindow", "turd"))
item = self.listWidget.item(2)
item.setText(_translate("MainWindow", "shit"))
self.listWidget.setSortingEnabled(__sortingEnabled)
self.informationHeaderLabel.setToolTip(_translate("MainWindow", "Information"))
self.informationHeaderLabel.setText(_translate("MainWindow", "<html><head/><body><p align=\"center\"><span style=\" font-size:24pt; font-weight:600; color:#ffffff;\">Information</span></p></body></html>"))
self.textBrowser.setToolTip(_translate("MainWindow", "Various information about selected rocket"))
self.textBrowser.setStatusTip(_translate("MainWindow", "Information on selected rocket"))
self.textBrowser.setHtml(_translate("MainWindow", "<!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:9.75pt; font-weight:400; font-style:normal;\">\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:18pt; font-weight:600; color:#ffffff;\">ROCKET</span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Agency:</span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Manufacturer:</span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Payload Capacity to LEO: </span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Height: </span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Diameter: </span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Mass: </span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Years in Operation: </span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Country: </span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Operational Status: </span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Number of Stages: </span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Burn Time: </span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Thrust: </span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">ISP: </span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Cost Per Launch: </span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Fuel Type: </span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">---------------------------------------------------------------------------------------------------------------</span></p>\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Arial, sans-serif\'; font-size:12pt; color:#ffffff; background-color:transparent;\">Additional Information:</span></p></body></html>"))
self.imageHeaderLabel.setToolTip(_translate("MainWindow", "Image"))
self.imageHeaderLabel.setText(_translate("MainWindow", "<html><head/><body><p align=\"center\"><span style=\" font-size:24pt; font-weight:600; color:#ffffff;\">Image</span></p></body></html>"))
self.graphicsView.setToolTip(_translate("MainWindow", "Image of selected rocket"))
self.graphicsView.setStatusTip(_translate("MainWindow", "Image of selected rocket"))
self.menuShow.setTitle(_translate("MainWindow", "Show"))
self.menuSort.setTitle(_translate("MainWindow", "Sort"))
self.menuMass.setStatusTip(_translate("MainWindow", "Sort Rockets by their mass on the launchpad"))
self.menuMass.setTitle(_translate("MainWindow", "Mass"))
self.menuDiameter.setStatusTip(_translate("MainWindow", "Sort rockets by their diameter"))
self.menuDiameter.setTitle(_translate("MainWindow", "Diameter"))
self.menuHeight.setStatusTip(_translate("MainWindow", "Sort rockets by their height"))
self.menuHeight.setTitle(_translate("MainWindow", "Height"))
self.menuCost_Per_Launch.setStatusTip(_translate("MainWindow", "Sort rockets by how much it costs to launch them in USD"))
self.menuCost_Per_Launch.setTitle(_translate("MainWindow", "Cost Per Launch"))
self.menuThrust.setStatusTip(_translate("MainWindow", "Sort rockets by how much thrust they output"))
self.menuThrust.setTitle(_translate("MainWindow", "Thrust"))
self.menuPayload_to_LEO.setStatusTip(_translate("MainWindow", "Sort rockets by payload capacity to Low Earth Orbit"))
self.menuPayload_to_LEO.setTitle(_translate("MainWindow", "Payload to LEO"))
self.menuAlphabetical.setStatusTip(_translate("MainWindow", "Sort rockets alphabetically"))
self.menuAlphabetical.setTitle(_translate("MainWindow", "Alphabetical"))
self.menuISP.setStatusTip(_translate("MainWindow", "Sort rockets by their Specific Impulse"))
self.menuISP.setTitle(_translate("MainWindow", "ISP"))
self.menuEdit.setTitle(_translate("MainWindow", "Edit"))
self.menuHelp.setTitle(_translate("MainWindow", "Help"))
self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar"))
self.actionIndividual_Rockets.setText(_translate("MainWindow", "Individual Rockets"))
self.actionIndividual_Rockets.setStatusTip(_translate("MainWindow", "Show all rockets"))
self.actionCopy.setText(_translate("MainWindow", "Copy"))
self.actionCopy.setStatusTip(_translate("MainWindow", "Copy"))
self.actionCopy.setShortcut(_translate("MainWindow", "Ctrl+C"))
self.actionPaste.setText(_translate("MainWindow", "Paste"))
self.actionPaste.setStatusTip(_translate("MainWindow", "Paste"))
self.actionPaste.setShortcut(_translate("MainWindow", "Ctrl+V"))
self.actionAbout.setText(_translate("MainWindow", "About"))
self.actionAbout.setStatusTip(_translate("MainWindow", "View information about this program"))
self.actionVersion.setText(_translate("MainWindow", "Version"))
self.actionVersion.setStatusTip(_translate("MainWindow", "Display version information"))
self.actionAcronyms.setText(_translate("MainWindow", "Acronyms"))
self.actionAcronyms.setStatusTip(_translate("MainWindow", "A list of acronyms used in this program and what they stand for"))
self.actionLow_to_High.setText(_translate("MainWindow", "Low to High"))
self.actionLow_to_High.setStatusTip(_translate("MainWindow", "Sort rockets by their mass on the launchpad from lightest to heaviest"))
self.actionLow_to_High_2.setText(_translate("MainWindow", "Low to High"))
self.actionLow_to_High_2.setStatusTip(_translate("MainWindow", "Sort rockets by their diameter from narrowest to widest"))
self.actionLow_to_High_3.setText(_translate("MainWindow", "Low to High"))
self.actionLow_to_High_3.setStatusTip(_translate("MainWindow", "Sort rockets by their height from shortest to tallest"))
self.actionHigh_to_Low.setText(_translate("MainWindow", "High to Low"))
self.actionHigh_to_Low.setStatusTip(_translate("MainWindow", "Sort rockets by their height from tallest to shortest"))
self.actionLow_to_High_4.setText(_translate("MainWindow", "Low to High"))
self.actionLow_to_High_4.setStatusTip(_translate("MainWindow", "Sort rockets by their cost to launch from least expensive to most expensive"))
self.actionHigh_to_Low_2.setText(_translate("MainWindow", "High to Low"))
self.actionHigh_to_Low_2.setStatusTip(_translate("MainWindow", "Sort rockets by their cost to launch from most expensive to least expensive"))
self.actionLow_to_High_5.setText(_translate("MainWindow", "Low to High"))
self.actionLow_to_High_5.setStatusTip(_translate("MainWindow", "Sort rockets by their thrust in kilonewtons from least to most"))
self.actionHigh_to_Low_3.setText(_translate("MainWindow", "High to Low"))
self.actionHigh_to_Low_3.setStatusTip(_translate("MainWindow", "Sort rockets by their thrust in kilonewtons from highest to lowest"))
self.actionLow_to_High_6.setText(_translate("MainWindow", "Low to High"))
self.actionLow_to_High_6.setStatusTip(_translate("MainWindow", "Sort rockets by their lifting capacity to Low Earth Orbit from lowest to highest"))
self.actionAscending.setText(_translate("MainWindow", "Ascending"))
self.actionAscending.setStatusTip(_translate("MainWindow", "Sort rockets in ascending order (A to Z)"))
self.actionDescending.setText(_translate("MainWindow", "Descending"))
self.actionDescending.setStatusTip(_translate("MainWindow", "Sort rockets in descending order(Z to A)"))
self.actionHigh_to_Low_4.setText(_translate("MainWindow", "High to Low"))
self.actionHigh_to_Low_4.setStatusTip(_translate("MainWindow", "Sort rockets by their mass on the launchpad from heaviest to lightest"))
self.actionHigh_to_Low_5.setText(_translate("MainWindow", "High to Low"))
self.actionHigh_to_Low_5.setStatusTip(_translate("MainWindow", "Sort rockets by their diameter from widest to narrowest"))
self.actionHigh_to_Low_6.setText(_translate("MainWindow", "High to Low"))
self.actionHigh_to_Low_6.setStatusTip(_translate("MainWindow", "Sort rockets by their lifting capacity to Low Earth Orbit from highest to lowest"))
self.actionLow_to_High_7.setText(_translate("MainWindow", "Low to High"))
self.actionLow_to_High_7.setStatusTip(_translate("MainWindow", "Sort rockets by their specific impulse from least to most"))
self.actionHigh_to_Low_7.setText(_translate("MainWindow", "High to Low"))
self.actionHigh_to_Low_7.setStatusTip(_translate("MainWindow", "Sort rockets by their specific impulse from most to least"))
self.actionRocket_Families.setText(_translate("MainWindow", "Rocket Families"))
self.actionRocket_Families.setStatusTip(_translate("MainWindow", "Show rocket families"))
self.actionticke.setText(_translate("MainWindow", "ticke"))
self.actiontouch.setText(_translate("MainWindow", "touch"))
self.actionstrongly.setText(_translate("MainWindow", "strongly"))
self.actionmildly.setText(_translate("MainWindow", "mildly"))
self.actionCompare.setText(_translate("MainWindow", "Compare"))
self.actionCompare.setToolTip(_translate("MainWindow", "Compare two rockets"))
self.actionCompare.setStatusTip(_translate("MainWindow", "Compare two rockets"))
self.actionCompare.setShortcut(_translate("MainWindow", "Alt+C"))
self.actionPrint.setText(_translate("MainWindow", "Print"))
self.actionPrint.setToolTip(_translate("MainWindow", "Generates a layout for printing"))
self.actionPrint.setStatusTip(_translate("MainWindow", "Generates a layout for printing"))
self.actionPrint.setShortcut(_translate("MainWindow", "Ctrl+P"))
self.actionCountry.setText(_translate("MainWindow", "Country"))
self.actionCountry.setStatusTip(_translate("MainWindow", "Sort rockets by the countries that produced them, alphabetically"))
self.actionAgency.setText(_translate("MainWindow", "Agency"))
self.actionAgency.setStatusTip(_translate("MainWindow", "Sort rockets by the agencies that utilize them, alphabetically"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
MainWindow = QtWidgets.QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())