dtobswindow.py 21.5 KB
Newer Older
marc's avatar
marc committed
1
2
# -*- coding: utf-8 -*-

3
# Form implementation generated from reading ui file 'ui/dtobswindow.ui'
marc's avatar
marc committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Created by: PyQt5 UI code generator 5.5.1
#
# 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(856, 683)
        self.centralwidget = QtWidgets.QWidget(mainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName("gridLayout")
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
        self.pushButtonStartMeasurement = QtWidgets.QPushButton(self.centralwidget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(0, 255, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 255, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 255, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.pushButtonStartMeasurement.setPalette(palette)
        self.pushButtonStartMeasurement.setObjectName("pushButtonStartMeasurement")
        self.gridLayout.addWidget(self.pushButtonStartMeasurement, 7, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 1, 1, 1, QtCore.Qt.AlignHCenter)
        self.pushButtonStopMeasurement = QtWidgets.QPushButton(self.centralwidget)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.pushButtonStopMeasurement.setPalette(palette)
        self.pushButtonStopMeasurement.setObjectName("pushButtonStopMeasurement")
        self.gridLayout.addWidget(self.pushButtonStopMeasurement, 8, 0, 1, 1)
        self.tableWidgetPointings = QtWidgets.QTableWidget(self.centralwidget)
        self.tableWidgetPointings.setObjectName("tableWidgetPointings")
marc's avatar
marc committed
52
        self.tableWidgetPointings.setColumnCount(4)
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
        self.tableWidgetPointings.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignCenter)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        item.setBackground(QtGui.QColor(255, 170, 127))
        self.tableWidgetPointings.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignCenter)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        item.setBackground(QtGui.QColor(255, 170, 127))
        self.tableWidgetPointings.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignCenter)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        item.setBackground(QtGui.QColor(255, 170, 127))
        self.tableWidgetPointings.setHorizontalHeaderItem(2, item)
marc's avatar
marc committed
78
79
80
81
82
83
84
85
        item = QtWidgets.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignCenter)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        item.setBackground(QtGui.QColor(255, 170, 127))
        self.tableWidgetPointings.setHorizontalHeaderItem(3, item)
86
        self.gridLayout.addWidget(self.tableWidgetPointings, 6, 1, 1, 1)
marc's avatar
marc committed
87
88
89
90
91
92
        self.toolBox = QtWidgets.QToolBox(self.centralwidget)
        self.toolBox.setEnabled(True)
        self.toolBox.setMinimumSize(QtCore.QSize(280, 0))
        self.toolBox.setMaximumSize(QtCore.QSize(280, 16777215))
        self.toolBox.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.toolBox.setObjectName("toolBox")
93
        self.toolBoxMetaData = QtWidgets.QWidget()
marc's avatar
marc committed
94
        self.toolBoxMetaData.setGeometry(QtCore.QRect(0, 0, 280, 426))
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
        self.toolBoxMetaData.setObjectName("toolBoxMetaData")
        self.groupBox_3 = QtWidgets.QGroupBox(self.toolBoxMetaData)
        self.groupBox_3.setGeometry(QtCore.QRect(10, 10, 271, 351))
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayoutWidget_2 = QtWidgets.QWidget(self.groupBox_3)
        self.gridLayoutWidget_2.setGeometry(QtCore.QRect(10, 30, 251, 311))
        self.gridLayoutWidget_2.setObjectName("gridLayoutWidget_2")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.gridLayoutWidget_2)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_5 = QtWidgets.QLabel(self.gridLayoutWidget_2)
        self.label_5.setObjectName("label_5")
        self.gridLayout_3.addWidget(self.label_5, 0, 0, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.gridLayoutWidget_2)
        self.label_8.setObjectName("label_8")
        self.gridLayout_3.addWidget(self.label_8, 1, 0, 1, 1)
        self.textEditObservers = QtWidgets.QTextEdit(self.gridLayoutWidget_2)
        self.textEditObservers.setObjectName("textEditObservers")
        self.gridLayout_3.addWidget(self.textEditObservers, 0, 1, 1, 1)
        self.textEditDescription = QtWidgets.QTextEdit(self.gridLayoutWidget_2)
        self.textEditDescription.setObjectName("textEditDescription")
        self.gridLayout_3.addWidget(self.textEditDescription, 1, 1, 1, 1)
        self.toolBox.addItem(self.toolBoxMetaData, "")
