Commit c6c29fb8 authored by marc's avatar marc
Browse files

update checkboxLSR from radiobutton

parent fd3ae9fc
...@@ -312,7 +312,7 @@ class DTObservationProgram(Ui_mainWindow): ...@@ -312,7 +312,7 @@ class DTObservationProgram(Ui_mainWindow):
logger.debug('checkBoxRefraction Setting is {}:'.format(self.checkBoxRefraction.isChecked())) logger.debug('checkBoxRefraction Setting is {}:'.format(self.checkBoxRefraction.isChecked()))
self.myMetaData.DTModelEnabled = self.checkBoxDTModel.isChecked() self.myMetaData.DTModelEnabled = self.checkBoxDTModel.isChecked()
self.myMetaData.mode = self.GUIbackendMode self.myMetaData.mode = self.GUIbackendMode
self.myMetaData.LSREnabled = self.radioButtonLSR.isChecked() self.myMetaData.LSREnabled = self.checkBoxLSR.isChecked()
def writeMetaData(self,file): def writeMetaData(self,file):
myMetaData = self.myMetaData.getMetaData() myMetaData = self.myMetaData.getMetaData()
......
...@@ -51,7 +51,7 @@ class Ui_mainWindow(object): ...@@ -51,7 +51,7 @@ class Ui_mainWindow(object):
self.toolBox.setFrameShape(QtWidgets.QFrame.NoFrame) self.toolBox.setFrameShape(QtWidgets.QFrame.NoFrame)
self.toolBox.setObjectName("toolBox") self.toolBox.setObjectName("toolBox")
self.toolBoxMetaData = QtWidgets.QWidget() self.toolBoxMetaData = QtWidgets.QWidget()
self.toolBoxMetaData.setGeometry(QtCore.QRect(0, 0, 280, 426)) self.toolBoxMetaData.setGeometry(QtCore.QRect(0, 0, 96, 26))
self.toolBoxMetaData.setObjectName("toolBoxMetaData") self.toolBoxMetaData.setObjectName("toolBoxMetaData")
self.groupBox_3 = QtWidgets.QGroupBox(self.toolBoxMetaData) self.groupBox_3 = QtWidgets.QGroupBox(self.toolBoxMetaData)
self.groupBox_3.setGeometry(QtCore.QRect(10, 10, 271, 351)) self.groupBox_3.setGeometry(QtCore.QRect(10, 10, 271, 351))
...@@ -87,7 +87,7 @@ class Ui_mainWindow(object): ...@@ -87,7 +87,7 @@ class Ui_mainWindow(object):
self.gridLayout_3.addWidget(self.lineEditOperator3, 2, 1, 1, 1) self.gridLayout_3.addWidget(self.lineEditOperator3, 2, 1, 1, 1)
self.toolBox.addItem(self.toolBoxMetaData, "") self.toolBox.addItem(self.toolBoxMetaData, "")
self.toolBoxMeasurement = QtWidgets.QWidget() self.toolBoxMeasurement = QtWidgets.QWidget()
self.toolBoxMeasurement.setGeometry(QtCore.QRect(0, 0, 280, 426)) self.toolBoxMeasurement.setGeometry(QtCore.QRect(0, 0, 96, 26))
self.toolBoxMeasurement.setObjectName("toolBoxMeasurement") self.toolBoxMeasurement.setObjectName("toolBoxMeasurement")
self.groupBox_2 = QtWidgets.QGroupBox(self.toolBoxMeasurement) self.groupBox_2 = QtWidgets.QGroupBox(self.toolBoxMeasurement)
self.groupBox_2.setGeometry(QtCore.QRect(0, 0, 280, 261)) self.groupBox_2.setGeometry(QtCore.QRect(0, 0, 280, 261))
...@@ -178,9 +178,9 @@ class Ui_mainWindow(object): ...@@ -178,9 +178,9 @@ class Ui_mainWindow(object):
self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line.setObjectName("line") self.line.setObjectName("line")
self.verticalLayout.addWidget(self.line) self.verticalLayout.addWidget(self.line)
self.checkBox = QtWidgets.QCheckBox(self.groupBox) self.checkBoxLSR = QtWidgets.QCheckBox(self.groupBox)
self.checkBox.setObjectName("checkBox") self.checkBoxLSR.setObjectName("checkBoxLSR")
self.verticalLayout.addWidget(self.checkBox) self.verticalLayout.addWidget(self.checkBoxLSR)
self.horizontalLayout.addLayout(self.verticalLayout) self.horizontalLayout.addLayout(self.verticalLayout)
self.toolBox.addItem(self.toolBoxBackEnd, "") self.toolBox.addItem(self.toolBoxBackEnd, "")
self.gridLayout.addWidget(self.toolBox, 6, 0, 1, 1) self.gridLayout.addWidget(self.toolBox, 6, 0, 1, 1)
...@@ -357,10 +357,10 @@ class Ui_mainWindow(object): ...@@ -357,10 +357,10 @@ class Ui_mainWindow(object):
self.toolBox.setItemText(self.toolBox.indexOf(self.toolBoxMeasurement), _translate("mainWindow", "Measurement Settings")) self.toolBox.setItemText(self.toolBox.indexOf(self.toolBoxMeasurement), _translate("mainWindow", "Measurement Settings"))
self.groupBox.setTitle(_translate("mainWindow", "Mode")) self.groupBox.setTitle(_translate("mainWindow", "Mode"))
self.radioButtonPulsar.setText(_translate("mainWindow", "P&ulsar (default)")) self.radioButtonPulsar.setText(_translate("mainWindow", "P&ulsar (default)"))
self.radioButtonHydrogenLine.setText(_translate("mainWindow", "Hydrogen Line")) self.radioButtonHydrogenLine.setText(_translate("mainWindow", "H&ydrogen Line"))
self.radioButtonSDR.setText(_translate("mainWindow", "Software Defined Radio")) self.radioButtonSDR.setText(_translate("mainWindow", "Software Defined Radio"))
self.radioButtonRaw.setText(_translate("mainWindow", "Raw")) self.radioButtonRaw.setText(_translate("mainWindow", "Raw"))
self.checkBox.setText(_translate("mainWindow", "Local &Standard of Rest Compensation")) self.checkBoxLSR.setText(_translate("mainWindow", "Local &Standard of Rest Compensation"))
self.toolBox.setItemText(self.toolBox.indexOf(self.toolBoxBackEnd), _translate("mainWindow", "BackEnd Settings")) self.toolBox.setItemText(self.toolBox.indexOf(self.toolBoxBackEnd), _translate("mainWindow", "BackEnd Settings"))
item = self.tableWidgetPointings.horizontalHeaderItem(0) item = self.tableWidgetPointings.horizontalHeaderItem(0)
item.setText(_translate("mainWindow", "RA")) item.setText(_translate("mainWindow", "RA"))
......
...@@ -131,8 +131,8 @@ ...@@ -131,8 +131,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>280</width> <width>96</width>
<height>426</height> <height>26</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
...@@ -213,8 +213,8 @@ ...@@ -213,8 +213,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>280</width> <width>96</width>
<height>426</height> <height>26</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
...@@ -421,7 +421,7 @@ ...@@ -421,7 +421,7 @@
<item> <item>
<widget class="QRadioButton" name="radioButtonHydrogenLine"> <widget class="QRadioButton" name="radioButtonHydrogenLine">
<property name="text"> <property name="text">
<string>Hydrogen Line</string> <string>H&amp;ydrogen Line</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -447,7 +447,7 @@ ...@@ -447,7 +447,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QCheckBox" name="checkBox"> <widget class="QCheckBox" name="checkBoxLSR">
<property name="text"> <property name="text">
<string>Local &amp;Standard of Rest Compensation</string> <string>Local &amp;Standard of Rest Compensation</string>
</property> </property>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment