コード例 #1
0
class Ui_xVariableFeedbackComposite(object):
    def setupUi(self, xVariableFeedbackComposite):
        xVariableFeedbackComposite.setObjectName("xVariableFeedbackComposite")
        xVariableFeedbackComposite.resize(665, 576)
        self.gridLayout = QtGui.QGridLayout(xVariableFeedbackComposite)
        self.gridLayout.setObjectName("gridLayout")
        self.xVariableFeedbackToolBox = QtGui.QToolBox(xVariableFeedbackComposite)
        self.xVariableFeedbackToolBox.setFrameShape(QtGui.QFrame.NoFrame)
        self.xVariableFeedbackToolBox.setObjectName("xVariableFeedbackToolBox")
        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.xVariableFeedbackFormWidget = XVariableFeedbackFormWidget(self.feedbackFormPage)
        self.xVariableFeedbackFormWidget.setObjectName("xVariableFeedbackFormWidget")
        self.gridLayout_2.addWidget(self.xVariableFeedbackFormWidget, 0, 0, 1, 1)
        self.xVariableFeedbackToolBox.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.xVariableFeedbackToolBox.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.xVariableFeedbackToolBox.addItem(self.page, "")
        self.gridLayout.addWidget(self.xVariableFeedbackToolBox, 0, 0, 1, 1)
        self.processControlWidget = ProcessControlWidget(xVariableFeedbackComposite)
        self.processControlWidget.setObjectName("processControlWidget")
        self.gridLayout.addWidget(self.processControlWidget, 0, 1, 1, 1)

        self.retranslateUi(xVariableFeedbackComposite)
        self.xVariableFeedbackToolBox.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(xVariableFeedbackComposite)

    def retranslateUi(self, xVariableFeedbackComposite):
        xVariableFeedbackComposite.setWindowTitle(QtGui.QApplication.translate("xVariableFeedbackComposite", "X-Variable Feedback Composite", None, QtGui.QApplication.UnicodeUTF8))
        self.xVariableFeedbackFormWidget.setToolTip(QtGui.QApplication.translate("xVariableFeedbackComposite", "X-Variable Feedback Parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.xVariableFeedbackFormWidget.setWhatsThis(QtGui.QApplication.translate("xVariableFeedbackComposite", "This widget allows you to enter your x-variable feedback paramaters.", None, QtGui.QApplication.UnicodeUTF8))
        self.xVariableFeedbackToolBox.setItemText(self.xVariableFeedbackToolBox.indexOf(self.feedbackFormPage), QtGui.QApplication.translate("xVariableFeedbackComposite", "Feedback Form", None, QtGui.QApplication.UnicodeUTF8))
        self.conditionTableWidget.setToolTip(QtGui.QApplication.translate("xVariableFeedbackComposite", "Condition table", None, QtGui.QApplication.UnicodeUTF8))
        self.conditionTableWidget.setWhatsThis(QtGui.QApplication.translate("xVariableFeedbackComposite", "This widget displays the current condition that needs to be meet.", None, QtGui.QApplication.UnicodeUTF8))
        self.xVariableFeedbackToolBox.setItemText(self.xVariableFeedbackToolBox.indexOf(self.conditionTablePage), QtGui.QApplication.translate("xVariableFeedbackComposite", "Condition Table", None, QtGui.QApplication.UnicodeUTF8))
        self.statusTextWidget.setToolTip(QtGui.QApplication.translate("xVariableFeedbackComposite", "Current status", None, QtGui.QApplication.UnicodeUTF8))
        self.statusTextWidget.setWhatsThis(QtGui.QApplication.translate("xVariableFeedbackComposite", "This widget displays the current status.", None, QtGui.QApplication.UnicodeUTF8))
        self.xVariableFeedbackToolBox.setItemText(self.xVariableFeedbackToolBox.indexOf(self.page), QtGui.QApplication.translate("xVariableFeedbackComposite", "Feedback Status", None, QtGui.QApplication.UnicodeUTF8))
        self.processControlWidget.setToolTip(QtGui.QApplication.translate("xVariableFeedbackComposite", "Start/Pause/Resume/Stop Process", None, QtGui.QApplication.UnicodeUTF8))
        self.processControlWidget.setWhatsThis(QtGui.QApplication.translate("xVariableFeedbackComposite", "This widget is used to control the current process.", None, QtGui.QApplication.UnicodeUTF8))
コード例 #2
0
    def setupUi(self, xVariableFeedbackComposite):
        xVariableFeedbackComposite.setObjectName("xVariableFeedbackComposite")
        xVariableFeedbackComposite.resize(665, 576)
        self.gridLayout = QtGui.QGridLayout(xVariableFeedbackComposite)
        self.gridLayout.setObjectName("gridLayout")
        self.xVariableFeedbackToolBox = QtGui.QToolBox(xVariableFeedbackComposite)
        self.xVariableFeedbackToolBox.setFrameShape(QtGui.QFrame.NoFrame)
        self.xVariableFeedbackToolBox.setObjectName("xVariableFeedbackToolBox")
        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.xVariableFeedbackFormWidget = XVariableFeedbackFormWidget(self.feedbackFormPage)
        self.xVariableFeedbackFormWidget.setObjectName("xVariableFeedbackFormWidget")
        self.gridLayout_2.addWidget(self.xVariableFeedbackFormWidget, 0, 0, 1, 1)
        self.xVariableFeedbackToolBox.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.xVariableFeedbackToolBox.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.xVariableFeedbackToolBox.addItem(self.page, "")
        self.gridLayout.addWidget(self.xVariableFeedbackToolBox, 0, 0, 1, 1)
        self.processControlWidget = ProcessControlWidget(xVariableFeedbackComposite)
        self.processControlWidget.setObjectName("processControlWidget")
        self.gridLayout.addWidget(self.processControlWidget, 0, 1, 1, 1)

        self.retranslateUi(xVariableFeedbackComposite)
        self.xVariableFeedbackToolBox.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(xVariableFeedbackComposite)