Exemplo n.º 1
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(695, 563)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setMargin(6)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.powerGroup = QtGui.QGroupBox(Form)
        self.powerGroup.setTitle(_fromUtf8(""))
        self.powerGroup.setObjectName(_fromUtf8("powerGroup"))
        self.gridLayout_4 = QtGui.QGridLayout(self.powerGroup)
        self.gridLayout_4.setMargin(6)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_5 = QtGui.QLabel(self.powerGroup)
        self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_4.addWidget(self.label_5, 0, 2, 1, 1)
        self.expectedPowerSpin = SpinBox(self.powerGroup)
        self.expectedPowerSpin.setMinimumSize(QtCore.QSize(75, 0))
        self.expectedPowerSpin.setObjectName(_fromUtf8("expectedPowerSpin"))
        self.gridLayout_4.addWidget(self.expectedPowerSpin, 0, 3, 1, 1)
        self.toleranceSpin = SpinBox(self.powerGroup)
        self.toleranceSpin.setMinimumSize(QtCore.QSize(75, 0))
        self.toleranceSpin.setObjectName(_fromUtf8("toleranceSpin"))
        self.gridLayout_4.addWidget(self.toleranceSpin, 1, 3, 1, 1)
        self.energyCalcGroup = QtGui.QGroupBox(self.powerGroup)
        self.energyCalcGroup.setObjectName(_fromUtf8("energyCalcGroup"))
        self.verticalLayout = QtGui.QVBoxLayout(self.energyCalcGroup)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setContentsMargins(-1, 0, 0, 0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.currentPowerRadio = QtGui.QRadioButton(self.energyCalcGroup)
        self.currentPowerRadio.setObjectName(_fromUtf8("currentPowerRadio"))
        self.verticalLayout.addWidget(self.currentPowerRadio)
        self.expectedPowerRadio = QtGui.QRadioButton(self.energyCalcGroup)
        self.expectedPowerRadio.setChecked(True)
        self.expectedPowerRadio.setObjectName(_fromUtf8("expectedPowerRadio"))
        self.verticalLayout.addWidget(self.expectedPowerRadio)
        self.gridLayout_4.addWidget(self.energyCalcGroup, 0, 4, 2, 1)
        self.label_4 = QtGui.QLabel(self.powerGroup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_4.addWidget(self.label_4, 0, 0, 1, 1)
        self.outputPowerLabel = QtGui.QLabel(self.powerGroup)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.outputPowerLabel.setFont(font)
        self.outputPowerLabel.setText(_fromUtf8(""))
        self.outputPowerLabel.setObjectName(_fromUtf8("outputPowerLabel"))
        self.gridLayout_4.addWidget(self.outputPowerLabel, 0, 1, 1, 1)
        self.samplePowerLabel = QtGui.QLabel(self.powerGroup)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(False)
        font.setWeight(50)
        self.samplePowerLabel.setFont(font)
        self.samplePowerLabel.setText(_fromUtf8(""))
        self.samplePowerLabel.setObjectName(_fromUtf8("samplePowerLabel"))
        self.gridLayout_4.addWidget(self.samplePowerLabel, 1, 1, 1, 1)
        self.label_8 = QtGui.QLabel(self.powerGroup)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_4.addWidget(self.label_8, 1, 0, 1, 1)
        self.powerAlertCheck = QtGui.QCheckBox(self.powerGroup)
        self.powerAlertCheck.setChecked(True)
        self.powerAlertCheck.setObjectName(_fromUtf8("powerAlertCheck"))
        self.gridLayout_4.addWidget(self.powerAlertCheck, 1, 2, 1, 1)
        self.gridLayout.addWidget(self.powerGroup, 0, 0, 1, 3)
        self.wavelengthGroup = QtGui.QGroupBox(Form)
        self.wavelengthGroup.setTitle(_fromUtf8(""))
        self.wavelengthGroup.setObjectName(_fromUtf8("wavelengthGroup"))
        self.gridLayout_5 = QtGui.QGridLayout(self.wavelengthGroup)
        self.gridLayout_5.setMargin(6)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.label_7 = QtGui.QLabel(self.wavelengthGroup)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_5.addWidget(self.label_7, 0, 0, 1, 1)
        self.wavelengthSpin = SpinBox(self.wavelengthGroup)
        self.wavelengthSpin.setSuffix(_fromUtf8(""))
        self.wavelengthSpin.setObjectName(_fromUtf8("wavelengthSpin"))
        self.gridLayout_5.addWidget(self.wavelengthSpin, 0, 1, 1, 1)
        self.wavelengthCombo = QtGui.QComboBox(self.wavelengthGroup)
        self.wavelengthCombo.setObjectName(_fromUtf8("wavelengthCombo"))
        self.wavelengthCombo.addItem(_fromUtf8(""))
        self.gridLayout_5.addWidget(self.wavelengthCombo, 0, 2, 1, 1)
        self.GDDEnableCheck = QtGui.QCheckBox(self.wavelengthGroup)
        self.GDDEnableCheck.setObjectName(_fromUtf8("GDDEnableCheck"))
        self.gridLayout_5.addWidget(self.GDDEnableCheck, 1, 0, 1, 1)
        self.GDDSpin = QtGui.QSpinBox(self.wavelengthGroup)
        self.GDDSpin.setMaximum(32000)
        self.GDDSpin.setObjectName(_fromUtf8("GDDSpin"))
        self.gridLayout_5.addWidget(self.GDDSpin, 1, 1, 1, 1)
        self.GDDLimits = QtGui.QLabel(self.wavelengthGroup)
        self.GDDLimits.setObjectName(_fromUtf8("GDDLimits"))
        self.gridLayout_5.addWidget(self.GDDLimits, 1, 2, 1, 1)
        self.gridLayout.addWidget(self.wavelengthGroup, 3, 0, 1, 3)
        self.groupBox_2 = QtGui.QGroupBox(Form)
        self.groupBox_2.setAlignment(QtCore.Qt.AlignCenter)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_6 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.calibrationList = QtGui.QTreeWidget(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(False)
        font.setWeight(50)
        self.calibrationList.setFont(font)
        self.calibrationList.setRootIsDecorated(False)
        self.calibrationList.setItemsExpandable(False)
        self.calibrationList.setObjectName(_fromUtf8("calibrationList"))
        self.calibrationList.header().setStretchLastSection(True)
        self.gridLayout_6.addWidget(self.calibrationList, 0, 0, 1, 5)
        self.groupBox = QtGui.QGroupBox(self.groupBox_2)
        self.groupBox.setAlignment(QtCore.Qt.AlignCenter)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_3.setMargin(6)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setHorizontalSpacing(6)
        self.gridLayout_2.setVerticalSpacing(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.scanLabel = QtGui.QLabel(self.groupBox)
        self.scanLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.scanLabel.setObjectName(_fromUtf8("scanLabel"))
        self.gridLayout_2.addWidget(self.scanLabel, 1, 3, 1, 1)
        self.measurementSpin = SpinBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.measurementSpin.sizePolicy().hasHeightForWidth())
        self.measurementSpin.setSizePolicy(sizePolicy)
        self.measurementSpin.setMinimum(0.0)
        self.measurementSpin.setMaximum(100.0)
        self.measurementSpin.setProperty("value", 1.0)
        self.measurementSpin.setObjectName(_fromUtf8("measurementSpin"))
        self.gridLayout_2.addWidget(self.measurementSpin, 1, 4, 1, 1)
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 2, 3, 1, 1)
        self.settlingSpin = SpinBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(2)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.settlingSpin.sizePolicy().hasHeightForWidth())
        self.settlingSpin.setSizePolicy(sizePolicy)
        self.settlingSpin.setObjectName(_fromUtf8("settlingSpin"))
        self.gridLayout_2.addWidget(self.settlingSpin, 2, 4, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_2.addWidget(self.label_3, 1, 0, 1, 1)
        self.meterCombo = InterfaceCombo(self.groupBox)
        self.meterCombo.setObjectName(_fromUtf8("meterCombo"))
        self.gridLayout_2.addWidget(self.meterCombo, 1, 1, 1, 1)
        self.label_12 = QtGui.QLabel(self.groupBox)
        self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.gridLayout_2.addWidget(self.label_12, 2, 0, 1, 1)
        self.channelCombo = QtGui.QComboBox(self.groupBox)
        self.channelCombo.setObjectName(_fromUtf8("channelCombo"))
        self.gridLayout_2.addWidget(self.channelCombo, 2, 1, 1, 1)
        self.gridLayout_3.addLayout(self.gridLayout_2, 0, 0, 1, 1)
        self.pCellGroup = QtGui.QGroupBox(self.groupBox)
        self.pCellGroup.setAlignment(QtCore.Qt.AlignCenter)
        self.pCellGroup.setObjectName(_fromUtf8("pCellGroup"))
        self.gridLayout_8 = QtGui.QGridLayout(self.pCellGroup)
        self.gridLayout_8.setMargin(6)
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
        self.gridLayout_7 = QtGui.QGridLayout()
        self.gridLayout_7.setVerticalSpacing(0)
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.label_9 = QtGui.QLabel(self.pCellGroup)
        self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout_7.addWidget(self.label_9, 0, 0, 1, 1)
        self.minVSpin = SpinBox(self.pCellGroup)
        self.minVSpin.setMinimum(-99.0)
        self.minVSpin.setSingleStep(0.01)
        self.minVSpin.setProperty("value", -0.2)
        self.minVSpin.setObjectName(_fromUtf8("minVSpin"))
        self.gridLayout_7.addWidget(self.minVSpin, 0, 1, 1, 1)
        self.label_11 = QtGui.QLabel(self.pCellGroup)
        self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.gridLayout_7.addWidget(self.label_11, 0, 2, 1, 1)
        self.stepsSpin = SpinBox(self.pCellGroup)
        self.stepsSpin.setDecimals(0)
        self.stepsSpin.setMinimum(10.0)
        self.stepsSpin.setMaximum(1000.0)
        self.stepsSpin.setProperty("value", 20.0)
        self.stepsSpin.setObjectName(_fromUtf8("stepsSpin"))
        self.gridLayout_7.addWidget(self.stepsSpin, 0, 3, 1, 1)
        self.label_10 = QtGui.QLabel(self.pCellGroup)
        self.label_10.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout_7.addWidget(self.label_10, 2, 0, 1, 1)
        self.maxVSpin = SpinBox(self.pCellGroup)
        self.maxVSpin.setSingleStep(0.01)
        self.maxVSpin.setProperty("value", 1.2)
        self.maxVSpin.setObjectName(_fromUtf8("maxVSpin"))
        self.gridLayout_7.addWidget(self.maxVSpin, 2, 1, 1, 1)
        self.recalibratePCellCheck = QtGui.QCheckBox(self.pCellGroup)
        self.recalibratePCellCheck.setObjectName(_fromUtf8("recalibratePCellCheck"))
        self.gridLayout_7.addWidget(self.recalibratePCellCheck, 2, 3, 1, 1)
        self.gridLayout_8.addLayout(self.gridLayout_7, 0, 0, 1, 1)
        self.gridLayout_3.addWidget(self.pCellGroup, 1, 0, 1, 1)
        self.gridLayout_6.addWidget(self.groupBox, 2, 0, 1, 5)
        self.deleteBtn = QtGui.QPushButton(self.groupBox_2)
        self.deleteBtn.setObjectName(_fromUtf8("deleteBtn"))
        self.gridLayout_6.addWidget(self.deleteBtn, 1, 4, 1, 1)
        self.calibrateBtn = QtGui.QPushButton(self.groupBox_2)
        self.calibrateBtn.setObjectName(_fromUtf8("calibrateBtn"))
        self.gridLayout_6.addWidget(self.calibrateBtn, 1, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox_2, 4, 0, 1, 3)
        self.checkPowerBtn = QtGui.QPushButton(Form)
        self.checkPowerBtn.setObjectName(_fromUtf8("checkPowerBtn"))
        self.gridLayout.addWidget(self.checkPowerBtn, 2, 0, 1, 1)
        self.shutterBtn = QtGui.QPushButton(Form)
        self.shutterBtn.setCheckable(True)
        self.shutterBtn.setObjectName(_fromUtf8("shutterBtn"))
        self.gridLayout.addWidget(self.shutterBtn, 2, 1, 1, 1)
        self.qSwitchBtn = QtGui.QPushButton(Form)
        self.qSwitchBtn.setCheckable(True)
        self.qSwitchBtn.setObjectName(_fromUtf8("qSwitchBtn"))
        self.gridLayout.addWidget(self.qSwitchBtn, 2, 2, 1, 1)

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(_translate("Form", "Form", None))
        self.label_5.setText(_translate("Form", "Expected Output Power:", None))
        self.energyCalcGroup.setTitle(_translate("Form", "For energy calculations use:", None))
        self.currentPowerRadio.setText(_translate("Form", "Current Power", None))
        self.expectedPowerRadio.setText(_translate("Form", "Expected Power", None))
        self.label_4.setText(_translate("Form", "Current Output Power:", None))
        self.label_8.setText(_translate("Form", "Power at sample (calc.):", None))
        self.powerAlertCheck.setText(_translate("Form", "Alert me to power changes larger than:", None))
        self.label_7.setText(_translate("Form", "Current Wavelength: ", None))
        self.wavelengthCombo.setItemText(0, _translate("Form", "Set wavelength for:", None))
        self.GDDEnableCheck.setText(_translate("Form", "GDD Enable", None))
        self.GDDLimits.setText(_translate("Form", "GDD Limits", None))
        self.groupBox_2.setTitle(_translate("Form", "Power Calibration", None))
        self.calibrationList.headerItem().setText(0, _translate("Form", "Optics", None))
        self.calibrationList.headerItem().setText(1, _translate("Form", "Wavelength", None))
        self.calibrationList.headerItem().setText(2, _translate("Form", "Transmission", None))
        self.calibrationList.headerItem().setText(3, _translate("Form", "Power at Sample", None))
        self.calibrationList.headerItem().setText(4, _translate("Form", "Date", None))
        self.groupBox.setTitle(_translate("Form", "Calibration Parameters", None))
        self.scanLabel.setText(_translate("Form", "Measurement Duration", None))
        self.measurementSpin.setSuffix(_translate("Form", " s", None))
        self.label.setText(_translate("Form", "Settling Duration:", None))
        self.settlingSpin.setToolTip(_translate("Form", "Specify the time it takes for the selected power meter to settle on a value.", None))
        self.label_3.setText(_translate("Form", "Power Meter:", None))
        self.label_12.setText(_translate("Form", "Channel:", None))
        self.pCellGroup.setTitle(_translate("Form", "Pockel Cell Parameters", None))
        self.label_9.setText(_translate("Form", "Minimum Voltage:", None))
        self.minVSpin.setSuffix(_translate("Form", "V", None))
        self.label_11.setText(_translate("Form", "Number of Steps: ", None))
        self.label_10.setText(_translate("Form", "Maximum Voltage:", None))
        self.maxVSpin.setSuffix(_translate("Form", "V", None))
        self.recalibratePCellCheck.setText(_translate("Form", "Re-Calibrate Pockel Cell", None))
        self.deleteBtn.setText(_translate("Form", "Delete", None))
        self.calibrateBtn.setText(_translate("Form", "Calibrate", None))
        self.checkPowerBtn.setText(_translate("Form", "Check Power", None))
        self.shutterBtn.setText(_translate("Form", "Open Shutter", None))
        self.qSwitchBtn.setText(_translate("Form", "Turn On QSwitch", None))
Exemplo n.º 2
0
class Ui_MultiPatch(object):
    def setupUi(self, MultiPatch):
        MultiPatch.setObjectName(_fromUtf8("MultiPatch"))
        MultiPatch.resize(496, 283)
        self.gridLayout = QtGui.QGridLayout(MultiPatch)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.recordBtn = QtGui.QPushButton(MultiPatch)
        self.recordBtn.setCheckable(True)
        self.recordBtn.setObjectName(_fromUtf8("recordBtn"))
        self.gridLayout.addWidget(self.recordBtn, 7, 0, 1, 1)
        self.coarseSearchBtn = QtGui.QPushButton(MultiPatch)
        self.coarseSearchBtn.setObjectName(_fromUtf8("coarseSearchBtn"))
        self.gridLayout.addWidget(self.coarseSearchBtn, 1, 0, 1, 1)
        self.idleBtn = QtGui.QPushButton(MultiPatch)
        self.idleBtn.setObjectName(_fromUtf8("idleBtn"))
        self.gridLayout.addWidget(self.idleBtn, 2, 0, 1, 1)
        self.fineSearchBtn = QtGui.QPushButton(MultiPatch)
        self.fineSearchBtn.setObjectName(_fromUtf8("fineSearchBtn"))
        self.gridLayout.addWidget(self.fineSearchBtn, 1, 1, 1, 1)
        self.approachBtn = QtGui.QPushButton(MultiPatch)
        self.approachBtn.setObjectName(_fromUtf8("approachBtn"))
        self.gridLayout.addWidget(self.approachBtn, 2, 2, 1, 1)
        self.sealBtn = QtGui.QPushButton(MultiPatch)
        self.sealBtn.setObjectName(_fromUtf8("sealBtn"))
        self.gridLayout.addWidget(self.sealBtn, 4, 0, 1, 1)
        self.homeBtn = QtGui.QPushButton(MultiPatch)
        self.homeBtn.setObjectName(_fromUtf8("homeBtn"))
        self.gridLayout.addWidget(self.homeBtn, 0, 0, 1, 1)
        self.setTargetBtn = QtGui.QPushButton(MultiPatch)
        self.setTargetBtn.setCheckable(True)
        self.setTargetBtn.setObjectName(_fromUtf8("setTargetBtn"))
        self.gridLayout.addWidget(self.setTargetBtn, 0, 1, 1, 1)
        self.calibrateBtn = QtGui.QPushButton(MultiPatch)
        self.calibrateBtn.setCheckable(True)
        self.calibrateBtn.setObjectName(_fromUtf8("calibrateBtn"))
        self.gridLayout.addWidget(self.calibrateBtn, 1, 2, 1, 1)
        self.aboveTargetBtn = QtGui.QPushButton(MultiPatch)
        self.aboveTargetBtn.setObjectName(_fromUtf8("aboveTargetBtn"))
        self.gridLayout.addWidget(self.aboveTargetBtn, 2, 1, 1, 1)
        self.autoCalibrateBtn = QtGui.QPushButton(MultiPatch)
        self.autoCalibrateBtn.setObjectName(_fromUtf8("autoCalibrateBtn"))
        self.gridLayout.addWidget(self.autoCalibrateBtn, 0, 2, 1, 1)
        self.hideMarkersBtn = QtGui.QPushButton(MultiPatch)
        self.hideMarkersBtn.setCheckable(True)
        self.hideMarkersBtn.setObjectName(_fromUtf8("hideMarkersBtn"))
        self.gridLayout.addWidget(self.hideMarkersBtn, 4, 1, 1, 1)
        self.fastBtn = QtGui.QPushButton(MultiPatch)
        self.fastBtn.setCheckable(True)
        self.fastBtn.setObjectName(_fromUtf8("fastBtn"))
        self.gridLayout.addWidget(self.fastBtn, 3, 2, 1, 1)
        self.slowBtn = QtGui.QPushButton(MultiPatch)
        self.slowBtn.setCheckable(True)
        self.slowBtn.setObjectName(_fromUtf8("slowBtn"))
        self.gridLayout.addWidget(self.slowBtn, 3, 0, 1, 1)
        self.breakInBtn = QtGui.QPushButton(MultiPatch)
        self.breakInBtn.setObjectName(_fromUtf8("breakInBtn"))
        self.gridLayout.addWidget(self.breakInBtn, 4, 2, 1, 1)
        self.stepInBtn = QtGui.QPushButton(MultiPatch)
        self.stepInBtn.setObjectName(_fromUtf8("stepInBtn"))
        self.gridLayout.addWidget(self.stepInBtn, 5, 0, 1, 1)
        self.stepOutBtn = QtGui.QPushButton(MultiPatch)
        self.stepOutBtn.setObjectName(_fromUtf8("stepOutBtn"))
        self.gridLayout.addWidget(self.stepOutBtn, 5, 1, 1, 1)
        self.moveInBtn = QtGui.QPushButton(MultiPatch)
        self.moveInBtn.setObjectName(_fromUtf8("moveInBtn"))
        self.gridLayout.addWidget(self.moveInBtn, 5, 2, 1, 1)
        self.label = QtGui.QLabel(MultiPatch)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 6, 0, 1, 1)
        self.stepSizeSpin = SpinBox(MultiPatch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.stepSizeSpin.sizePolicy().hasHeightForWidth())
        self.stepSizeSpin.setSizePolicy(sizePolicy)
        self.stepSizeSpin.setObjectName(_fromUtf8("stepSizeSpin"))
        self.gridLayout.addWidget(self.stepSizeSpin, 6, 1, 1, 1)
        self.toTargetBtn = QtGui.QPushButton(MultiPatch)
        self.toTargetBtn.setObjectName(_fromUtf8("toTargetBtn"))
        self.gridLayout.addWidget(self.toTargetBtn, 6, 2, 1, 1)
        self.resetBtn = QtGui.QPushButton(MultiPatch)
        self.resetBtn.setObjectName(_fromUtf8("resetBtn"))
        self.gridLayout.addWidget(self.resetBtn, 7, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 8, 1, 1, 1)
        self.matrixWidget = QtGui.QWidget(MultiPatch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.matrixWidget.sizePolicy().hasHeightForWidth())
        self.matrixWidget.setSizePolicy(sizePolicy)
        self.matrixWidget.setObjectName(_fromUtf8("matrixWidget"))
        self.matrixLayout = QtGui.QGridLayout(self.matrixWidget)
        self.matrixLayout.setMargin(0)
        self.matrixLayout.setSpacing(0)
        self.matrixLayout.setObjectName(_fromUtf8("matrixLayout"))
        self.gridLayout.addWidget(self.matrixWidget, 0, 3, 9, 1)
        self.reSealBtn = QtGui.QPushButton(MultiPatch)
        self.reSealBtn.setObjectName(_fromUtf8("reSealBtn"))
        self.gridLayout.addWidget(self.reSealBtn, 7, 1, 1, 1)

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

    def retranslateUi(self, MultiPatch):
        MultiPatch.setWindowTitle(_translate("MultiPatch", "Form", None))
        self.recordBtn.setText(_translate("MultiPatch", "Record", None))
        self.coarseSearchBtn.setText(
            _translate("MultiPatch", "Coarse Search", None))
        self.idleBtn.setText(_translate("MultiPatch", "Idle", None))
        self.fineSearchBtn.setText(
            _translate("MultiPatch", "Fine Search", None))
        self.approachBtn.setText(_translate("MultiPatch", "Approach", None))
        self.sealBtn.setText(_translate("MultiPatch", "Seal", None))
        self.homeBtn.setText(_translate("MultiPatch", "Home", None))
        self.setTargetBtn.setText(_translate("MultiPatch", "Set target", None))
        self.calibrateBtn.setText(_translate("MultiPatch", "Calibrate", None))
        self.aboveTargetBtn.setText(
            _translate("MultiPatch", "Above target", None))
        self.autoCalibrateBtn.setText(
            _translate("MultiPatch", "Auto cal.", None))
        self.hideMarkersBtn.setText(
            _translate("MultiPatch", "Hide Markers", None))
        self.fastBtn.setText(_translate("MultiPatch", "Fast", None))
        self.slowBtn.setText(_translate("MultiPatch", "Slow", None))
        self.breakInBtn.setText(_translate("MultiPatch", "Break In", None))
        self.stepInBtn.setText(_translate("MultiPatch", "Step in", None))
        self.stepOutBtn.setText(_translate("MultiPatch", "Step out", None))
        self.moveInBtn.setText(_translate("MultiPatch", "Move in", None))
        self.label.setText(_translate("MultiPatch", "Step size", None))
        self.toTargetBtn.setText(_translate("MultiPatch", "To target", None))
        self.resetBtn.setText(_translate("MultiPatch", "Reset History", None))
        self.reSealBtn.setText(_translate("MultiPatch", "ReSeal", None))