marc's avatar
marc committed
117
        self.toolBoxMeasurement = QtWidgets.QWidget()
118
        self.toolBoxMeasurement.setGeometry(QtCore.QRect(0, 0, 280, 426))
marc's avatar
marc committed
119
120
        self.toolBoxMeasurement.setObjectName("toolBoxMeasurement")
        self.groupBox_2 = QtWidgets.QGroupBox(self.toolBoxMeasurement)
121
        self.groupBox_2.setGeometry(QtCore.QRect(0, 0, 280, 261))
marc's avatar
marc committed
122
123
124
125
126
127
128
129
130
131
        self.groupBox_2.setMaximumSize(QtCore.QSize(280, 16777215))
        self.groupBox_2.setTitle("")
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayoutWidget = QtWidgets.QWidget(self.groupBox_2)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 10, 261, 141))
        self.gridLayoutWidget.setObjectName("gridLayoutWidget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.gridLayoutWidget)
        self.gridLayout_2.setHorizontalSpacing(7)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.lineEditOutputDir = QtWidgets.QLineEdit(self.gridLayoutWidget)
132
        self.lineEditOutputDir.setText("")
marc's avatar
marc committed
133
134
135
136
137
138
139
        self.lineEditOutputDir.setObjectName("lineEditOutputDir")
        self.gridLayout_2.addWidget(self.lineEditOutputDir, 1, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.gridLayoutWidget)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 0, 0, 1, 1)
        self.comboBoxProgramma = QtWidgets.QComboBox(self.gridLayoutWidget)
        self.comboBoxProgramma.setObjectName("comboBoxProgramma")
140
141
142
        self.comboBoxProgramma.addItem("")
        self.comboBoxProgramma.addItem("")
        self.comboBoxProgramma.addItem("")
143
        self.comboBoxProgramma.addItem("")
marc's avatar
marc committed
144
145
146
147
148
149
150
151
152
153
        self.gridLayout_2.addWidget(self.comboBoxProgramma, 0, 1, 1, 1)
        self.spinBoxIntTime = QtWidgets.QSpinBox(self.gridLayoutWidget)
        self.spinBoxIntTime.setMinimum(1)
        self.spinBoxIntTime.setMaximum(3600)
        self.spinBoxIntTime.setProperty("value", 120)
        self.spinBoxIntTime.setObjectName("spinBoxIntTime")
        self.gridLayout_2.addWidget(self.spinBoxIntTime, 2, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.gridLayoutWidget)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 2, 0, 1, 1)
154
155
156
        self.pushButtonOutputDirectory = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButtonOutputDirectory.setObjectName("pushButtonOutputDirectory")
        self.gridLayout_2.addWidget(self.pushButtonOutputDirectory, 1, 0, 1, 1)
157
158
159
160
161
162
163
164
165
166
167
        self.verticalLayoutWidget = QtWidgets.QWidget(self.groupBox_2)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(10, 160, 261, 80))
        self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.checkBoxDTModel = QtWidgets.QCheckBox(self.verticalLayoutWidget)
        self.checkBoxDTModel.setObjectName("checkBoxDTModel")
        self.verticalLayout_2.addWidget(self.checkBoxDTModel)
        self.checkBoxCorrection = QtWidgets.QCheckBox(self.verticalLayoutWidget)
        self.checkBoxCorrection.setObjectName("checkBoxCorrection")
        self.verticalLayout_2.addWidget(self.checkBoxCorrection)
marc's avatar
marc committed
168
169
        self.toolBox.addItem(self.toolBoxMeasurement, "")
        self.toolBoxBackEnd = QtWidgets.QWidget()
marc's avatar
marc committed
170
        self.toolBoxBackEnd.setGeometry(QtCore.QRect(0, 0, 280, 426))
