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

3
# Form implementation generated from reading ui file '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
        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.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)
marc's avatar
marc committed
47
48
49
50
51
52
        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")
53
        self.toolBoxMetaData = QtWidgets.QWidget()
marc's avatar
marc committed
54
        self.toolBoxMetaData.setGeometry(QtCore.QRect(0, 0, 96, 26))
55
56
57
58
59
60
61
62
63
64
65
        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_8 = QtWidgets.QLabel(self.gridLayoutWidget_2)
        self.label_8.setObjectName("label_8")
marc's avatar
marc committed
66
        self.gridLayout_3.addWidget(self.label_8, 3, 0, 1, 1)
67
68
        self.textEditDescription = QtWidgets.QTextEdit(self.gridLayoutWidget_2)
        self.textEditDescription.setObjectName("textEditDescription")
marc's avatar
marc committed
69
70
71
72
73
74
75
76
77
78
79
80
81
        self.gridLayout_3.addWidget(self.textEditDescription, 3, 1, 1, 1)
        self.label = QtWidgets.QLabel(self.gridLayoutWidget_2)
        self.label.setObjectName("label")
        self.gridLayout_3.addWidget(self.label, 2, 0, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.gridLayoutWidget_2)
        self.label_7.setObjectName("label_7")
        self.gridLayout_3.addWidget(self.label_7, 0, 0, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.gridLayoutWidget_2)
        self.label_6.setObjectName("label_6")
        self.gridLayout_3.addWidget(self.label_6, 1, 0, 1, 1)
        self.lineEditOperator1 = QtWidgets.QLineEdit(self.gridLayoutWidget_2)
        self.lineEditOperator1.setObjectName("lineEditOperator1")
        self.gridLayout_3.addWidget(self.lineEditOperator1, 0, 1, 1, 1)
82
83
84
        self.lineEditOperator2 = QtWidgets.QLineEdit(self.gridLayoutWidget_2)
        self.lineEditOperator2.setObjectName("lineEditOperator2")
        self.gridLayout_3.addWidget(self.lineEditOperator2, 1, 1, 1, 1)
marc's avatar
marc committed
85
86
87
        self.lineEditOperator3 = QtWidgets.QLineEdit(self.gridLayoutWidget_2)
        self.lineEditOperator3.setObjectName("lineEditOperator3")
        self.gridLayout_3.addWidget(self.lineEditOperator3, 2, 1, 1, 1)
88
        self.toolBox.addItem(self.toolBoxMetaData, "")
marc's avatar
marc committed
89
        self.toolBoxMeasurement = QtWidgets.QWidget()
marc's avatar
marc committed
90
        self.toolBoxMeasurement.setGeometry(QtCore.QRect(0, 0, 96, 26))
marc's avatar
marc committed
91
92
        self.toolBoxMeasurement.setObjectName("toolBoxMeasurement")
        self.groupBox_2 = QtWidgets.QGroupBox(self.toolBoxMeasurement)
93
        self.groupBox_2.setGeometry(QtCore.QRect(0, 0, 280, 261))
marc's avatar
marc committed
94
95
96
97
        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)
marc's avatar
marc committed
98
        self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 10, 261, 146))
marc's avatar
marc committed
99
100
101
102
103
        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)
104
        self.lineEditOutputDir.setText("")
marc's avatar
marc committed
105
106
107
108
109
110
111
        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")
112
113
114
        self.comboBoxProgramma.addItem("")
        self.comboBoxProgramma.addItem("")
        self.comboBoxProgramma.addItem("")
115
        self.comboBoxProgramma.addItem("")
marc's avatar
marc committed
116
117
118
119
        self.gridLayout_2.addWidget(self.comboBoxProgramma, 0, 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)
120
121
122
        self.pushButtonOutputDirectory = QtWidgets.QPushButton(self.gridLayoutWidget)
        self.pushButtonOutputDirectory.setObjectName("pushButtonOutputDirectory")
        self.gridLayout_2.addWidget(self.pushButtonOutputDirectory, 1, 0, 1, 1)
