Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
marc
dtObsGUI
Commits
c6c29fb8
Commit
c6c29fb8
authored
Mar 10, 2018
by
marc
Browse files
update checkboxLSR from radiobutton
parent
fd3ae9fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
DTObs.py
View file @
c6c29fb8
...
...
@@ -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
.
radioButton
LSR
.
isChecked
()
self
.
myMetaData
.
LSREnabled
=
self
.
checkBox
LSR
.
isChecked
()
def
writeMetaData
(
self
,
file
):
myMetaData
=
self
.
myMetaData
.
getMetaData
()
...
...
ui/dtobswindow.py
View file @
c6c29fb8
...
...
@@ -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
,
4
26
))
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
,
4
26
))
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
.
checkBox
LSR
=
QtWidgets
.
QCheckBox
(
self
.
groupBox
)
self
.
checkBox
LSR
.
setObjectName
(
"checkBox
LSR
"
)
self
.
verticalLayout
.
addWidget
(
self
.
checkBox
LSR
)
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
.
checkBox
LSR
.
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"
))
...
...
ui/dtobswindow.ui
View file @
c6c29fb8
...
...
@@ -131,8 +131,8 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
280
</width>
<height>
4
26
</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>
4
26
</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
&
ydrogen Line
</string>
</property>
</widget>
</item>
...
...
@@ -447,7 +447,7 @@
</widget>
</item>
<item>
<widget
class=
"QCheckBox"
name=
"checkBox"
>
<widget
class=
"QCheckBox"
name=
"checkBox
LSR
"
>
<property
name=
"text"
>
<string>
Local
&
Standard of Rest Compensation
</string>
</property>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment