Commit 99ff93a8 authored by marc's avatar marc
Browse files

swap RA DEC lineEdit

parent 19bef4e3
......@@ -40,29 +40,21 @@ class Ui_FormCreatePoinings(object):
self.label_5 = QtWidgets.QLabel(self.layoutWidget)
self.label_5.setAlignment(QtCore.Qt.AlignCenter)
self.label_5.setObjectName("label_5")
self.gridLayout.addWidget(self.label_5, 6, 0, 1, 1)
self.lineEditRA = QtWidgets.QLineEdit(self.layoutWidget)
self.lineEditRA.setAlignment(QtCore.Qt.AlignCenter)
self.lineEditRA.setObjectName("lineEditRA")
self.gridLayout.addWidget(self.lineEditRA, 2, 2, 1, 1)
self.gridLayout.addWidget(self.label_5, 7, 0, 1, 1)
self.label_3 = QtWidgets.QLabel(self.layoutWidget)
self.label_3.setAlignment(QtCore.Qt.AlignCenter)
self.label_3.setWordWrap(True)
self.label_3.setObjectName("label_3")
self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1)
self.gridLayout.addWidget(self.label_3, 5, 0, 1, 1)
self.buttonBoxCreatePointings = QtWidgets.QDialogButtonBox(self.layoutWidget)
self.buttonBoxCreatePointings.setStandardButtons(QtWidgets.QDialogButtonBox.Close|QtWidgets.QDialogButtonBox.Ok)
self.buttonBoxCreatePointings.setObjectName("buttonBoxCreatePointings")
self.gridLayout.addWidget(self.buttonBoxCreatePointings, 6, 1, 1, 1)
self.gridLayout.addWidget(self.buttonBoxCreatePointings, 7, 1, 1, 1)
self.label_9 = QtWidgets.QLabel(self.layoutWidget)
self.label_9.setAlignment(QtCore.Qt.AlignCenter)
self.label_9.setWordWrap(True)
self.label_9.setObjectName("label_9")
self.gridLayout.addWidget(self.label_9, 2, 0, 1, 1)
self.lineEditDec = QtWidgets.QLineEdit(self.layoutWidget)
self.lineEditDec.setAlignment(QtCore.Qt.AlignCenter)
self.lineEditDec.setObjectName("lineEditDec")
self.gridLayout.addWidget(self.lineEditDec, 2, 1, 1, 1)
self.label_6 = QtWidgets.QLabel(self.layoutWidget)
self.label_6.setAlignment(QtCore.Qt.AlignCenter)
self.label_6.setObjectName("label_6")
......@@ -71,7 +63,7 @@ class Ui_FormCreatePoinings(object):
self.label_8.setAlignment(QtCore.Qt.AlignCenter)
self.label_8.setWordWrap(True)
self.label_8.setObjectName("label_8")
self.gridLayout.addWidget(self.label_8, 3, 0, 1, 1)
self.gridLayout.addWidget(self.label_8, 4, 0, 1, 1)
self.doubleSpinBoxDistanceRA = QtWidgets.QDoubleSpinBox(self.layoutWidget)
self.doubleSpinBoxDistanceRA.setAlignment(QtCore.Qt.AlignCenter)
self.doubleSpinBoxDistanceRA.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
......@@ -80,7 +72,7 @@ class Ui_FormCreatePoinings(object):
self.doubleSpinBoxDistanceRA.setSingleStep(0.1)
self.doubleSpinBoxDistanceRA.setProperty("value", 0.5)
self.doubleSpinBoxDistanceRA.setObjectName("doubleSpinBoxDistanceRA")
self.gridLayout.addWidget(self.doubleSpinBoxDistanceRA, 4, 1, 1, 1)
self.gridLayout.addWidget(self.doubleSpinBoxDistanceRA, 5, 1, 1, 1)
self.doubleSpinBoxDistanceDec = QtWidgets.QDoubleSpinBox(self.layoutWidget)
self.doubleSpinBoxDistanceDec.setAlignment(QtCore.Qt.AlignCenter)
self.doubleSpinBoxDistanceDec.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
......@@ -89,19 +81,27 @@ class Ui_FormCreatePoinings(object):
self.doubleSpinBoxDistanceDec.setSingleStep(0.1)
self.doubleSpinBoxDistanceDec.setProperty("value", 0.5)
self.doubleSpinBoxDistanceDec.setObjectName("doubleSpinBoxDistanceDec")
self.gridLayout.addWidget(self.doubleSpinBoxDistanceDec, 4, 2, 1, 1)
self.gridLayout.addWidget(self.doubleSpinBoxDistanceDec, 5, 2, 1, 1)
self.spinBoxStepsRA = QtWidgets.QSpinBox(self.layoutWidget)
self.spinBoxStepsRA.setAlignment(QtCore.Qt.AlignCenter)
self.spinBoxStepsRA.setMaximum(30)
self.spinBoxStepsRA.setProperty("value", 1)
self.spinBoxStepsRA.setObjectName("spinBoxStepsRA")
self.gridLayout.addWidget(self.spinBoxStepsRA, 3, 1, 1, 1)
self.gridLayout.addWidget(self.spinBoxStepsRA, 4, 1, 1, 1)
self.spinBoxStepsDec = QtWidgets.QSpinBox(self.layoutWidget)
self.spinBoxStepsDec.setAlignment(QtCore.Qt.AlignCenter)
self.spinBoxStepsDec.setMaximum(30)
self.spinBoxStepsDec.setProperty("value", 1)
self.spinBoxStepsDec.setObjectName("spinBoxStepsDec")
self.gridLayout.addWidget(self.spinBoxStepsDec, 3, 2, 1, 1)
self.gridLayout.addWidget(self.spinBoxStepsDec, 4, 2, 1, 1)
self.lineEditRA = QtWidgets.QLineEdit(self.layoutWidget)
self.lineEditRA.setAlignment(QtCore.Qt.AlignCenter)
self.lineEditRA.setObjectName("lineEditRA")
self.gridLayout.addWidget(self.lineEditRA, 2, 1, 1, 1)
self.lineEditDec = QtWidgets.QLineEdit(self.layoutWidget)
self.lineEditDec.setAlignment(QtCore.Qt.AlignCenter)
self.lineEditDec.setObjectName("lineEditDec")
self.gridLayout.addWidget(self.lineEditDec, 2, 2, 1, 1)
self.retranslateUi(FormCreatePoinings)
QtCore.QMetaObject.connectSlotsByName(FormCreatePoinings)
......@@ -109,8 +109,6 @@ class Ui_FormCreatePoinings(object):
FormCreatePoinings.setTabOrder(self.spinBoxStepsRA, self.spinBoxStepsDec)
FormCreatePoinings.setTabOrder(self.spinBoxStepsDec, self.doubleSpinBoxDistanceRA)
FormCreatePoinings.setTabOrder(self.doubleSpinBoxDistanceRA, self.doubleSpinBoxDistanceDec)
FormCreatePoinings.setTabOrder(self.doubleSpinBoxDistanceDec, self.lineEditDec)
FormCreatePoinings.setTabOrder(self.lineEditDec, self.lineEditRA)
def retranslateUi(self, FormCreatePoinings):
_translate = QtCore.QCoreApplication.translate
......
......@@ -87,7 +87,7 @@
</property>
</widget>
</item>
<item row="6" column="0">
<item row="7" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Create Pointings</string>
......@@ -97,14 +97,7 @@
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLineEdit" name="lineEditRA">
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="0">
<item row="5" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Distance between pointings (degree)</string>
......@@ -117,7 +110,7 @@
</property>
</widget>
</item>
<item row="6" column="1">
<item row="7" column="1">
<widget class="QDialogButtonBox" name="buttonBoxCreatePointings">
<property name="standardButtons">
<set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
......@@ -137,13 +130,6 @@
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="lineEditDec">
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
......@@ -154,7 +140,7 @@
</property>
</widget>
</item>
<item row="3" column="0">
<item row="4" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Number of Steps</string>
......@@ -167,7 +153,7 @@
</property>
</widget>
</item>
<item row="4" column="1">
<item row="5" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBoxDistanceRA">
<property name="alignment">
<set>Qt::AlignCenter</set>
......@@ -189,7 +175,7 @@
</property>
</widget>
</item>
<item row="4" column="2">
<item row="5" column="2">
<widget class="QDoubleSpinBox" name="doubleSpinBoxDistanceDec">
<property name="alignment">
<set>Qt::AlignCenter</set>
......@@ -211,7 +197,7 @@
</property>
</widget>
</item>
<item row="3" column="1">
<item row="4" column="1">
<widget class="QSpinBox" name="spinBoxStepsRA">
<property name="alignment">
<set>Qt::AlignCenter</set>
......@@ -224,7 +210,7 @@
</property>
</widget>
</item>
<item row="3" column="2">
<item row="4" column="2">
<widget class="QSpinBox" name="spinBoxStepsDec">
<property name="alignment">
<set>Qt::AlignCenter</set>
......@@ -237,6 +223,20 @@
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="lineEditRA">
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLineEdit" name="lineEditDec">
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
......@@ -246,8 +246,6 @@
<tabstop>spinBoxStepsDec</tabstop>
<tabstop>doubleSpinBoxDistanceRA</tabstop>
<tabstop>doubleSpinBoxDistanceDec</tabstop>
<tabstop>lineEditDec</tabstop>
<tabstop>lineEditRA</tabstop>
</tabstops>
<resources/>
<connections/>
......
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