Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(482, 416)
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.formLayout = QtGui.QFormLayout(self.centralwidget)
self.formLayout.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.formLayout.setObjectName(_fromUtf8("formLayout"))
self.label = QtGui.QLabel(self.centralwidget)
self.label.setObjectName(_fromUtf8("label"))
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
self.pvLabel1 = PyDMLabel("ca://BPMS:MATT:1:XTH", self.centralwidget)
self.pvLabel1.setAutoFillBackground(False)
self.pvLabel1.setObjectName(_fromUtf8("pvLabel1"))
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.pvLabel1)
self.label_2 = QtGui.QLabel(self.centralwidget)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
self.pvLabel2 = PyDMLabel("ca://BPMS:MATT:2:XTH", self.centralwidget)
self.pvLabel2.setObjectName(_fromUtf8("pvLabel2"))
self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.pvLabel2)
self.label_3 = QtGui.QLabel(self.centralwidget)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
self.pvLabel3 = PyDMLabel("ca://BPMS:MATT:3:XTH", self.centralwidget)
self.pvLabel3.setObjectName(_fromUtf8("pvLabel3"))
self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.pvLabel3)
self.label_4 = QtGui.QLabel(self.centralwidget)
self.label_9.setObjectName(_fromUtf8("label_9"))
self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.label_9)
self.pvLabel9 = PyDMLabel("ca://BPMS:MATT:9:XTH", self.centralwidget)
self.pvLabel9.setObjectName(_fromUtf8("pvLabel9"))
self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.pvLabel9)
self.label_10 = QtGui.QLabel(self.centralwidget)
self.label_10.setObjectName(_fromUtf8("label_10"))
self.formLayout.setWidget(9, QtGui.QFormLayout.LabelRole, self.label_10)
self.pvLabel10 = PyDMLabel("ca://BPMS:MATT:10:XTH", self.centralwidget)
self.pvLabel10.setObjectName(_fromUtf8("pvLabel10"))
self.formLayout.setWidget(9, QtGui.QFormLayout.FieldRole, self.pvLabel10)
self.label_11 = QtGui.QLabel(self.centralwidget)
self.label_11.setObjectName(_fromUtf8("label_11"))
self.formLayout.setWidget(10, QtGui.QFormLayout.LabelRole, self.label_11)
self.pvLabel11 = PyDMLabel("fake://faketest", self.centralwidget)
self.pvLabel11.setObjectName(_fromUtf8("pvLabel11"))
self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.pvLabel11)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 482, 22))
self.menubar.setObjectName(_fromUtf8("menubar"))
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(MainWindow)
self.statusbar.setObjectName(_fromUtf8("statusbar"))
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
self.label.setObjectName(_fromUtf8("label"))
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
self.pvLabel1 = PyDMLabel("ca://BPMS:MATT:1:XTH", self.centralwidget)
self.pvLabel1.setAutoFillBackground(False)
self.pvLabel1.setObjectName(_fromUtf8("pvLabel1"))
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.pvLabel1)
self.label_2 = QtGui.QLabel(self.centralwidget)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
self.pvLabel2 = PyDMLabel("ca://BPMS:MATT:2:XTH", self.centralwidget)
self.pvLabel2.setObjectName(_fromUtf8("pvLabel2"))
self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.pvLabel2)
self.label_3 = QtGui.QLabel(self.centralwidget)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
self.pvLabel3 = PyDMLabel("ca://BPMS:MATT:3:XTH", self.centralwidget)
self.pvLabel3.setObjectName(_fromUtf8("pvLabel3"))
self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.pvLabel3)
self.label_4 = QtGui.QLabel(self.centralwidget)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
self.pvLabel4 = PyDMLabel("ca://BPMS:MATT:4:XTH", self.centralwidget)
self.pvLabel4.setObjectName(_fromUtf8("pvLabel4"))
self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.pvLabel4)
self.label_5 = QtGui.QLabel(self.centralwidget)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_5)
self.pvLabel5 = PyDMLabel("ca://BPMS:MATT:5:XTH", self.centralwidget)
self.pvLabel5.setObjectName(_fromUtf8("pvLabel5"))
self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.pvLabel5)
self.label_6 = QtGui.QLabel(self.centralwidget)
self.label_6.setObjectName(_fromUtf8("label_6"))
self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
self.label_4 = QtGui.QLabel(self.desGroupBox_2)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_4)
self.label_5 = QtGui.QLabel(self.desGroupBox_2)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_5)
self.label_6 = QtGui.QLabel(self.desGroupBox_2)
self.label_6.setObjectName(_fromUtf8("label_6"))
self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_6)
self.motor1ReadbackLabel = PyDMLabel("ca://MOTOR:1:VAL", self.desGroupBox_2)
self.motor1ReadbackLabel.setObjectName(_fromUtf8("motor1ReadbackLabel"))
self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.motor1ReadbackLabel)
self.motor2ReadbackLabel = PyDMLabel("ca://MOTOR:2:VAL", self.desGroupBox_2)
self.motor2ReadbackLabel.setObjectName(_fromUtf8("motor2ReadbackLabel"))
self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.motor2ReadbackLabel)
self.motor3ReadbackLabel = PyDMLabel("ca://MOTOR:3:VAL", self.desGroupBox_2)
self.motor3ReadbackLabel.setObjectName(_fromUtf8("motor3ReadbackLabel"))
self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.motor3ReadbackLabel)
self.horizontalLayout_2.addWidget(self.desGroupBox_2)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 692, 22))
self.menubar.setObjectName(_fromUtf8("menubar"))
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(MainWindow)
self.statusbar.setObjectName(_fromUtf8("statusbar"))
MainWindow.setStatusBar(self.statusbar)
self.label_2 = QtGui.QLabel(self.centralwidget)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
self.pvLabel2 = PyDMLabel("ca://BPMS:MATT:2:XTH", self.centralwidget)
self.pvLabel2.setObjectName(_fromUtf8("pvLabel2"))
self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.pvLabel2)
self.label_3 = QtGui.QLabel(self.centralwidget)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
self.pvLabel3 = PyDMLabel("ca://BPMS:MATT:3:XTH", self.centralwidget)
self.pvLabel3.setObjectName(_fromUtf8("pvLabel3"))
self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.pvLabel3)
self.label_4 = QtGui.QLabel(self.centralwidget)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
self.pvLabel4 = PyDMLabel("ca://BPMS:MATT:4:XTH", self.centralwidget)
self.pvLabel4.setObjectName(_fromUtf8("pvLabel4"))
self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.pvLabel4)
self.label_5 = QtGui.QLabel(self.centralwidget)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_5)
self.pvLabel5 = PyDMLabel("ca://BPMS:MATT:5:XTH", self.centralwidget)
self.pvLabel5.setObjectName(_fromUtf8("pvLabel5"))
self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.pvLabel5)
self.label_6 = QtGui.QLabel(self.centralwidget)
self.label_6.setObjectName(_fromUtf8("label_6"))
self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_6)
self.pvLabel6 = PyDMLabel("ca://BPMS:MATT:6:XTH", self.centralwidget)
self.pvLabel6.setObjectName(_fromUtf8("pvLabel6"))
self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.pvLabel6)
self.label_7 = QtGui.QLabel(self.centralwidget)
self.label_7.setObjectName(_fromUtf8("label_7"))
self.label_3 = QtGui.QLabel(self.centralwidget)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
self.pvLabel3 = PyDMLabel("ca://BPMS:MATT:3:XTH", self.centralwidget)
self.pvLabel3.setObjectName(_fromUtf8("pvLabel3"))
self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.pvLabel3)
self.label_4 = QtGui.QLabel(self.centralwidget)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
self.pvLabel4 = PyDMLabel("ca://BPMS:MATT:4:XTH", self.centralwidget)
self.pvLabel4.setObjectName(_fromUtf8("pvLabel4"))
self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.pvLabel4)
self.label_5 = QtGui.QLabel(self.centralwidget)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_5)
self.pvLabel5 = PyDMLabel("ca://BPMS:MATT:5:XTH", self.centralwidget)
self.pvLabel5.setObjectName(_fromUtf8("pvLabel5"))
self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.pvLabel5)
self.label_6 = QtGui.QLabel(self.centralwidget)
self.label_6.setObjectName(_fromUtf8("label_6"))
self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_6)
self.pvLabel6 = PyDMLabel("ca://BPMS:MATT:6:XTH", self.centralwidget)
self.pvLabel6.setObjectName(_fromUtf8("pvLabel6"))
self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.pvLabel6)
self.label_7 = QtGui.QLabel(self.centralwidget)
self.label_7.setObjectName(_fromUtf8("label_7"))
self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_7)
self.pvLabel7 = PyDMLabel("ca://BPMS:MATT:7:XTH", self.centralwidget)
self.pvLabel7.setObjectName(_fromUtf8("pvLabel7"))
self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.pvLabel7)
self.label_8 = QtGui.QLabel(self.centralwidget)
self.label_8.setObjectName(_fromUtf8("label_8"))
self.label_5 = QtGui.QLabel(self.desGroupBox_2)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_5)
self.label_6 = QtGui.QLabel(self.desGroupBox_2)
self.label_6.setObjectName(_fromUtf8("label_6"))
self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_6)
self.motor1ReadbackLabel = PyDMLabel("ca://MOTOR:1:VAL", self.desGroupBox_2)
self.motor1ReadbackLabel.setObjectName(_fromUtf8("motor1ReadbackLabel"))
self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.motor1ReadbackLabel)
self.motor2ReadbackLabel = PyDMLabel("ca://MOTOR:2:VAL", self.desGroupBox_2)
self.motor2ReadbackLabel.setObjectName(_fromUtf8("motor2ReadbackLabel"))
self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.motor2ReadbackLabel)
self.motor3ReadbackLabel = PyDMLabel("ca://MOTOR:3:VAL", self.desGroupBox_2)
self.motor3ReadbackLabel.setObjectName(_fromUtf8("motor3ReadbackLabel"))
self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.motor3ReadbackLabel)
self.horizontalLayout_2.addWidget(self.desGroupBox_2)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 692, 22))
self.menubar.setObjectName(_fromUtf8("menubar"))
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(MainWindow)
self.statusbar.setObjectName(_fromUtf8("statusbar"))
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
self.horizontalLayout_2.addLayout(self.verticalLayout)
self.desGroupBox_2 = QtGui.QGroupBox(self.centralwidget)
self.desGroupBox_2.setObjectName(_fromUtf8("desGroupBox_2"))
self.formLayout_2 = QtGui.QFormLayout(self.desGroupBox_2)
self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
self.label_4 = QtGui.QLabel(self.desGroupBox_2)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_4)
self.label_5 = QtGui.QLabel(self.desGroupBox_2)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_5)
self.label_6 = QtGui.QLabel(self.desGroupBox_2)
self.label_6.setObjectName(_fromUtf8("label_6"))
self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_6)
self.motor1ReadbackLabel = PyDMLabel("ca://MOTOR:1:VAL", self.desGroupBox_2)
self.motor1ReadbackLabel.setObjectName(_fromUtf8("motor1ReadbackLabel"))
self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.motor1ReadbackLabel)
self.motor2ReadbackLabel = PyDMLabel("ca://MOTOR:2:VAL", self.desGroupBox_2)
self.motor2ReadbackLabel.setObjectName(_fromUtf8("motor2ReadbackLabel"))
self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.motor2ReadbackLabel)
self.motor3ReadbackLabel = PyDMLabel("ca://MOTOR:3:VAL", self.desGroupBox_2)
self.motor3ReadbackLabel.setObjectName(_fromUtf8("motor3ReadbackLabel"))
self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.motor3ReadbackLabel)
self.horizontalLayout_2.addWidget(self.desGroupBox_2)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 692, 22))
self.menubar.setObjectName(_fromUtf8("menubar"))
self.label_5 = QtGui.QLabel(self.centralwidget)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_5)
self.pvLabel5 = PyDMLabel("ca://BPMS:MATT:5:XTH", self.centralwidget)
self.pvLabel5.setObjectName(_fromUtf8("pvLabel5"))
self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.pvLabel5)
self.label_6 = QtGui.QLabel(self.centralwidget)
self.label_6.setObjectName(_fromUtf8("label_6"))
self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_6)
self.pvLabel6 = PyDMLabel("ca://BPMS:MATT:6:XTH", self.centralwidget)
self.pvLabel6.setObjectName(_fromUtf8("pvLabel6"))
self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.pvLabel6)
self.label_7 = QtGui.QLabel(self.centralwidget)
self.label_7.setObjectName(_fromUtf8("label_7"))
self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_7)
self.pvLabel7 = PyDMLabel("ca://BPMS:MATT:7:XTH", self.centralwidget)
self.pvLabel7.setObjectName(_fromUtf8("pvLabel7"))
self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.pvLabel7)
self.label_8 = QtGui.QLabel(self.centralwidget)
self.label_8.setObjectName(_fromUtf8("label_8"))
self.formLayout.setWidget(7, QtGui.QFormLayout.LabelRole, self.label_8)
self.pvLabel8 = PyDMLabel("ca://BPMS:MATT:8:XTH", self.centralwidget)
self.pvLabel8.setObjectName(_fromUtf8("pvLabel8"))
self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.pvLabel8)
self.label_9 = QtGui.QLabel(self.centralwidget)
self.label_9.setObjectName(_fromUtf8("label_9"))
self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.label_9)
self.pvLabel9 = PyDMLabel("ca://BPMS:MATT:9:XTH", self.centralwidget)
self.pvLabel9.setObjectName(_fromUtf8("pvLabel9"))
self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.pvLabel9)
self.label_10 = QtGui.QLabel(self.centralwidget)
self.label_10.setObjectName(_fromUtf8("label_10"))
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.formLayout = QtGui.QFormLayout(self.centralwidget)
self.formLayout.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.formLayout.setObjectName(_fromUtf8("formLayout"))
self.label = QtGui.QLabel(self.centralwidget)
self.label.setObjectName(_fromUtf8("label"))
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
self.pvLabel1 = PyDMLabel("ca://BPMS:MATT:1:XTH", self.centralwidget)
self.pvLabel1.setAutoFillBackground(False)
self.pvLabel1.setObjectName(_fromUtf8("pvLabel1"))
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.pvLabel1)
self.label_2 = QtGui.QLabel(self.centralwidget)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
self.pvLabel2 = PyDMLabel("ca://BPMS:MATT:2:XTH", self.centralwidget)
self.pvLabel2.setObjectName(_fromUtf8("pvLabel2"))
self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.pvLabel2)
self.label_3 = QtGui.QLabel(self.centralwidget)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
self.pvLabel3 = PyDMLabel("ca://BPMS:MATT:3:XTH", self.centralwidget)
self.pvLabel3.setObjectName(_fromUtf8("pvLabel3"))
self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.pvLabel3)
self.label_4 = QtGui.QLabel(self.centralwidget)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
self.pvLabel4 = PyDMLabel("ca://BPMS:MATT:4:XTH", self.centralwidget)
self.pvLabel4.setObjectName(_fromUtf8("pvLabel4"))
self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.pvLabel4)
self.label_5 = QtGui.QLabel(self.centralwidget)
self.label_5.setObjectName(_fromUtf8("label_5"))