class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(640, 480)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.driftalert = QtGui.QCheckBox(self.centralwidget)
        self.driftalert.setGeometry(QtCore.QRect(320, 330, 71, 18))
        self.driftalert.setObjectName(_fromUtf8("driftalert"))
        self.trapalert = QtGui.QCheckBox(self.centralwidget)
        self.trapalert.setGeometry(QtCore.QRect(320, 350, 91, 18))
        self.trapalert.setObjectName(_fromUtf8("trapalert"))
        self.emailinput = QtGui.QLineEdit(self.centralwidget)
        self.emailinput.setGeometry(QtCore.QRect(320, 370, 131, 20))
        self.emailinput.setObjectName(_fromUtf8("emailinput"))
        self.verticalLayoutWidget = QtGui.QWidget(self.centralwidget)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(460, 330, 160, 91))
        self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
        self.buttons = QtGui.QVBoxLayout(self.verticalLayoutWidget)
        self.buttons.setObjectName(_fromUtf8("buttons"))
        self.startdisplay = QtGui.QPushButton(self.verticalLayoutWidget)
        self.startdisplay.setObjectName(_fromUtf8("startdisplay"))
        self.buttons.addWidget(self.startdisplay)
        self.savedisplay = QtGui.QPushButton(self.verticalLayoutWidget)
        self.savedisplay.setObjectName(_fromUtf8("savedisplay"))
        self.buttons.addWidget(self.savedisplay)
        self.stopdisplay = QtGui.QPushButton(self.verticalLayoutWidget)
        self.stopdisplay.setObjectName(_fromUtf8("stopdisplay"))
        self.buttons.addWidget(self.stopdisplay)
        self.displaywindow = DataDisplay(self.centralwidget)
        self.displaywindow.setGeometry(QtCore.QRect(40, 20, 551, 301))
        self.displaywindow.setObjectName(_fromUtf8("displaywindow"))
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 640, 18))
        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)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.driftalert.setText(_translate("MainWindow", "Drift Alert", None))
        self.trapalert.setText(_translate("MainWindow", "Trapping Alert", None))
        self.startdisplay.setText(_translate("MainWindow", "Start Display", None))
        self.savedisplay.setText(_translate("MainWindow", "Save Display", None))
        self.stopdisplay.setText(_translate("MainWindow", "Stop Display", None))