marc's avatar
marc committed
123
        self.spinBoxIntTime = QtWidgets.QSpinBox(self.gridLayoutWidget)
marc's avatar
marc committed
124
        self.spinBoxIntTime.setAlignment(QtCore.Qt.AlignCenter)
marc's avatar
marc committed
125
126
127
128
129
        self.spinBoxIntTime.setMinimum(1)
        self.spinBoxIntTime.setMaximum(3600)
        self.spinBoxIntTime.setProperty("value", 2)
        self.spinBoxIntTime.setObjectName("spinBoxIntTime")
        self.gridLayout_2.addWidget(self.spinBoxIntTime, 2, 1, 1, 1)
marc's avatar
marc committed
130
131
132
133
134
135
136
137
138
        self.label_5 = QtWidgets.QLabel(self.gridLayoutWidget)
        self.label_5.setObjectName("label_5")
        self.gridLayout_2.addWidget(self.label_5, 3, 0, 1, 1)
        self.spinBoxCentralFrequency = QtWidgets.QSpinBox(self.gridLayoutWidget)
        self.spinBoxCentralFrequency.setAlignment(QtCore.Qt.AlignCenter)
        self.spinBoxCentralFrequency.setMaximum(1450)
        self.spinBoxCentralFrequency.setProperty("value", 1420)
        self.spinBoxCentralFrequency.setObjectName("spinBoxCentralFrequency")
        self.gridLayout_2.addWidget(self.spinBoxCentralFrequency, 3, 1, 1, 1)
139
140
141
142
143
        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")
marc's avatar
marc committed
144
145
146
        self.checkBoxRefraction = QtWidgets.QCheckBox(self.verticalLayoutWidget)
        self.checkBoxRefraction.setObjectName("checkBoxRefraction")
        self.verticalLayout_2.addWidget(self.checkBoxRefraction)
147
148
149
        self.checkBoxDTModel = QtWidgets.QCheckBox(self.verticalLayoutWidget)
        self.checkBoxDTModel.setObjectName("checkBoxDTModel")
        self.verticalLayout_2.addWidget(self.checkBoxDTModel)
marc's avatar
marc committed
150
151
        self.toolBox.addItem(self.toolBoxMeasurement, "")
        self.toolBoxBackEnd = QtWidgets.QWidget()
marc's avatar
marc committed
152
        self.toolBoxBackEnd.setGeometry(QtCore.QRect(0, 0, 280, 426))
marc's avatar
marc committed
153
154
155
156
157
158
159
160
161
162
163
        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")
164
165
166
167
168
169
170
171
172
173
174
175
        self.radioButtonPulsar = QtWidgets.QRadioButton(self.groupBox)
        self.radioButtonPulsar.setObjectName("radioButtonPulsar")
        self.verticalLayout.addWidget(self.radioButtonPulsar)
        self.radioButtonHydrogenLine = QtWidgets.QRadioButton(self.groupBox)
        self.radioButtonHydrogenLine.setObjectName("radioButtonHydrogenLine")
        self.verticalLayout.addWidget(self.radioButtonHydrogenLine)
        self.radioButtonSDR = QtWidgets.QRadioButton(self.groupBox)
        self.radioButtonSDR.setObjectName("radioButtonSDR")
        self.verticalLayout.addWidget(self.radioButtonSDR)
        self.radioButtonRaw = QtWidgets.QRadioButton(self.groupBox)
        self.radioButtonRaw.setObjectName("radioButtonRaw")
        self.verticalLayout.addWidget(self.radioButtonRaw)
marc's avatar
marc committed
176
177
178
179
180
        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)
marc's avatar
marc committed
181
182
183
        self.checkBoxLSR = QtWidgets.QCheckBox(self.groupBox)
        self.checkBoxLSR.setObjectName("checkBoxLSR")
        self.verticalLayout.addWidget(self.checkBoxLSR)
marc's avatar
marc committed
184
185
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.toolBox.addItem(self.toolBoxBackEnd, "")
186
        self.gridLayout.addWidget(self.toolBox, 6, 0, 1, 1)
