Exemplo n.º 1
0
class Ui_oneVariableFeedbackComposite(object):
    def setupUi(self, oneVariableFeedbackComposite):
        oneVariableFeedbackComposite.setObjectName("oneVariableFeedbackComposite")
        oneVariableFeedbackComposite.resize(665, 576)
        self.gridLayout = QtGui.QGridLayout(oneVariableFeedbackComposite)
        self.gridLayout.setObjectName("gridLayout")
        self.oneVariableFeedbackToolBox = QtGui.QToolBox(oneVariableFeedbackComposite)
        self.oneVariableFeedbackToolBox.setFrameShape(QtGui.QFrame.NoFrame)
        self.oneVariableFeedbackToolBox.setObjectName("oneVariableFeedbackToolBox")
        self.feedbackFormPage = QtGui.QWidget()
        self.feedbackFormPage.setGeometry(QtCore.QRect(0, 0, 505, 471))
        self.feedbackFormPage.setObjectName("feedbackFormPage")
        self.gridLayout_2 = QtGui.QGridLayout(self.feedbackFormPage)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.oneVariableFeedbackFormWidget = OneVariableFeedbackFormWidget(self.feedbackFormPage)
        self.oneVariableFeedbackFormWidget.setObjectName("oneVariableFeedbackFormWidget")
        self.gridLayout_2.addWidget(self.oneVariableFeedbackFormWidget, 0, 0, 1, 1)
        self.oneVariableFeedbackToolBox.addItem(self.feedbackFormPage, "")
        self.conditionTablePage = QtGui.QWidget()
        self.conditionTablePage.setGeometry(QtCore.QRect(0, 0, 505, 471))
        self.conditionTablePage.setObjectName("conditionTablePage")
        self.gridLayout_3 = QtGui.QGridLayout(self.conditionTablePage)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.conditionTableWidget = ConditionTableWidget(self.conditionTablePage)
        self.conditionTableWidget.setObjectName("conditionTableWidget")
        self.gridLayout_3.addWidget(self.conditionTableWidget, 0, 0, 1, 1)
        self.oneVariableFeedbackToolBox.addItem(self.conditionTablePage, "")
        self.page = QtGui.QWidget()
        self.page.setGeometry(QtCore.QRect(0, 0, 505, 471))
        self.page.setObjectName("page")
        self.gridLayout_4 = QtGui.QGridLayout(self.page)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.statusTextWidget = StatusTextWidget(self.page)
        self.statusTextWidget.setObjectName("statusTextWidget")
        self.gridLayout_4.addWidget(self.statusTextWidget, 0, 0, 1, 1)
        self.oneVariableFeedbackToolBox.addItem(self.page, "")
        self.gridLayout.addWidget(self.oneVariableFeedbackToolBox, 0, 0, 1, 1)
        self.processControlWidget = ProcessControlWidget(oneVariableFeedbackComposite)
        self.processControlWidget.setObjectName("processControlWidget")
        self.gridLayout.addWidget(self.processControlWidget, 0, 1, 1, 1)

        self.retranslateUi(oneVariableFeedbackComposite)
        self.oneVariableFeedbackToolBox.setCurrentIndex(0)
        QtCore.QObject.connect(self.processControlWidget, QtCore.SIGNAL("readyWriteStandardError(QString)"), self.statusTextWidget.append)
        QtCore.QObject.connect(self.processControlWidget, QtCore.SIGNAL("readyWriteStandardOutput(QString)"), self.statusTextWidget.append)
        QtCore.QMetaObject.connectSlotsByName(oneVariableFeedbackComposite)

    def retranslateUi(self, oneVariableFeedbackComposite):
        oneVariableFeedbackComposite.setWindowTitle(QtGui.QApplication.translate("oneVariableFeedbackComposite", "One-Variable Feedback Composite", None, QtGui.QApplication.UnicodeUTF8))
        self.oneVariableFeedbackFormWidget.setToolTip(QtGui.QApplication.translate("oneVariableFeedbackComposite", "One-Variable Feedback Parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.oneVariableFeedbackFormWidget.setWhatsThis(QtGui.QApplication.translate("oneVariableFeedbackComposite", "This widget allows you to enter your one-variable feedback paramaters.", None, QtGui.QApplication.UnicodeUTF8))
        self.oneVariableFeedbackToolBox.setItemText(self.oneVariableFeedbackToolBox.indexOf(self.feedbackFormPage), QtGui.QApplication.translate("oneVariableFeedbackComposite", "Feedback Form", None, QtGui.QApplication.UnicodeUTF8))
        self.conditionTableWidget.setToolTip(QtGui.QApplication.translate("oneVariableFeedbackComposite", "Condition table", None, QtGui.QApplication.UnicodeUTF8))
        self.conditionTableWidget.setWhatsThis(QtGui.QApplication.translate("oneVariableFeedbackComposite", "This widget displays the current condition that needs to be meet.", None, QtGui.QApplication.UnicodeUTF8))
        self.oneVariableFeedbackToolBox.setItemText(self.oneVariableFeedbackToolBox.indexOf(self.conditionTablePage), QtGui.QApplication.translate("oneVariableFeedbackComposite", "Condition Table", None, QtGui.QApplication.UnicodeUTF8))
        self.statusTextWidget.setToolTip(QtGui.QApplication.translate("oneVariableFeedbackComposite", "Current status", None, QtGui.QApplication.UnicodeUTF8))
        self.statusTextWidget.setWhatsThis(QtGui.QApplication.translate("oneVariableFeedbackComposite", "This widget displays the current status.", None, QtGui.QApplication.UnicodeUTF8))
        self.oneVariableFeedbackToolBox.setItemText(self.oneVariableFeedbackToolBox.indexOf(self.page), QtGui.QApplication.translate("oneVariableFeedbackComposite", "Feedback Status", None, QtGui.QApplication.UnicodeUTF8))
        self.processControlWidget.setToolTip(QtGui.QApplication.translate("oneVariableFeedbackComposite", "Start/Pause/Resume/Stop Process", None, QtGui.QApplication.UnicodeUTF8))
        self.processControlWidget.setWhatsThis(QtGui.QApplication.translate("oneVariableFeedbackComposite", "This widget is used to control the current process.", None, QtGui.QApplication.UnicodeUTF8))
class Ui_oneVariableFeedbackComposite(object):
    def setupUi(self, oneVariableFeedbackComposite):
        oneVariableFeedbackComposite.setObjectName("oneVariableFeedbackComposite")
        oneVariableFeedbackComposite.resize(773, 547)
        self.gridLayout = QtGui.QGridLayout(oneVariableFeedbackComposite)
        self.gridLayout.setObjectName("gridLayout")
        self.processControlWidget = ProcessControlWidget(oneVariableFeedbackComposite)
        self.processControlWidget.setObjectName("processControlWidget")
        self.gridLayout.addWidget(self.processControlWidget, 0, 2, 1, 1)
        self.oneVariableFeedbackToolBox = QtGui.QToolBox(oneVariableFeedbackComposite)
        self.oneVariableFeedbackToolBox.setFrameShape(QtGui.QFrame.NoFrame)
        self.oneVariableFeedbackToolBox.setObjectName("oneVariableFeedbackToolBox")
        self.feedbackFormPage = QtGui.QWidget()
        self.feedbackFormPage.setGeometry(QtCore.QRect(0, 0, 618, 442))
        self.feedbackFormPage.setObjectName("feedbackFormPage")
        self.formLayout = QtGui.QFormLayout(self.feedbackFormPage)
        self.formLayout.setObjectName("formLayout")
        self.actuatorPvLabel = QtGui.QLabel(self.feedbackFormPage)
        self.actuatorPvLabel.setObjectName("actuatorPvLabel")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.actuatorPvLabel)
        self.actuatorPvLineEdit = QtGui.QLineEdit(self.feedbackFormPage)
        self.actuatorPvLineEdit.setObjectName("actuatorPvLineEdit")
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.actuatorPvLineEdit)
        self.readbackPvLabel = QtGui.QLabel(self.feedbackFormPage)
        self.readbackPvLabel.setObjectName("readbackPvLabel")
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.readbackPvLabel)
        self.readbackPvLineEdit = QtGui.QLineEdit(self.feedbackFormPage)
        self.readbackPvLineEdit.setObjectName("readbackPvLineEdit")
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.readbackPvLineEdit)
        self.line = QtGui.QFrame(self.feedbackFormPage)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.line)
        self.holdValueLabel = QtGui.QLabel(self.feedbackFormPage)
        self.holdValueLabel.setObjectName("holdValueLabel")
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.holdValueLabel)
        self.holdValueSpinBox = QtGui.QDoubleSpinBox(self.feedbackFormPage)
        self.holdValueSpinBox.setDecimals(3)
        self.holdValueSpinBox.setMinimum(-999999.0)
        self.holdValueSpinBox.setMaximum(999999.0)
        self.holdValueSpinBox.setSingleStep(0.001)
        self.holdValueSpinBox.setObjectName("holdValueSpinBox")
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.holdValueSpinBox)
        self.numberOfSamplesPerIterationLabel = QtGui.QLabel(self.feedbackFormPage)
        self.numberOfSamplesPerIterationLabel.setObjectName("numberOfSamplesPerIterationLabel")
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.numberOfSamplesPerIterationLabel)
        self.numberOfSamplesPerIterationSpinBox = QtGui.QSpinBox(self.feedbackFormPage)
        self.numberOfSamplesPerIterationSpinBox.setPrefix("")
        self.numberOfSamplesPerIterationSpinBox.setMinimum(1)
        self.numberOfSamplesPerIterationSpinBox.setMaximum(99)
        self.numberOfSamplesPerIterationSpinBox.setProperty("value", 1)
        self.numberOfSamplesPerIterationSpinBox.setObjectName("numberOfSamplesPerIterationSpinBox")
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.numberOfSamplesPerIterationSpinBox)
        self.samplingRateLabel = QtGui.QLabel(self.feedbackFormPage)
        self.samplingRateLabel.setObjectName("samplingRateLabel")
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.samplingRateLabel)
        self.samplingRateSpinBox = QtGui.QDoubleSpinBox(self.feedbackFormPage)
        self.samplingRateSpinBox.setDecimals(2)
        self.samplingRateSpinBox.setSingleStep(0.01)
        self.samplingRateSpinBox.setProperty("value", 1.0)
        self.samplingRateSpinBox.setObjectName("samplingRateSpinBox")
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.samplingRateSpinBox)
        self.numberOfPreviousSampleLabel = QtGui.QLabel(self.feedbackFormPage)
        self.numberOfPreviousSampleLabel.setObjectName("numberOfPreviousSampleLabel")
        self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.numberOfPreviousSampleLabel)
        self.numberOfPreviousSamplesSpinBox = QtGui.QSpinBox(self.feedbackFormPage)
        self.numberOfPreviousSamplesSpinBox.setPrefix("")
        self.numberOfPreviousSamplesSpinBox.setObjectName("numberOfPreviousSamplesSpinBox")
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.numberOfPreviousSamplesSpinBox)
        self.OperationLabel = QtGui.QLabel(self.feedbackFormPage)
        self.OperationLabel.setObjectName("OperationLabel")
        self.formLayout.setWidget(7, QtGui.QFormLayout.LabelRole, self.OperationLabel)
        self.operationComboBox = QtGui.QComboBox(self.feedbackFormPage)
        self.operationComboBox.setObjectName("operationComboBox")
        self.operationComboBox.addItem("")
        self.operationComboBox.addItem("")
        self.operationComboBox.addItem("")
        self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.operationComboBox)
        self.gainLabel = QtGui.QLabel(self.feedbackFormPage)
        self.gainLabel.setObjectName("gainLabel")
        self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.gainLabel)
        self.gainSpinBox = QtGui.QDoubleSpinBox(self.feedbackFormPage)
        self.gainSpinBox.setDecimals(3)
        self.gainSpinBox.setMinimum(0.001)
        self.gainSpinBox.setSingleStep(0.001)
        self.gainSpinBox.setObjectName("gainSpinBox")
        self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.gainSpinBox)
        self.offsetPvLabel = QtGui.QLabel(self.feedbackFormPage)
        self.offsetPvLabel.setObjectName("offsetPvLabel")
        self.formLayout.setWidget(9, QtGui.QFormLayout.LabelRole, self.offsetPvLabel)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.offsetPvLineEdit = QtGui.QLineEdit(self.feedbackFormPage)
        self.offsetPvLineEdit.setObjectName("offsetPvLineEdit")
        self.horizontalLayout.addWidget(self.offsetPvLineEdit)
        self.useActuatorPvButton = QtGui.QPushButton(self.feedbackFormPage)
        self.useActuatorPvButton.setObjectName("useActuatorPvButton")
        self.horizontalLayout.addWidget(self.useActuatorPvButton)
        self.formLayout.setLayout(9, QtGui.QFormLayout.FieldRole, self.horizontalLayout)
        self.upperActionLimitLabel = QtGui.QLabel(self.feedbackFormPage)
        self.upperActionLimitLabel.setObjectName("upperActionLimitLabel")
        self.formLayout.setWidget(10, QtGui.QFormLayout.LabelRole, self.upperActionLimitLabel)
        self.upperActionLimitSpinBox = QtGui.QDoubleSpinBox(self.feedbackFormPage)
        self.upperActionLimitSpinBox.setDecimals(3)
        self.upperActionLimitSpinBox.setMinimum(0.0)
        self.upperActionLimitSpinBox.setMaximum(999999.0)
        self.upperActionLimitSpinBox.setSingleStep(0.001)
        self.upperActionLimitSpinBox.setProperty("value", 100.0)
        self.upperActionLimitSpinBox.setObjectName("upperActionLimitSpinBox")
        self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.upperActionLimitSpinBox)
        self.lowerActionLimitLabel = QtGui.QLabel(self.feedbackFormPage)
        self.lowerActionLimitLabel.setObjectName("lowerActionLimitLabel")
        self.formLayout.setWidget(11, QtGui.QFormLayout.LabelRole, self.lowerActionLimitLabel)
        self.lowerActionLimitSpinBox = QtGui.QDoubleSpinBox(self.feedbackFormPage)
        self.lowerActionLimitSpinBox.setDecimals(3)
        self.lowerActionLimitSpinBox.setMinimum(0.0)
        self.lowerActionLimitSpinBox.setMaximum(999999.0)
        self.lowerActionLimitSpinBox.setSingleStep(0.001)
        self.lowerActionLimitSpinBox.setProperty("value", 0.01)
        self.lowerActionLimitSpinBox.setObjectName("lowerActionLimitSpinBox")
        self.formLayout.setWidget(11, QtGui.QFormLayout.FieldRole, self.lowerActionLimitSpinBox)
        self.line_2 = QtGui.QFrame(self.feedbackFormPage)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.formLayout.setWidget(12, QtGui.QFormLayout.LabelRole, self.line_2)
        self.numberOfIterationsLabel = QtGui.QLabel(self.feedbackFormPage)
        self.numberOfIterationsLabel.setObjectName("numberOfIterationsLabel")
        self.formLayout.setWidget(13, QtGui.QFormLayout.LabelRole, self.numberOfIterationsLabel)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.numberOfIterationsSpinBox = QtGui.QSpinBox(self.feedbackFormPage)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.numberOfIterationsSpinBox.sizePolicy().hasHeightForWidth())
        self.numberOfIterationsSpinBox.setSizePolicy(sizePolicy)
        self.numberOfIterationsSpinBox.setMaximum(999999)
        self.numberOfIterationsSpinBox.setProperty("value", 999999)
        self.numberOfIterationsSpinBox.setObjectName("numberOfIterationsSpinBox")
        self.horizontalLayout_3.addWidget(self.numberOfIterationsSpinBox)
        self.infinityButton = QtGui.QPushButton(self.feedbackFormPage)
        self.infinityButton.setObjectName("infinityButton")
        self.horizontalLayout_3.addWidget(self.infinityButton)
        self.formLayout.setLayout(13, QtGui.QFormLayout.FieldRole, self.horizontalLayout_3)
        self.pausebetweenIterationsLabel = QtGui.QLabel(self.feedbackFormPage)
        self.pausebetweenIterationsLabel.setObjectName("pausebetweenIterationsLabel")
        self.formLayout.setWidget(14, QtGui.QFormLayout.LabelRole, self.pausebetweenIterationsLabel)
        self.pauseBetweenIterationsSpinBox = QtGui.QDoubleSpinBox(self.feedbackFormPage)
        self.pauseBetweenIterationsSpinBox.setSingleStep(0.01)
        self.pauseBetweenIterationsSpinBox.setProperty("value", 2.0)
        self.pauseBetweenIterationsSpinBox.setObjectName("pauseBetweenIterationsSpinBox")
        self.formLayout.setWidget(14, QtGui.QFormLayout.FieldRole, self.pauseBetweenIterationsSpinBox)
        self.oneVariableFeedbackToolBox.addItem(self.feedbackFormPage, "")
        self.conditionTablePage = QtGui.QWidget()
        self.conditionTablePage.setGeometry(QtCore.QRect(0, 0, 618, 442))
        self.conditionTablePage.setObjectName("conditionTablePage")
        self.gridLayout_3 = QtGui.QGridLayout(self.conditionTablePage)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.conditionTableWidget = ConditionTableWidget(self.conditionTablePage)
        self.conditionTableWidget.setObjectName("conditionTableWidget")
        self.gridLayout_3.addWidget(self.conditionTableWidget, 0, 0, 1, 1)
        self.oneVariableFeedbackToolBox.addItem(self.conditionTablePage, "")
        self.page = QtGui.QWidget()
        self.page.setGeometry(QtCore.QRect(0, 0, 618, 442))
        self.page.setObjectName("page")
        self.gridLayout_4 = QtGui.QGridLayout(self.page)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.statusTextWidget = StatusTextWidget(self.page)
        self.statusTextWidget.setObjectName("statusTextWidget")
        self.gridLayout_4.addWidget(self.statusTextWidget, 0, 0, 1, 1)
        self.oneVariableFeedbackToolBox.addItem(self.page, "")
        self.gridLayout.addWidget(self.oneVariableFeedbackToolBox, 0, 0, 1, 1)
        self.actuatorPvLabel.setBuddy(self.actuatorPvLineEdit)
        self.readbackPvLabel.setBuddy(self.readbackPvLineEdit)
        self.holdValueLabel.setBuddy(self.holdValueSpinBox)
        self.numberOfSamplesPerIterationLabel.setBuddy(self.numberOfSamplesPerIterationSpinBox)
        self.samplingRateLabel.setBuddy(self.samplingRateSpinBox)
        self.numberOfPreviousSampleLabel.setBuddy(self.numberOfPreviousSamplesSpinBox)
        self.OperationLabel.setBuddy(self.operationComboBox)
        self.gainLabel.setBuddy(self.gainSpinBox)
        self.offsetPvLabel.setBuddy(self.offsetPvLineEdit)
        self.upperActionLimitLabel.setBuddy(self.upperActionLimitSpinBox)
        self.lowerActionLimitLabel.setBuddy(self.lowerActionLimitSpinBox)
        self.numberOfIterationsLabel.setBuddy(self.numberOfIterationsSpinBox)
        self.pausebetweenIterationsLabel.setBuddy(self.pauseBetweenIterationsSpinBox)

        self.retranslateUi(oneVariableFeedbackComposite)
        self.oneVariableFeedbackToolBox.setCurrentIndex(0)
        QtCore.QObject.connect(self.processControlWidget, QtCore.SIGNAL("readyWriteStandardError(QString)"), self.statusTextWidget.append)
        QtCore.QObject.connect(self.processControlWidget, QtCore.SIGNAL("readyWriteStandardOutput(QString)"), self.statusTextWidget.append)
        QtCore.QMetaObject.connectSlotsByName(oneVariableFeedbackComposite)

    def retranslateUi(self, oneVariableFeedbackComposite):
        oneVariableFeedbackComposite.setWindowTitle(QtGui.QApplication.translate("oneVariableFeedbackComposite", "One-Variable Feedback Composite", None, QtGui.QApplication.UnicodeUTF8))
        self.processControlWidget.setToolTip(QtGui.QApplication.translate("oneVariableFeedbackComposite", "Start/Pause/Resume/Stop Process", None, QtGui.QApplication.UnicodeUTF8))
        self.processControlWidget.setWhatsThis(QtGui.QApplication.translate("oneVariableFeedbackComposite", "This widget is used to control the current process.", None, QtGui.QApplication.UnicodeUTF8))
        self.actuatorPvLabel.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "&Actuator PV", None, QtGui.QApplication.UnicodeUTF8))
        self.readbackPvLabel.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "&Readback PV", None, QtGui.QApplication.UnicodeUTF8))
        self.holdValueLabel.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "&Hold Value", None, QtGui.QApplication.UnicodeUTF8))
        self.numberOfSamplesPerIterationLabel.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "&Number Of Samples Per Iteration", None, QtGui.QApplication.UnicodeUTF8))
        self.numberOfSamplesPerIterationSpinBox.setSuffix(QtGui.QApplication.translate("oneVariableFeedbackComposite", " Sample(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.samplingRateLabel.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "&Sampling Rate in Hertz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplingRateSpinBox.setSuffix(QtGui.QApplication.translate("oneVariableFeedbackComposite", " Hetz", None, QtGui.QApplication.UnicodeUTF8))
        self.numberOfPreviousSampleLabel.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "&Number Of Previous Samples", None, QtGui.QApplication.UnicodeUTF8))
        self.numberOfPreviousSamplesSpinBox.setSuffix(QtGui.QApplication.translate("oneVariableFeedbackComposite", " Sample(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.OperationLabel.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "&Operation", None, QtGui.QApplication.UnicodeUTF8))
        self.operationComboBox.setItemText(0, QtGui.QApplication.translate("oneVariableFeedbackComposite", "Average", None, QtGui.QApplication.UnicodeUTF8))
        self.operationComboBox.setItemText(1, QtGui.QApplication.translate("oneVariableFeedbackComposite", "Minimum", None, QtGui.QApplication.UnicodeUTF8))
        self.operationComboBox.setItemText(2, QtGui.QApplication.translate("oneVariableFeedbackComposite", "Maximum", None, QtGui.QApplication.UnicodeUTF8))
        self.gainLabel.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "&Gain", None, QtGui.QApplication.UnicodeUTF8))
        self.offsetPvLabel.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "&Offset PV", None, QtGui.QApplication.UnicodeUTF8))
        self.useActuatorPvButton.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "Use Actuator Pv", None, QtGui.QApplication.UnicodeUTF8))
        self.upperActionLimitLabel.setToolTip(QtGui.QApplication.translate("oneVariableFeedbackComposite", "Maximum value that can be written on the actuator at the end of an iteration", None, QtGui.QApplication.UnicodeUTF8))
        self.upperActionLimitLabel.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "&Upper Action Limit", None, QtGui.QApplication.UnicodeUTF8))
        self.lowerActionLimitLabel.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "&Lower Action Limit", None, QtGui.QApplication.UnicodeUTF8))
        self.numberOfIterationsLabel.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "&Number Of Iterations", None, QtGui.QApplication.UnicodeUTF8))
        self.numberOfIterationsSpinBox.setSuffix(QtGui.QApplication.translate("oneVariableFeedbackComposite", " Iteration(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.infinityButton.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "Infinity", None, QtGui.QApplication.UnicodeUTF8))
        self.pausebetweenIterationsLabel.setText(QtGui.QApplication.translate("oneVariableFeedbackComposite", "&Pause Between Iterations", None, QtGui.QApplication.UnicodeUTF8))
        self.pauseBetweenIterationsSpinBox.setSuffix(QtGui.QApplication.translate("oneVariableFeedbackComposite", " Second", None, QtGui.QApplication.UnicodeUTF8))
        self.oneVariableFeedbackToolBox.setItemText(self.oneVariableFeedbackToolBox.indexOf(self.feedbackFormPage), QtGui.QApplication.translate("oneVariableFeedbackComposite", "Feedback Form", None, QtGui.QApplication.UnicodeUTF8))
        self.conditionTableWidget.setToolTip(QtGui.QApplication.translate("oneVariableFeedbackComposite", "Condition table", None, QtGui.QApplication.UnicodeUTF8))
        self.conditionTableWidget.setWhatsThis(QtGui.QApplication.translate("oneVariableFeedbackComposite", "This widget displays the current condition that needs to be meet.", None, QtGui.QApplication.UnicodeUTF8))
        self.oneVariableFeedbackToolBox.setItemText(self.oneVariableFeedbackToolBox.indexOf(self.conditionTablePage), QtGui.QApplication.translate("oneVariableFeedbackComposite", "Condition Table", None, QtGui.QApplication.UnicodeUTF8))
        self.statusTextWidget.setToolTip(QtGui.QApplication.translate("oneVariableFeedbackComposite", "Current status", None, QtGui.QApplication.UnicodeUTF8))
        self.statusTextWidget.setWhatsThis(QtGui.QApplication.translate("oneVariableFeedbackComposite", "This widget displays the current status.", None, QtGui.QApplication.UnicodeUTF8))
        self.oneVariableFeedbackToolBox.setItemText(self.oneVariableFeedbackToolBox.indexOf(self.page), QtGui.QApplication.translate("oneVariableFeedbackComposite", "Feedback Status", None, QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 3
0
class Ui_ditherFeedbackComposite(object):
    def setupUi(self, ditherFeedbackComposite):
        ditherFeedbackComposite.setObjectName("ditherFeedbackComposite")
        ditherFeedbackComposite.resize(822, 594)
        self.horizontalLayout = QtGui.QHBoxLayout(ditherFeedbackComposite)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.toolBox = QtGui.QToolBox(ditherFeedbackComposite)
        self.toolBox.setObjectName("toolBox")
        self.page = QtGui.QWidget()
        self.page.setGeometry(QtCore.QRect(0, 0, 667, 489))
        self.page.setObjectName("page")
        self.formLayout = QtGui.QFormLayout(self.page)
        self.formLayout.setObjectName("formLayout")
        self.label = QtGui.QLabel(self.page)
        self.label.setObjectName("label")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.actuatorPvLineEdit = QtGui.QLineEdit(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.actuatorPvLineEdit.sizePolicy().hasHeightForWidth())
        self.actuatorPvLineEdit.setSizePolicy(sizePolicy)
        self.actuatorPvLineEdit.setMinimumSize(QtCore.QSize(10, 24))
        self.actuatorPvLineEdit.setToolTip("")
        self.actuatorPvLineEdit.setObjectName("actuatorPvLineEdit")
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.actuatorPvLineEdit)
        self.label_2 = QtGui.QLabel(self.page)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.readbackPvLineEdit = QtGui.QLineEdit(self.page)
        self.readbackPvLineEdit.setObjectName("readbackPvLineEdit")
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.readbackPvLineEdit)
        self.line_2 = QtGui.QFrame(self.page)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.line_2)
        self.label_8 = QtGui.QLabel(self.page)
        self.label_8.setObjectName("label_8")
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_8)
        self.numberOfSamplesPerIterationSpinBox = QtGui.QSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.numberOfSamplesPerIterationSpinBox.sizePolicy().hasHeightForWidth())
        self.numberOfSamplesPerIterationSpinBox.setSizePolicy(sizePolicy)
        self.numberOfSamplesPerIterationSpinBox.setMinimum(1)
        self.numberOfSamplesPerIterationSpinBox.setMaximum(99999999)
        self.numberOfSamplesPerIterationSpinBox.setProperty("value", 1)
        self.numberOfSamplesPerIterationSpinBox.setObjectName("numberOfSamplesPerIterationSpinBox")
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.numberOfSamplesPerIterationSpinBox)
        self.label_4 = QtGui.QLabel(self.page)
        self.label_4.setObjectName("label_4")
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_4)
        self.samplingRateSpinBox = QtGui.QDoubleSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.samplingRateSpinBox.sizePolicy().hasHeightForWidth())
        self.samplingRateSpinBox.setSizePolicy(sizePolicy)
        self.samplingRateSpinBox.setMinimum(0.01)
        self.samplingRateSpinBox.setProperty("value", 1.0)
        self.samplingRateSpinBox.setObjectName("samplingRateSpinBox")
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.samplingRateSpinBox)
        self.label_5 = QtGui.QLabel(self.page)
        self.label_5.setObjectName("label_5")
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_5)
        self.gainSpinBox = QtGui.QDoubleSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gainSpinBox.sizePolicy().hasHeightForWidth())
        self.gainSpinBox.setSizePolicy(sizePolicy)
        self.gainSpinBox.setDecimals(4)
        self.gainSpinBox.setObjectName("gainSpinBox")
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.gainSpinBox)
        self.label_10 = QtGui.QLabel(self.page)
        self.label_10.setObjectName("label_10")
        self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_10)
        self.upperActionLimitSpinBox = QtGui.QDoubleSpinBox(self.page)
        self.upperActionLimitSpinBox.setDecimals(3)
        self.upperActionLimitSpinBox.setMaximum(9999999.0)
        self.upperActionLimitSpinBox.setProperty("value", 999999.0)
        self.upperActionLimitSpinBox.setObjectName("upperActionLimitSpinBox")
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.upperActionLimitSpinBox)
        self.label_11 = QtGui.QLabel(self.page)
        self.label_11.setObjectName("label_11")
        self.formLayout.setWidget(7, QtGui.QFormLayout.LabelRole, self.label_11)
        self.lowerActionLimitSpinBox = QtGui.QDoubleSpinBox(self.page)
        self.lowerActionLimitSpinBox.setDecimals(3)
        self.lowerActionLimitSpinBox.setObjectName("lowerActionLimitSpinBox")
        self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.lowerActionLimitSpinBox)
        self.line = QtGui.QFrame(self.page)
        self.line.setMinimumSize(QtCore.QSize(200, 0))
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.line)
        self.label_7 = QtGui.QLabel(self.page)
        self.label_7.setObjectName("label_7")
        self.formLayout.setWidget(9, QtGui.QFormLayout.LabelRole, self.label_7)
        self.numberOfIterationsSpinBox = QtGui.QSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.numberOfIterationsSpinBox.sizePolicy().hasHeightForWidth())
        self.numberOfIterationsSpinBox.setSizePolicy(sizePolicy)
        self.numberOfIterationsSpinBox.setMaximum(99999999)
        self.numberOfIterationsSpinBox.setProperty("value", 999999)
        self.numberOfIterationsSpinBox.setObjectName("numberOfIterationsSpinBox")
        self.formLayout.setWidget(9, QtGui.QFormLayout.FieldRole, self.numberOfIterationsSpinBox)
        self.label_6 = QtGui.QLabel(self.page)
        self.label_6.setObjectName("label_6")
        self.formLayout.setWidget(10, QtGui.QFormLayout.LabelRole, self.label_6)
        self.pauseBetweenIterationsSpinBox = QtGui.QDoubleSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pauseBetweenIterationsSpinBox.sizePolicy().hasHeightForWidth())
        self.pauseBetweenIterationsSpinBox.setSizePolicy(sizePolicy)
        self.pauseBetweenIterationsSpinBox.setMinimum(0.01)
        self.pauseBetweenIterationsSpinBox.setSingleStep(0.01)
        self.pauseBetweenIterationsSpinBox.setProperty("value", 1.0)
        self.pauseBetweenIterationsSpinBox.setObjectName("pauseBetweenIterationsSpinBox")
        self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.pauseBetweenIterationsSpinBox)
        self.toolBox.addItem(self.page, "")
        self.Conditions = QtGui.QWidget()
        self.Conditions.setGeometry(QtCore.QRect(0, 0, 667, 489))
        self.Conditions.setObjectName("Conditions")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.Conditions)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.conditionTableWidget = ConditionTableWidget(self.Conditions)
        self.conditionTableWidget.setObjectName("conditionTableWidget")
        self.horizontalLayout_2.addWidget(self.conditionTableWidget)
        self.toolBox.addItem(self.Conditions, "")
        self.page_3 = QtGui.QWidget()
        self.page_3.setGeometry(QtCore.QRect(0, 0, 667, 489))
        self.page_3.setObjectName("page_3")
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.page_3)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.statusTextWidget = StatusTextWidget(self.page_3)
        self.statusTextWidget.setObjectName("statusTextWidget")
        self.horizontalLayout_3.addWidget(self.statusTextWidget)
        self.toolBox.addItem(self.page_3, "")
        self.horizontalLayout.addWidget(self.toolBox)
        self.processControlWidget = ProcessControlWidget(ditherFeedbackComposite)
        self.processControlWidget.setObjectName("processControlWidget")
        self.horizontalLayout.addWidget(self.processControlWidget)

        self.retranslateUi(ditherFeedbackComposite)
        self.toolBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(ditherFeedbackComposite)

    def retranslateUi(self, ditherFeedbackComposite):
        ditherFeedbackComposite.setWindowTitle(QtGui.QApplication.translate("ditherFeedbackComposite", "Dither Feedback Composite", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Actuator PV", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Readback Pv", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Number Of Samples Per Iteration", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Sampling Rate", None, QtGui.QApplication.UnicodeUTF8))
        self.samplingRateSpinBox.setSuffix(QtGui.QApplication.translate("ditherFeedbackComposite", " Hetz", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Gain", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Upper Action Limit", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Lower Action Limit", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Number Of Iterations", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Pause Between Iterations", None, QtGui.QApplication.UnicodeUTF8))
        self.pauseBetweenIterationsSpinBox.setSuffix(QtGui.QApplication.translate("ditherFeedbackComposite", " Second", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.page), QtGui.QApplication.translate("ditherFeedbackComposite", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.conditionTableWidget.setToolTip(QtGui.QApplication.translate("ditherFeedbackComposite", "Condition table", None, QtGui.QApplication.UnicodeUTF8))
        self.conditionTableWidget.setWhatsThis(QtGui.QApplication.translate("ditherFeedbackComposite", "This widget displays the current condition that needs to be meet.", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.Conditions), QtGui.QApplication.translate("ditherFeedbackComposite", "Conditions", None, QtGui.QApplication.UnicodeUTF8))
        self.statusTextWidget.setToolTip(QtGui.QApplication.translate("ditherFeedbackComposite", "Current status", None, QtGui.QApplication.UnicodeUTF8))
        self.statusTextWidget.setWhatsThis(QtGui.QApplication.translate("ditherFeedbackComposite", "This widget displays the current status.", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.page_3), QtGui.QApplication.translate("ditherFeedbackComposite", "Status", None, QtGui.QApplication.UnicodeUTF8))
        self.processControlWidget.setToolTip(QtGui.QApplication.translate("ditherFeedbackComposite", "Start/Pause/Resume/Stop Process", None, QtGui.QApplication.UnicodeUTF8))
        self.processControlWidget.setWhatsThis(QtGui.QApplication.translate("ditherFeedbackComposite", "This widget is used to control the current process.", None, QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 4
0
class Ui_ditherFeedbackComposite(object):
    def setupUi(self, ditherFeedbackComposite):
        ditherFeedbackComposite.setObjectName("ditherFeedbackComposite")
        ditherFeedbackComposite.resize(822, 594)
        self.horizontalLayout = QtGui.QHBoxLayout(ditherFeedbackComposite)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.toolBox = QtGui.QToolBox(ditherFeedbackComposite)
        self.toolBox.setObjectName("toolBox")
        self.page = QtGui.QWidget()
        self.page.setGeometry(QtCore.QRect(0, 0, 798, 489))
        self.page.setObjectName("page")
        self.formLayout = QtGui.QFormLayout(self.page)
        self.formLayout.setObjectName("formLayout")
        self.nameLabel = QtGui.QLabel(self.page)
        self.nameLabel.setObjectName("nameLabel")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.nameLabel)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.nameLineEdit = QtGui.QLineEdit(self.page)
        self.nameLineEdit.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.nameLineEdit.sizePolicy().hasHeightForWidth())
        self.nameLineEdit.setSizePolicy(sizePolicy)
        self.nameLineEdit.setMinimumSize(QtCore.QSize(10, 24))
        self.nameLineEdit.setToolTip("")
        self.nameLineEdit.setText("")
        self.nameLineEdit.setObjectName("nameLineEdit")
        self.horizontalLayout_4.addWidget(self.nameLineEdit)
        self.lockedCheckBox = QtGui.QCheckBox(self.page)
        self.lockedCheckBox.setChecked(True)
        self.lockedCheckBox.setObjectName("lockedCheckBox")
        self.horizontalLayout_4.addWidget(self.lockedCheckBox)
        self.formLayout.setLayout(0, QtGui.QFormLayout.FieldRole, self.horizontalLayout_4)
        self.actuatorPvLlabel = QtGui.QLabel(self.page)
        self.actuatorPvLlabel.setObjectName("actuatorPvLlabel")
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.actuatorPvLlabel)
        self.actuatorPvLineEdit = QtGui.QLineEdit(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.actuatorPvLineEdit.sizePolicy().hasHeightForWidth())
        self.actuatorPvLineEdit.setSizePolicy(sizePolicy)
        self.actuatorPvLineEdit.setMinimumSize(QtCore.QSize(10, 24))
        self.actuatorPvLineEdit.setToolTip("")
        self.actuatorPvLineEdit.setObjectName("actuatorPvLineEdit")
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.actuatorPvLineEdit)
        self.readbackPvLabel = QtGui.QLabel(self.page)
        self.readbackPvLabel.setObjectName("readbackPvLabel")
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.readbackPvLabel)
        self.readbackPvLineEdit = QtGui.QLineEdit(self.page)
        self.readbackPvLineEdit.setObjectName("readbackPvLineEdit")
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.readbackPvLineEdit)
        self.numberOfSamplesPerIterationLabel = QtGui.QLabel(self.page)
        self.numberOfSamplesPerIterationLabel.setObjectName("numberOfSamplesPerIterationLabel")
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.numberOfSamplesPerIterationLabel)
        self.numberOfSamplesPerIterationSpinBox = QtGui.QSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.numberOfSamplesPerIterationSpinBox.sizePolicy().hasHeightForWidth())
        self.numberOfSamplesPerIterationSpinBox.setSizePolicy(sizePolicy)
        self.numberOfSamplesPerIterationSpinBox.setMinimum(1)
        self.numberOfSamplesPerIterationSpinBox.setMaximum(99999999)
        self.numberOfSamplesPerIterationSpinBox.setProperty("value", 1)
        self.numberOfSamplesPerIterationSpinBox.setObjectName("numberOfSamplesPerIterationSpinBox")
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.numberOfSamplesPerIterationSpinBox)
        self.samplingRateLlabel = QtGui.QLabel(self.page)
        self.samplingRateLlabel.setObjectName("samplingRateLlabel")
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.samplingRateLlabel)
        self.samplingRateSpinBox = QtGui.QDoubleSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.samplingRateSpinBox.sizePolicy().hasHeightForWidth())
        self.samplingRateSpinBox.setSizePolicy(sizePolicy)
        self.samplingRateSpinBox.setMinimum(0.01)
        self.samplingRateSpinBox.setProperty("value", 1.0)
        self.samplingRateSpinBox.setObjectName("samplingRateSpinBox")
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.samplingRateSpinBox)
        self.gainLabel = QtGui.QLabel(self.page)
        self.gainLabel.setObjectName("gainLabel")
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.gainLabel)
        self.gainSpinBox = QtGui.QDoubleSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gainSpinBox.sizePolicy().hasHeightForWidth())
        self.gainSpinBox.setSizePolicy(sizePolicy)
        self.gainSpinBox.setDecimals(4)
        self.gainSpinBox.setObjectName("gainSpinBox")
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.gainSpinBox)
        self.upperActionLimit = QtGui.QLabel(self.page)
        self.upperActionLimit.setObjectName("upperActionLimit")
        self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.upperActionLimit)
        self.upperActionLimitSpinBox = QtGui.QDoubleSpinBox(self.page)
        self.upperActionLimitSpinBox.setDecimals(3)
        self.upperActionLimitSpinBox.setMaximum(9999999.0)
        self.upperActionLimitSpinBox.setProperty("value", 999999.0)
        self.upperActionLimitSpinBox.setObjectName("upperActionLimitSpinBox")
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.upperActionLimitSpinBox)
        self.lowerActionLimitLabel = QtGui.QLabel(self.page)
        self.lowerActionLimitLabel.setObjectName("lowerActionLimitLabel")
        self.formLayout.setWidget(7, QtGui.QFormLayout.LabelRole, self.lowerActionLimitLabel)
        self.lowerActionLimitSpinBox = QtGui.QDoubleSpinBox(self.page)
        self.lowerActionLimitSpinBox.setDecimals(3)
        self.lowerActionLimitSpinBox.setObjectName("lowerActionLimitSpinBox")
        self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.lowerActionLimitSpinBox)
        self.numberOfIteationsLabel = QtGui.QLabel(self.page)
        self.numberOfIteationsLabel.setObjectName("numberOfIteationsLabel")
        self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.numberOfIteationsLabel)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.numberOfIterationsSpinBox = QtGui.QSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.numberOfIterationsSpinBox.sizePolicy().hasHeightForWidth())
        self.numberOfIterationsSpinBox.setSizePolicy(sizePolicy)
        self.numberOfIterationsSpinBox.setMaximum(99999999)
        self.numberOfIterationsSpinBox.setProperty("value", 999999)
        self.numberOfIterationsSpinBox.setObjectName("numberOfIterationsSpinBox")
        self.horizontalLayout_5.addWidget(self.numberOfIterationsSpinBox)
        self.infinityButton = QtGui.QPushButton(self.page)
        self.infinityButton.setObjectName("infinityButton")
        self.horizontalLayout_5.addWidget(self.infinityButton)
        self.formLayout.setLayout(8, QtGui.QFormLayout.FieldRole, self.horizontalLayout_5)
        self.pauseBetweenIterationLabel = QtGui.QLabel(self.page)
        self.pauseBetweenIterationLabel.setObjectName("pauseBetweenIterationLabel")
        self.formLayout.setWidget(9, QtGui.QFormLayout.LabelRole, self.pauseBetweenIterationLabel)
        self.pauseBetweenIterationsSpinBox = QtGui.QDoubleSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pauseBetweenIterationsSpinBox.sizePolicy().hasHeightForWidth())
        self.pauseBetweenIterationsSpinBox.setSizePolicy(sizePolicy)
        self.pauseBetweenIterationsSpinBox.setMinimum(0.01)
        self.pauseBetweenIterationsSpinBox.setSingleStep(0.01)
        self.pauseBetweenIterationsSpinBox.setProperty("value", 1.0)
        self.pauseBetweenIterationsSpinBox.setObjectName("pauseBetweenIterationsSpinBox")
        self.formLayout.setWidget(9, QtGui.QFormLayout.FieldRole, self.pauseBetweenIterationsSpinBox)
        self.configurationFileLabel = QtGui.QLabel(self.page)
        self.configurationFileLabel.setObjectName("configurationFileLabel")
        self.formLayout.setWidget(11, QtGui.QFormLayout.LabelRole, self.configurationFileLabel)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.configurationFileLineEdit = QtGui.QLineEdit(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.configurationFileLineEdit.sizePolicy().hasHeightForWidth())
        self.configurationFileLineEdit.setSizePolicy(sizePolicy)
        self.configurationFileLineEdit.setMinimumSize(QtCore.QSize(10, 24))
        self.configurationFileLineEdit.setToolTip("")
        self.configurationFileLineEdit.setText("")
        self.configurationFileLineEdit.setObjectName("configurationFileLineEdit")
        self.horizontalLayout_6.addWidget(self.configurationFileLineEdit)
        self.pickConfigurationFileButton = QtGui.QPushButton(self.page)
        self.pickConfigurationFileButton.setObjectName("pickConfigurationFileButton")
        self.horizontalLayout_6.addWidget(self.pickConfigurationFileButton)
        self.formLayout.setLayout(11, QtGui.QFormLayout.FieldRole, self.horizontalLayout_6)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.saveButton = QtGui.QPushButton(self.page)
        self.saveButton.setObjectName("saveButton")
        self.horizontalLayout_7.addWidget(self.saveButton)
        self.loadButton = QtGui.QPushButton(self.page)
        self.loadButton.setObjectName("loadButton")
        self.horizontalLayout_7.addWidget(self.loadButton)
        self.formLayout.setLayout(12, QtGui.QFormLayout.FieldRole, self.horizontalLayout_7)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.formLayout.setItem(10, QtGui.QFormLayout.LabelRole, spacerItem)
        self.toolBox.addItem(self.page, "")
        self.Conditions = QtGui.QWidget()
        self.Conditions.setGeometry(QtCore.QRect(0, 0, 798, 489))
        self.Conditions.setObjectName("Conditions")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.Conditions)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.conditionTableWidget = ConditionTableWidget(self.Conditions)
        self.conditionTableWidget.setObjectName("conditionTableWidget")
        self.horizontalLayout_2.addWidget(self.conditionTableWidget)
        self.toolBox.addItem(self.Conditions, "")
        self.page_3 = QtGui.QWidget()
        self.page_3.setGeometry(QtCore.QRect(0, 0, 798, 489))
        self.page_3.setObjectName("page_3")
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.page_3)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.statusTextWidget = StatusTextWidget(self.page_3)
        self.statusTextWidget.setObjectName("statusTextWidget")
        self.horizontalLayout_3.addWidget(self.statusTextWidget)
        self.toolBox.addItem(self.page_3, "")
        self.horizontalLayout.addWidget(self.toolBox)
        self.processControlWidget = ProcessControlWidget(ditherFeedbackComposite)
        self.processControlWidget.setObjectName("processControlWidget")
        self.horizontalLayout.addWidget(self.processControlWidget)

        self.retranslateUi(ditherFeedbackComposite)
        self.toolBox.setCurrentIndex(0)
        QtCore.QObject.connect(self.lockedCheckBox, QtCore.SIGNAL("toggled(bool)"), self.nameLineEdit.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(ditherFeedbackComposite)

    def retranslateUi(self, ditherFeedbackComposite):
        ditherFeedbackComposite.setWindowTitle(QtGui.QApplication.translate("ditherFeedbackComposite", "Dither Feedback Composite", None, QtGui.QApplication.UnicodeUTF8))
        self.nameLabel.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.lockedCheckBox.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "&Locked", None, QtGui.QApplication.UnicodeUTF8))
        self.actuatorPvLlabel.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Actuator PV", None, QtGui.QApplication.UnicodeUTF8))
        self.readbackPvLabel.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Readback Pv", None, QtGui.QApplication.UnicodeUTF8))
        self.numberOfSamplesPerIterationLabel.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Number Of Samples Per Iteration", None, QtGui.QApplication.UnicodeUTF8))
        self.samplingRateLlabel.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Sampling Rate", None, QtGui.QApplication.UnicodeUTF8))
        self.samplingRateSpinBox.setSuffix(QtGui.QApplication.translate("ditherFeedbackComposite", " Hetz", None, QtGui.QApplication.UnicodeUTF8))
        self.gainLabel.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Gain", None, QtGui.QApplication.UnicodeUTF8))
        self.upperActionLimit.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Upper Action Limit", None, QtGui.QApplication.UnicodeUTF8))
        self.lowerActionLimitLabel.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Lower Action Limit", None, QtGui.QApplication.UnicodeUTF8))
        self.numberOfIteationsLabel.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Number Of Iterations", None, QtGui.QApplication.UnicodeUTF8))
        self.infinityButton.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "&Infinity", None, QtGui.QApplication.UnicodeUTF8))
        self.pauseBetweenIterationLabel.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Pause Between Iterations", None, QtGui.QApplication.UnicodeUTF8))
        self.pauseBetweenIterationsSpinBox.setSuffix(QtGui.QApplication.translate("ditherFeedbackComposite", " Second", None, QtGui.QApplication.UnicodeUTF8))
        self.configurationFileLabel.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "Configuration File", None, QtGui.QApplication.UnicodeUTF8))
        self.pickConfigurationFileButton.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "&Pick File", None, QtGui.QApplication.UnicodeUTF8))
        self.saveButton.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "&Save Configuration", None, QtGui.QApplication.UnicodeUTF8))
        self.loadButton.setText(QtGui.QApplication.translate("ditherFeedbackComposite", "&Load Configuration", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.page), QtGui.QApplication.translate("ditherFeedbackComposite", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.conditionTableWidget.setToolTip(QtGui.QApplication.translate("ditherFeedbackComposite", "Condition table", None, QtGui.QApplication.UnicodeUTF8))
        self.conditionTableWidget.setWhatsThis(QtGui.QApplication.translate("ditherFeedbackComposite", "This widget displays the current condition that needs to be meet.", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.Conditions), QtGui.QApplication.translate("ditherFeedbackComposite", "Conditions", None, QtGui.QApplication.UnicodeUTF8))
        self.statusTextWidget.setToolTip(QtGui.QApplication.translate("ditherFeedbackComposite", "Current status", None, QtGui.QApplication.UnicodeUTF8))
        self.statusTextWidget.setWhatsThis(QtGui.QApplication.translate("ditherFeedbackComposite", "This widget displays the current status.", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.page_3), QtGui.QApplication.translate("ditherFeedbackComposite", "Status", None, QtGui.QApplication.UnicodeUTF8))
        self.processControlWidget.setToolTip(QtGui.QApplication.translate("ditherFeedbackComposite", "Start/Pause/Resume/Stop Process", None, QtGui.QApplication.UnicodeUTF8))
        self.processControlWidget.setWhatsThis(QtGui.QApplication.translate("ditherFeedbackComposite", "This widget is used to control the current process.", None, QtGui.QApplication.UnicodeUTF8))