Commit c6c29fb8 authored by marc's avatar marc

update checkboxLSR from radiobutton

parent fd3ae9fc
......@@ -312,7 +312,7 @@ class DTObservationProgram(Ui_mainWindow):
logger.debug('checkBoxRefraction Setting is {}:'.format(self.checkBoxRefraction.isChecked()))
self.myMetaData.DTModelEnabled = self.checkBoxDTModel.isChecked()
self.myMetaData.mode = self.GUIbackendMode
self.myMetaData.LSREnabled = self.radioButtonLSR.isChecked()
self.myMetaData.LSREnabled = self.checkBoxLSR.isChecked()
def writeMetaData(self,file):
myMetaData = self.myMetaData.getMetaData()
......
......@@ -51,7 +51,7 @@ class Ui_mainWindow(object):
self.toolBox.setFrameShape(QtWidgets.QFrame.NoFrame)
self.toolBox.setObjectName("toolBox")
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.groupBox_3 = QtWidgets.QGroupBox(self.toolBoxMetaData)
self.groupBox_3.setGeometry(QtCore.QRect(10, 10, 271, 351))
......@@ -87,7 +87,7 @@ class Ui_mainWindow(object):
self.gridLayout_3.addWidget(self.lineEditOperator3, 2, 1, 1, 1)
self.toolBox.addItem(self.toolBoxMetaData, "")
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.groupBox_2 = QtWidgets.QGroupBox(self.toolBoxMeasurement)
self.groupBox_2.setGeometry(QtCore.QRect(0, 0, 280, 261))
......@@ -178,9 +178,9 @@ class Ui_mainWindow(object):
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line.setObjectName("line")
self.verticalLayout.addWidget(self.line)
self.checkBox = QtWidgets.QCheckBox(self.groupBox)
self.checkBox.setObjectName("checkBox")
self.verticalLayout.addWidget(self.checkBox)
self.checkBoxLSR = QtWidgets.QCheckBox(self.groupBox)
self.checkBoxLSR.setObjectName("checkBoxLSR")
self.verticalLayout.addWidget(self.checkBoxLSR)
self.horizontalLayout.addLayout(self.verticalLayout)
self.toolBox.addItem(self.toolBoxBackEnd, "")
self.gridLayout.addWidget(self.toolBox, 6, 0, 1, 1)
......@@ -357,10 +357,10 @@ class Ui_mainWindow(object):
self.toolBox.setItemText(self.toolBox.indexOf(self.toolBoxMeasurement), _translate("mainWindow", "Measurement Settings"))
self.groupBox.setTitle(_translate("mainWindow", "Mode"))
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.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"))
item = self.tableWidgetPointings.horizontalHeaderItem(0)
item.setText(_translate("mainWindow", "RA"))
......
......@@ -131,8 +131,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>280</width>
<height>426</height>
<width>96</width>
<height>26</height>
</rect>
</property>
<attribute name="label">
......@@ -213,8 +213,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>280</width>
<height>426</height>
<width>96</width>
<height>26</height>
</rect>
</property>
<attribute name="label">
......@@ -421,7 +421,7 @@
<item>
<widget class="QRadioButton" name="radioButtonHydrogenLine">
<property name="text">
<string>Hydrogen Line</string>
<string>H&amp;ydrogen Line</string>
</property>
</widget>
</item>
......@@ -447,7 +447,7 @@
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox">
<widget class="QCheckBox" name="checkBoxLSR">
<property name="text">
<string>Local &amp;Standard of Rest Compensation</string>
</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