marc's avatar
marc committed
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
        self.toolBoxBackEnd.setObjectName("toolBoxBackEnd")
        self.groupBox = QtWidgets.QGroupBox(self.toolBoxBackEnd)
        self.groupBox.setEnabled(True)
        self.groupBox.setGeometry(QtCore.QRect(0, 10, 280, 191))
        self.groupBox.setMaximumSize(QtCore.QSize(280, 16777215))
        self.groupBox.setCheckable(False)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.checkBoxHI = QtWidgets.QCheckBox(self.groupBox)
        self.checkBoxHI.setEnabled(True)
        self.checkBoxHI.setChecked(True)
        self.checkBoxHI.setAutoExclusive(True)
        self.checkBoxHI.setObjectName("checkBoxHI")
        self.verticalLayout.addWidget(self.checkBoxHI)
        self.checkBoxSDR = QtWidgets.QCheckBox(self.groupBox)
        self.checkBoxSDR.setAutoExclusive(True)
        self.checkBoxSDR.setObjectName("checkBoxSDR")
        self.verticalLayout.addWidget(self.checkBoxSDR)
        self.checkBoxPulsar = QtWidgets.QCheckBox(self.groupBox)
        self.checkBoxPulsar.setAutoExclusive(True)
        self.checkBoxPulsar.setObjectName("checkBoxPulsar")
        self.verticalLayout.addWidget(self.checkBoxPulsar)
        self.checkBoxRaw = QtWidgets.QCheckBox(self.groupBox)
        self.checkBoxRaw.setAutoExclusive(True)
        self.checkBoxRaw.setTristate(False)
        self.checkBoxRaw.setObjectName("checkBoxRaw")
        self.verticalLayout.addWidget(self.checkBoxRaw)
        self.line = QtWidgets.QFrame(self.groupBox)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.radioButtonLSR = QtWidgets.QRadioButton(self.groupBox)
        self.radioButtonLSR.setAutoExclusive(False)
        self.radioButtonLSR.setObjectName("radioButtonLSR")
        self.verticalLayout.addWidget(self.radioButtonLSR)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.toolBox.addItem(self.toolBoxBackEnd, "")
212
        self.gridLayout.addWidget(self.toolBox, 6, 0, 1, 1)
marc's avatar
marc committed
213
214
        mainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(mainWindow)
215
        self.menubar.setGeometry(QtCore.QRect(0, 0, 856, 29))
marc's avatar
marc committed
216
217
218
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
219
220
        self.menuTemplates = QtWidgets.QMenu(self.menuFile)
        self.menuTemplates.setObjectName("menuTemplates")
marc's avatar
marc committed
221
222
223
224
225
226
        self.menuEdit = QtWidgets.QMenu(self.menubar)
        self.menuEdit.setObjectName("menuEdit")
        self.menuHelp = QtWidgets.QMenu(self.menubar)
        self.menuHelp.setObjectName("menuHelp")
        self.menuCalibration = QtWidgets.QMenu(self.menubar)
        self.menuCalibration.setObjectName("menuCalibration")
227
228
229
230
231
232
233
234
        self.menuObjects = QtWidgets.QMenu(self.menubar)
        self.menuObjects.setObjectName("menuObjects")
        self.menuNoise_Sources = QtWidgets.QMenu(self.menuObjects)
        self.menuNoise_Sources.setObjectName("menuNoise_Sources")
        self.menuHI_Sources = QtWidgets.QMenu(self.menuObjects)
        self.menuHI_Sources.setObjectName("menuHI_Sources")
        self.menuPulsars = QtWidgets.QMenu(self.menuObjects)
        self.menuPulsars.setObjectName("menuPulsars")
marc's avatar
marc committed
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
        mainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(mainWindow)
        self.statusbar.setObjectName("statusbar")
        mainWindow.setStatusBar(self.statusbar)
        self.actionOpen = QtWidgets.QAction(mainWindow)
        self.actionOpen.setObjectName("actionOpen")
        self.actionSave = QtWidgets.QAction(mainWindow)
        self.actionSave.setObjectName("actionSave")
        self.actionSave_As = QtWidgets.QAction(mainWindow)
        self.actionSave_As.setObjectName("actionSave_As")
        self.actionClose = QtWidgets.QAction(mainWindow)
        self.actionClose.setObjectName("actionClose")
        self.actionQuit = QtWidgets.QAction(mainWindow)
        self.actionQuit.setObjectName("actionQuit")
        self.actionAbout = QtWidgets.QAction(mainWindow)
        self.actionAbout.setObjectName("actionAbout")
        self.actionSetup = QtWidgets.QAction(mainWindow)
        self.actionSetup.setObjectName("actionSetup")
        self.actionControl = QtWidgets.QAction(mainWindow)
        self.actionControl.setObjectName("actionControl")
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
        self.actionCAS_A_2 = QtWidgets.QAction(mainWindow)
        self.actionCAS_A_2.setObjectName("actionCAS_A_2")
        self.actionTau_A = QtWidgets.QAction(mainWindow)
        self.actionTau_A.setObjectName("actionTau_A")
        self.actionCyg_A = QtWidgets.QAction(mainWindow)
        self.actionCyg_A.setObjectName("actionCyg_A")
        self.actionCAS_A_3 = QtWidgets.QAction(mainWindow)
        self.actionCAS_A_3.setObjectName("actionCAS_A_3")
        self.actionM31 = QtWidgets.QAction(mainWindow)
        self.actionM31.setObjectName("actionM31")
        self.actionGalaxy = QtWidgets.QAction(mainWindow)
        self.actionGalaxy.setObjectName("actionGalaxy")
        self.actionB0239_54 = QtWidgets.QAction(mainWindow)
        self.actionB0239_54.setObjectName("actionB0239_54")
        self.actionCrab_Pulsar = QtWidgets.QAction(mainWindow)
        self.actionCrab_Pulsar.setObjectName("actionCrab_Pulsar")
        self.actionM31_2 = QtWidgets.QAction(mainWindow)
        self.actionM31_2.setObjectName("actionM31_2")
        self.actionM101 = QtWidgets.QAction(mainWindow)
        self.actionM101.setObjectName("actionM101")
        self.menuTemplates.addAction(self.actionM31_2)
        self.menuTemplates.addAction(self.actionM101)
marc's avatar
marc committed
277
        self.menuFile.addAction(self.actionOpen)
278
        self.menuFile.addAction(self.menuTemplates.menuAction())
marc's avatar
marc committed
279
280
281
282
283
284
285
286
        self.menuFile.addAction(self.actionSave)
        self.menuFile.addAction(self.actionSave_As)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionClose)
        self.menuFile.addAction(self.actionQuit)
        self.menuHelp.addAction(self.actionAbout)
        self.menuCalibration.addAction(self.actionSetup)
        self.menuCalibration.addAction(self.actionControl)
287
288
289
290
291
292
293
294
295
296
297
        self.menuNoise_Sources.addAction(self.actionCAS_A_2)
        self.menuNoise_Sources.addAction(self.actionTau_A)
        self.menuNoise_Sources.addAction(self.actionCyg_A)
        self.menuHI_Sources.addAction(self.actionCAS_A_3)
        self.menuHI_Sources.addAction(self.actionM31)
        self.menuHI_Sources.addAction(self.actionGalaxy)
        self.menuPulsars.addAction(self.actionB0239_54)
        self.menuPulsars.addAction(self.actionCrab_Pulsar)
        self.menuObjects.addAction(self.menuNoise_Sources.menuAction())
        self.menuObjects.addAction(self.menuHI_Sources.menuAction())
        self.menuObjects.addAction(self.menuPulsars.menuAction())
marc's avatar
marc committed
298
299
300
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuEdit.menuAction())
        self.menubar.addAction(self.menuCalibration.menuAction())
301
        self.menubar.addAction(self.menuObjects.menuAction())
marc's avatar
marc committed
302
303
304
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(mainWindow)
305
        self.toolBox.setCurrentIndex(1)
marc's avatar
marc committed
306
307
308
309
310
        QtCore.QMetaObject.connectSlotsByName(mainWindow)

    def retranslateUi(self, mainWindow):
        _translate = QtCore.QCoreApplication.translate
        mainWindow.setWindowTitle(_translate("mainWindow", "DT Observation Application"))
311
312
313
314
315
316
317
318
319
        self.pushButtonStartMeasurement.setText(_translate("mainWindow", "Start Measurement"))
        self.label_4.setText(_translate("mainWindow", "Observation Progress and Status"))
        self.pushButtonStopMeasurement.setText(_translate("mainWindow", "Stop"))
        item = self.tableWidgetPointings.horizontalHeaderItem(0)
        item.setText(_translate("mainWindow", "RA"))
        item = self.tableWidgetPointings.horizontalHeaderItem(1)
        item.setText(_translate("mainWindow", "Dec"))
        item = self.tableWidgetPointings.horizontalHeaderItem(2)
        item.setText(_translate("mainWindow", "Status"))
marc's avatar
marc committed
320
321
        item = self.tableWidgetPointings.horizontalHeaderItem(3)
        item.setText(_translate("mainWindow", "Result File"))
322
323
324
325
        self.groupBox_3.setTitle(_translate("mainWindow", "GroupBox"))
        self.label_5.setText(_translate("mainWindow", "Observer(s):"))
        self.label_8.setText(_translate("mainWindow", "Desciption: "))
        self.toolBox.setItemText(self.toolBox.indexOf(self.toolBoxMetaData), _translate("mainWindow", "Meta Data"))