示例#2
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(640, 480)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setGeometry(QtCore.QRect(0, 0, 641, 461))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName(_fromUtf8("tab_3"))
        self.driftpercent = QtGui.QLineEdit(self.tab_3)
        self.driftpercent.setGeometry(QtCore.QRect(170, 340, 41, 20))
        self.driftpercent.setObjectName(_fromUtf8("driftpercent"))
        self.label_3 = QtGui.QLabel(self.tab_3)
        self.label_3.setGeometry(QtCore.QRect(70, 360, 91, 20))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.trappercent = QtGui.QLineEdit(self.tab_3)
        self.trappercent.setGeometry(QtCore.QRect(170, 360, 41, 20))
        self.trappercent.setObjectName(_fromUtf8("trappercent"))
        self.verticalLayoutWidget = QtGui.QWidget(self.tab_3)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(440, 320, 160, 91))
        self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
        self.buttons = QtGui.QVBoxLayout(self.verticalLayoutWidget)
        self.buttons.setObjectName(_fromUtf8("buttons"))
        self.startdisplay = QtGui.QPushButton(self.verticalLayoutWidget)
        self.startdisplay.setObjectName(_fromUtf8("startdisplay"))
        self.buttons.addWidget(self.startdisplay)
        self.savedisplay = QtGui.QPushButton(self.verticalLayoutWidget)
        self.savedisplay.setObjectName(_fromUtf8("savedisplay"))
        self.buttons.addWidget(self.savedisplay)
        self.stopdisplay = QtGui.QPushButton(self.verticalLayoutWidget)
        self.stopdisplay.setObjectName(_fromUtf8("stopdisplay"))
        self.buttons.addWidget(self.stopdisplay)
        self.trapalert = QtGui.QCheckBox(self.tab_3)
        self.trapalert.setGeometry(QtCore.QRect(300, 340, 91, 18))
        self.trapalert.setObjectName(_fromUtf8("trapalert"))
        self.displaywindow = DataDisplay(self.tab_3)
        self.displaywindow.setGeometry(QtCore.QRect(20, 10, 551, 301))
        self.displaywindow.setObjectName(_fromUtf8("displaywindow"))
        self.label = QtGui.QLabel(self.tab_3)
        self.label.setGeometry(QtCore.QRect(230, 360, 61, 20))
        self.label.setObjectName(_fromUtf8("label"))
        self.emailinput = QtGui.QLineEdit(self.tab_3)
        self.emailinput.setGeometry(QtCore.QRect(300, 360, 131, 20))
        self.emailinput.setObjectName(_fromUtf8("emailinput"))
        self.label_2 = QtGui.QLabel(self.tab_3)
        self.label_2.setGeometry(QtCore.QRect(70, 340, 91, 20))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.driftalert = QtGui.QCheckBox(self.tab_3)
        self.driftalert.setGeometry(QtCore.QRect(300, 320, 71, 18))
        self.driftalert.setObjectName(_fromUtf8("driftalert"))
        self.frequencyinput = QtGui.QLineEdit(self.tab_3)
        self.frequencyinput.setGeometry(QtCore.QRect(120, 380, 91, 20))
        self.frequencyinput.setObjectName(_fromUtf8("frequencyinput"))
        self.label_6 = QtGui.QLabel(self.tab_3)
        self.label_6.setGeometry(QtCore.QRect(10, 380, 111, 16))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.errortext = QtGui.QLineEdit(self.tab_3)
        self.errortext.setGeometry(QtCore.QRect(100, 320, 181, 20))
        self.errortext.setObjectName(_fromUtf8("errortext"))
        self.label_8 = QtGui.QLabel(self.tab_3)
        self.label_8.setGeometry(QtCore.QRect(40, 320, 61, 16))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
        self.tab_4 = QtGui.QWidget()
        self.tab_4.setObjectName(_fromUtf8("tab_4"))
        self.sweepwindow = DataDisplay(self.tab_4)
        self.sweepwindow.setGeometry(QtCore.QRect(30, 10, 551, 301))
        self.sweepwindow.setObjectName(_fromUtf8("sweepwindow"))
        self.startsweepbutton = QtGui.QPushButton(self.tab_4)
        self.startsweepbutton.setGeometry(QtCore.QRect(490, 320, 111, 23))
        self.startsweepbutton.setObjectName(_fromUtf8("startsweepbutton"))
        self.stopsweepbutton = QtGui.QPushButton(self.tab_4)
        self.stopsweepbutton.setGeometry(QtCore.QRect(490, 350, 111, 23))
        self.stopsweepbutton.setObjectName(_fromUtf8("stopsweepbutton"))
        self.savesweepbutton = QtGui.QPushButton(self.tab_4)
        self.savesweepbutton.setGeometry(QtCore.QRect(490, 380, 111, 23))
        self.savesweepbutton.setObjectName(_fromUtf8("savesweepbutton"))
        self.starttemp = QtGui.QLineEdit(self.tab_4)
        self.starttemp.setGeometry(QtCore.QRect(420, 320, 51, 20))
        self.starttemp.setObjectName(_fromUtf8("starttemp"))
        self.stoptemp = QtGui.QLineEdit(self.tab_4)
        self.stoptemp.setGeometry(QtCore.QRect(420, 340, 51, 20))
        self.stoptemp.setObjectName(_fromUtf8("stoptemp"))
        self.label_4 = QtGui.QLabel(self.tab_4)
        self.label_4.setGeometry(QtCore.QRect(260, 320, 151, 20))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.label_5 = QtGui.QLabel(self.tab_4)
        self.label_5.setGeometry(QtCore.QRect(260, 340, 151, 16))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.sweepfreqinput = QtGui.QLineEdit(self.tab_4)
        self.sweepfreqinput.setGeometry(QtCore.QRect(380, 360, 91, 20))
        self.sweepfreqinput.setObjectName(_fromUtf8("sweepfreqinput"))
        self.label_7 = QtGui.QLabel(self.tab_4)
        self.label_7.setGeometry(QtCore.QRect(260, 360, 111, 16))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.sweepmoduloinput = QtGui.QLineEdit(self.tab_4)
        self.sweepmoduloinput.setGeometry(QtCore.QRect(320, 380, 21, 20))
        self.sweepmoduloinput.setObjectName(_fromUtf8("sweepmoduloinput"))
        self.label_9 = QtGui.QLabel(self.tab_4)
        self.label_9.setGeometry(QtCore.QRect(190, 380, 131, 20))
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.label_10 = QtGui.QLabel(self.tab_4)
        self.label_10.setGeometry(QtCore.QRect(340, 380, 81, 21))
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.tabWidget.addTab(self.tab_4, _fromUtf8(""))
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 640, 18))
        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)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.label_3.setText(_translate("MainWindow", "Trap Threshold(%)", None))
        self.startdisplay.setText(_translate("MainWindow", "Start Display", None))
        self.savedisplay.setText(_translate("MainWindow", "Save Display", None))
        self.stopdisplay.setText(_translate("MainWindow", "Stop Display", None))
        self.trapalert.setText(_translate("MainWindow", "Trapping Alert", None))
        self.label.setText(_translate("MainWindow", "Enter email:", None))
        self.label_2.setText(_translate("MainWindow", "Drift Threshold(%)", None))
        self.driftalert.setText(_translate("MainWindow", "Drift Alert", None))
        self.label_6.setText(_translate("MainWindow", "Sample Frequency(Hz)", None))
        self.label_8.setText(_translate("MainWindow", "Error Status", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Tab 1", None))
        self.startsweepbutton.setText(_translate("MainWindow", "Start Sweep", None))
        self.stopsweepbutton.setText(_translate("MainWindow", "Stop Sweep", None))
        self.savesweepbutton.setText(_translate("MainWindow", "Save Graph", None))
        self.label_4.setText(_translate("MainWindow", "Starting Temperature(Celcius)", None))
        self.label_5.setText(_translate("MainWindow", "Stopping Temperature(Celcius)", None))
        self.label_7.setText(_translate("MainWindow", "Sample Frequency(Hz)", None))
        self.label_9.setText(_translate("MainWindow", "Increment by 0.1°C every ", None))
        self.label_10.setText(_translate("MainWindow", "*0.5 seconds", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("MainWindow", "Tab 2", None))