ui_createpointings.py 5.79 KB
Newer Older
marc's avatar
marc committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ui_createpointings.ui'
#
# 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_FormCreatePoinings(object):
    def setupUi(self, FormCreatePoinings):
        FormCreatePoinings.setObjectName("FormCreatePoinings")
        FormCreatePoinings.resize(482, 241)
        self.widget = QtWidgets.QWidget(FormCreatePoinings)
        self.widget.setGeometry(QtCore.QRect(10, 10, 463, 220))
        self.widget.setObjectName("widget")
        self.gridLayout = QtWidgets.QGridLayout(self.widget)
        self.gridLayout.setObjectName("gridLayout")
        self.label_6 = QtWidgets.QLabel(self.widget)
        self.label_6.setAlignment(QtCore.Qt.AlignCenter)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 0, 0, 1, 1)
        self.comboBox = QtWidgets.QComboBox(self.widget)
        self.comboBox.setObjectName("comboBox")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.gridLayout.addWidget(self.comboBox, 0, 1, 1, 1)
        self.label = QtWidgets.QLabel(self.widget)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.lineEditRA = QtWidgets.QLineEdit(self.widget)
        self.lineEditRA.setObjectName("lineEditRA")
        self.gridLayout.addWidget(self.lineEditRA, 1, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.widget)
        self.label_2.setAlignment(QtCore.Qt.AlignCenter)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.lineEditDec = QtWidgets.QLineEdit(self.widget)
        self.lineEditDec.setObjectName("lineEditDec")
        self.gridLayout.addWidget(self.lineEditDec, 2, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.widget)
        self.label_3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.lineEditRaDistance = QtWidgets.QLineEdit(self.widget)
        self.lineEditRaDistance.setObjectName("lineEditRaDistance")
        self.gridLayout.addWidget(self.lineEditRaDistance, 3, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.widget)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 3, 2, 1, 1)
        self.lineEditRaSteps = QtWidgets.QLineEdit(self.widget)
        self.lineEditRaSteps.setObjectName("lineEditRaSteps")
        self.gridLayout.addWidget(self.lineEditRaSteps, 3, 3, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.widget)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1)
        self.lineEditDecDistance = QtWidgets.QLineEdit(self.widget)
        self.lineEditDecDistance.setObjectName("lineEditDecDistance")
        self.gridLayout.addWidget(self.lineEditDecDistance, 4, 1, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.widget)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 4, 2, 1, 1)
        self.lineEditDecSteps = QtWidgets.QLineEdit(self.widget)
        self.lineEditDecSteps.setObjectName("lineEditDecSteps")
        self.gridLayout.addWidget(self.lineEditDecSteps, 4, 3, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.widget)
        self.label_5.setAlignment(QtCore.Qt.AlignCenter)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 5, 0, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(self.widget)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 5, 1, 1, 1)
        self.pushButton = QtWidgets.QPushButton(self.widget)
        self.pushButton.setObjectName("pushButton")
        self.gridLayout.addWidget(self.pushButton, 5, 3, 1, 1)

        self.retranslateUi(FormCreatePoinings)
        QtCore.QMetaObject.connectSlotsByName(FormCreatePoinings)

    def retranslateUi(self, FormCreatePoinings):
        _translate = QtCore.QCoreApplication.translate
        FormCreatePoinings.setWindowTitle(_translate("FormCreatePoinings", "Create Pointings"))
        self.label_6.setText(_translate("FormCreatePoinings", "Object"))
        self.comboBox.setItemText(0, _translate("FormCreatePoinings", "M1"))
        self.comboBox.setItemText(1, _translate("FormCreatePoinings", "M13"))
        self.comboBox.setItemText(2, _translate("FormCreatePoinings", "M31"))
        self.comboBox.setItemText(3, _translate("FormCreatePoinings", "M45"))
        self.comboBox.setItemText(4, _translate("FormCreatePoinings", "M101"))
        self.label.setText(_translate("FormCreatePoinings", "RA"))
        self.label_2.setText(_translate("FormCreatePoinings", "DEC"))
        self.label_3.setText(_translate("FormCreatePoinings", "RA Distance"))
        self.label_7.setText(_translate("FormCreatePoinings", "RA Steps"))
        self.label_4.setText(_translate("FormCreatePoinings", "DEC distance"))
        self.label_8.setText(_translate("FormCreatePoinings", "DEC Steps"))
        self.label_5.setText(_translate("FormCreatePoinings", "Create Pointings"))
        self.pushButton.setText(_translate("FormCreatePoinings", "Clear Settings"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    FormCreatePoinings = QtWidgets.QWidget()
    ui = Ui_FormCreatePoinings()
    ui.setupUi(FormCreatePoinings)
    FormCreatePoinings.show()
    sys.exit(app.exec_())