marc's avatar
marc committed
326
        self.label_2.setText(_translate("mainWindow", " Programme: "))
327
328
329
        self.comboBoxProgramma.setCurrentText(_translate("mainWindow", "dumpwide"))
        self.comboBoxProgramma.setItemText(0, _translate("mainWindow", "dumpwide"))
        self.comboBoxProgramma.setItemText(1, _translate("mainWindow", "int32bit"))
330
331
        self.comboBoxProgramma.setItemText(2, _translate("mainWindow", "pulsarrecord"))
        self.comboBoxProgramma.setItemText(3, _translate("mainWindow", "rawrecord"))
marc's avatar
marc committed
332
        self.label_3.setText(_translate("mainWindow", " Integration Time: "))
333
        self.pushButtonOutputDirectory.setText(_translate("mainWindow", "Output Dir"))
334
335
        self.checkBoxDTModel.setText(_translate("mainWindow", "Refraction enabled"))
        self.checkBoxCorrection.setText(_translate("mainWindow", "DT Model enagled"))
marc's avatar
marc committed
336
337
338
339
340
341
342
343
344
        self.toolBox.setItemText(self.toolBox.indexOf(self.toolBoxMeasurement), _translate("mainWindow", "Measurement Settings"))
        self.groupBox.setTitle(_translate("mainWindow", "Mode"))
        self.checkBoxHI.setText(_translate("mainWindow", "Hydrogen Line"))
        self.checkBoxSDR.setText(_translate("mainWindow", "SDR Mode"))
        self.checkBoxPulsar.setText(_translate("mainWindow", "Pulsar Mode"))
        self.checkBoxRaw.setText(_translate("mainWindow", "Raw Mode"))
        self.radioButtonLSR.setText(_translate("mainWindow", "Local &Standard of Rest Compensation"))
        self.toolBox.setItemText(self.toolBox.indexOf(self.toolBoxBackEnd), _translate("mainWindow", "BackEnd Settings"))
        self.menuFile.setTitle(_translate("mainWindow", "Fi&le"))
345
        self.menuTemplates.setTitle(_translate("mainWindow", "&Templates"))
marc's avatar
marc committed
346
347
348
        self.menuEdit.setTitle(_translate("mainWindow", "E&dit"))
        self.menuHelp.setTitle(_translate("mainWindow", "Help"))
        self.menuCalibration.setTitle(_translate("mainWindow", "&Calibration"))
349
        self.menuObjects.setTitle(_translate("mainWindow", "Ob&jects"))
350
351
352
        self.menuNoise_Sources.setTitle(_translate("mainWindow", "&Noise Sources"))
        self.menuHI_Sources.setTitle(_translate("mainWindow", "&HI Sources"))
        self.menuPulsars.setTitle(_translate("mainWindow", "&Pulsars"))
marc's avatar
marc committed
353
354
355
356
357
358
359
360
        self.actionOpen.setText(_translate("mainWindow", "&Open"))
        self.actionSave.setText(_translate("mainWindow", "&Save"))
        self.actionSave_As.setText(_translate("mainWindow", "Sa&ve As"))
        self.actionClose.setText(_translate("mainWindow", "&Close"))
        self.actionQuit.setText(_translate("mainWindow", "&Quit"))
        self.actionAbout.setText(_translate("mainWindow", "&About"))
        self.actionSetup.setText(_translate("mainWindow", "&Setup"))
        self.actionControl.setText(_translate("mainWindow", "&Control"))
361
362
363
364
365
366
367
368
369
370
        self.actionCAS_A_2.setText(_translate("mainWindow", "&CAS A"))
        self.actionTau_A.setText(_translate("mainWindow", "&Tau A"))
        self.actionCyg_A.setText(_translate("mainWindow", "C&yg A"))
        self.actionCAS_A_3.setText(_translate("mainWindow", "&CAS A"))
        self.actionM31.setText(_translate("mainWindow", "&M31"))
        self.actionGalaxy.setText(_translate("mainWindow", "&Galaxy"))
        self.actionB0239_54.setText(_translate("mainWindow", "&B0239+54"))
        self.actionCrab_Pulsar.setText(_translate("mainWindow", "&Crab Pulsar"))
        self.actionM31_2.setText(_translate("mainWindow", "&M31"))
        self.actionM101.setText(_translate("mainWindow", "M&101"))
marc's avatar
marc committed
371

372
373
374
375
376
377
378
379
380
381

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_())