marc's avatar
marc committed
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
        self.tableWidgetPointings = QtWidgets.QTableWidget(self.centralwidget)
        self.tableWidgetPointings.setObjectName("tableWidgetPointings")
        self.tableWidgetPointings.setColumnCount(4)
        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)
        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)
        self.gridLayout.addWidget(self.tableWidgetPointings, 6, 1, 3, 1)
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 5, 1, 1, 1)
marc's avatar
marc committed
227
228
        mainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(mainWindow)
229
        self.menubar.setGeometry(QtCore.QRect(0, 0, 856, 29))
marc's avatar
marc committed
230
231
232
233
234
235
236
237
238
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
        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")
239
240
241
242
243
244
245
246
        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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
        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")
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
        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")
marc's avatar
marc committed
283
284
        self.actionM31Template = QtWidgets.QAction(mainWindow)
        self.actionM31Template.setObjectName("actionM31Template")
285
286
        self.actionM101 = QtWidgets.QAction(mainWindow)
        self.actionM101.setObjectName("actionM101")
marc's avatar
marc committed
287
288
        self.actionTestPointings = QtWidgets.QAction(mainWindow)
        self.actionTestPointings.setObjectName("actionTestPointings")
marc's avatar
marc committed
289
290
291
        self.actionNew = QtWidgets.QAction(mainWindow)
        self.actionNew.setObjectName("actionNew")
        self.menuFile.addAction(self.actionNew)
marc's avatar
marc committed
292
293
294
295
296
297
298
299
300
        self.menuFile.addAction(self.actionOpen)
        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)
301
302
303
304
305
306
307
308
309
310
311
        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
312
313
314
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuEdit.menuAction())
        self.menubar.addAction(self.menuCalibration.menuAction())
315
        self.menubar.addAction(self.menuObjects.menuAction())
marc's avatar
marc committed
316
317
318
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(mainWindow)
319
        self.toolBox.setCurrentIndex(2)
marc's avatar
marc committed
320
        QtCore.QMetaObject.connectSlotsByName(mainWindow)
marc's avatar
marc committed
321
322
323
324
325
326
327
328
329
330
331
332
        mainWindow.setTabOrder(self.lineEditOperator1, self.lineEditOperator2)
        mainWindow.setTabOrder(self.lineEditOperator2, self.lineEditOperator3)
        mainWindow.setTabOrder(self.lineEditOperator3, self.textEditDescription)
        mainWindow.setTabOrder(self.textEditDescription, self.pushButtonStartMeasurement)
        mainWindow.setTabOrder(self.pushButtonStartMeasurement, self.pushButtonStopMeasurement)
        mainWindow.setTabOrder(self.pushButtonStopMeasurement, self.comboBoxProgramma)
        mainWindow.setTabOrder(self.comboBoxProgramma, self.pushButtonOutputDirectory)
        mainWindow.setTabOrder(self.pushButtonOutputDirectory, self.spinBoxIntTime)
        mainWindow.setTabOrder(self.spinBoxIntTime, self.spinBoxCentralFrequency)
        mainWindow.setTabOrder(self.spinBoxCentralFrequency, self.checkBoxRefraction)
        mainWindow.setTabOrder(self.checkBoxRefraction, self.checkBoxDTModel)
        mainWindow.setTabOrder(self.checkBoxDTModel, self.lineEditOutputDir)
marc's avatar
marc committed
333
334
335
336

    def retranslateUi(self, mainWindow):
        _translate = QtCore.QCoreApplication.translate
        mainWindow.setWindowTitle(_translate("mainWindow", "DT Observation Application"))
337
338
339
340
        self.pushButtonStartMeasurement.setText(_translate("mainWindow", "Start Measurement"))
        self.pushButtonStopMeasurement.setText(_translate("mainWindow", "Stop"))
        self.groupBox_3.setTitle(_translate("mainWindow", "GroupBox"))
        self.label_8.setText(_translate("mainWindow", "Desciption: "))
marc's avatar
marc committed
341
342
343
344
        self.label.setText(_translate("mainWindow", "Operator 3"))
        self.label_7.setText(_translate("mainWindow", "Operator 1"))
        self.label_6.setText(_translate("mainWindow", "Operator 2"))
        self.lineEditOperator1.setText(_translate("mainWindow", "Stichting CAMRAS"))
345
        self.toolBox.setItemText(self.toolBox.indexOf(self.toolBoxMetaData), _translate("mainWindow", "Meta Data"))
marc's avatar
marc committed
346
        self.label_2.setText(_translate("mainWindow", " Programme: "))
347
348
349
        self.comboBoxProgramma.setCurrentText(_translate("mainWindow", "dumpwide"))
        self.comboBoxProgramma.setItemText(0, _translate("mainWindow", "dumpwide"))
        self.comboBoxProgramma.setItemText(1, _translate("mainWindow", "int32bit"))
350
351
        self.comboBoxProgramma.setItemText(2, _translate("mainWindow", "pulsarrecord"))
        self.comboBoxProgramma.setItemText(3, _translate("mainWindow", "rawrecord"))
marc's avatar
marc committed
352
        self.label_3.setText(_translate("mainWindow", " Integration Time: "))
353
        self.pushButtonOutputDirectory.setText(_translate("mainWindow", "Output Dir"))
marc's avatar
marc committed
354
        self.label_5.setText(_translate("mainWindow", "Central Frequency:"))
marc's avatar
marc committed
355
356
        self.checkBoxRefraction.setText(_translate("mainWindow", "Refraction enabled"))
        self.checkBoxDTModel.setText(_translate("mainWindow", "DT Model enabled"))
marc's avatar
marc committed
357
358
        self.toolBox.setItemText(self.toolBox.indexOf(self.toolBoxMeasurement), _translate("mainWindow", "Measurement Settings"))
        self.groupBox.setTitle(_translate("mainWindow", "Mode"))
359
        self.radioButtonPulsar.setText(_translate("mainWindow", "P&ulsar (default)"))
marc's avatar
marc committed
360
        self.radioButtonHydrogenLine.setText(_translate("mainWindow", "H&ydrogen Line"))
361
362
        self.radioButtonSDR.setText(_translate("mainWindow", "Software Defined Radio"))
        self.radioButtonRaw.setText(_translate("mainWindow", "Raw"))
marc's avatar
marc committed
363
        self.checkBoxLSR.setText(_translate("mainWindow", "Local &Standard of Rest Compensation"))
marc's avatar
marc committed
364
        self.toolBox.setItemText(self.toolBox.indexOf(self.toolBoxBackEnd), _translate("mainWindow", "BackEnd Settings"))
marc's avatar
marc committed
365
366
367
368
369
370
371
372
373
        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"))
        item = self.tableWidgetPointings.horizontalHeaderItem(3)
        item.setText(_translate("mainWindow", "Result File"))
        self.label_4.setText(_translate("mainWindow", "Observation Progress and Status"))
marc's avatar
marc committed
374
375
        self.menuFile.setTitle(_translate("mainWindow", "Fi&le"))
        self.menuEdit.setTitle(_translate("mainWindow", "E&dit"))
marc's avatar
marc committed
376
        self.menuHelp.setTitle(_translate("mainWindow", "He&lp"))
marc's avatar
marc committed
377
        self.menuCalibration.setTitle(_translate("mainWindow", "&Calibration"))
378
        self.menuObjects.setTitle(_translate("mainWindow", "Ob&jects"))
379
380
381
        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
382
383
384
385
386
387
388
389
        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"))
390
391
392
393
394
395
396
397
        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"))
marc's avatar
marc committed
398
        self.actionM31Template.setText(_translate("mainWindow", "&M31"))
399
        self.actionM101.setText(_translate("mainWindow", "M&101"))
marc's avatar
marc committed
400
        self.actionTestPointings.setText(_translate("mainWindow", "&TestPointings"))
marc's avatar
marc committed
401
        self.actionNew.setText(_translate("mainWindow", "&New"))
marc's avatar
marc committed
402