Commits

Richard Gerkin committed bf7153a

Made Master subclass Ui_MainWindow and QObject

  • Participants
  • Parent commits 41bc7d1

Comments (0)

Files changed (5)

 import time
 import os
-import outside_events.micro as outside_events
+#import outside_events.micro as outside_events
+import outside_events as outside_events
 # Change to "import outside_events.micro as outside_events" to use the microcontroller.  
 
 

File __main2__.py

 from __init__ import *
 import Phase1, Phase3, Box_Test
 
-USE_QT_DESIGNER = True
-
 class Communicate(QtCore.QObject):
     '''
     not used at the moment
     headEntry = QtCore.pyqtSignal()
     reinforce = QtCore.pyqtSignal()
     
-class Master(object):
+class Master(QtCore.QObject,Ui_MainWindow):
     def __init__(self,main_window):
+        super(Master,self).__init__()
         self.main_window = main_window
         self.central_widget = main_window.centralWidget()
+        self.setupUi(main_window)
         self.c = Communicate()
         self.initVars()
         
 
     def timingInit(self):
         self.timer = QtCore.QBasicTimer()
-        #self.timer.start(10, self) #this starts the timer
-        self.timer.start(10,self.main_window) #this will get the timer 'started', but then doesn't activate the timer event
+        self.timer.start(10, self) #this starts the timer
+        #self.timer.start(10,self.central_widget) #this will get the timer 'started', but then doesn't activate the timer event
         self.iTime = RunInternalTimer()
 #        print(self.curTrialTime)
         
             self.bBoxTest == self.curPhase.update()
         self.updateDisplay()
 
-def initUI(widget):
-    """All of this should be moved into Qt Designer and auto generated."""
-    widget.btnHead = QtGui.QPushButton('Sim Head Entry', widget)
-    widget.btnResp = QtGui.QPushButton('Sim Lick', widget)
-    widget.btnClose = QtGui.QPushButton('Close', widget)
-    
-    widget.btnStartPhase1 = QtGui.QPushButton('Start Phase 1')
-    widget.btnStartPhase3 = QtGui.QPushButton('Start Phase 3')
-#     
-    widget.lblTimeLabel = QtGui.QLabel(widget)
-    widget.lcdTimeCnt = QtGui.QLCDNumber(widget)
-    for i in range(20):
-        setattr(widget,'lblEct%d' % (i+1),QtGui.QLabel(widget))
-    
-    vbox = QtGui.QVBoxLayout()
-    vbox.addWidget(widget.lblTimeLabel)
-    vbox.addWidget(widget.lcdTimeCnt)
-    vbox.addWidget(widget.btnResp)
-    vbox.addWidget(widget.btnHead)
-    vbox.addWidget(widget.btnStartPhase1)
-    vbox.addWidget(widget.btnStartPhase3)
-
-    for i in range(20):
-        vbox.addWidget(getattr(widget,'lblEct%d' % (i+1)))
-    vbox.addWidget(widget.btnClose)
-
-    widget.lblTimeLabel.setText('Session Time (s)')
-    
-    widget.btnHead.setEnabled(False)
-    widget.btnResp.setEnabled(False)
-
-    #widget.btnStartPhase1.setEnabled(False)
-    widget.setLayout(vbox)
-    widget.setGeometry(300, 300, 300, 300)
-    widget.setWindowTitle('Main')
-
 def initConnect(widget,master):
+    """Connect UI buttons to events."""
     widget.btnResp.clicked.connect(master.respBtnClicked)
     widget.btnClose.clicked.connect(master.quitApp)
     widget.btnHead.clicked.connect(master.headEntryBtnClicked)
     widget.btnBoxTest.clicked.connect(master.startBoxTest)
     widget.btnDeliverR.clicked.connect(master.deliverReinf)    
 
-
-
 def main():
     """The entry point to the application"""
     app = QtGui.QApplication(sys.argv)
     main_window = QtGui.QMainWindow()
-    ui = Ui_MainWindow()
-    ui.setupUi(main_window)
-# central_widget isn't neccesary, as all the buttons are under the ui
-#    central_widget = main_window.centralWidget()  
-    #initUI(central_widget)
+    #ui = Ui_MainWindow()
+    #ui.setupUi(main_window)
+#   central_widget isn't neccesary, as all the buttons are under the ui
+    #central_widget = main_window.centralWidget()  
     master = Master(main_window)
-#    initConnect(central_widget,master)    
-    initConnect(ui,master)
+    initConnect(master,master)    
+    #initConnect(ui,master)
     main_window.show()
     sys.exit(app.exec_())
 
 Sat Jul 06 19:50:02 2013
 mouse
 experiment
+anonymous
+new Session
+Sat Jul  6 21:40:22 2013
+mouse
+experiment
 anonymous

File outside_events/__init__.pyc

Binary file removed.
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'gui.ui'
-#
-# Created: Sat Jul 06 19:49:59 2013
-#      by: PyQt4 UI code generator 4.9.6
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt4 import QtCore, QtGui
-
-try:
-    _fromUtf8 = QtCore.QString.fromUtf8
-except AttributeError:
-    def _fromUtf8(s):
-        return s
-
-try:
-    _encoding = QtGui.QApplication.UnicodeUTF8
-    def _translate(context, text, disambig):
-        return QtGui.QApplication.translate(context, text, disambig, _encoding)
-except AttributeError:
-    def _translate(context, text, disambig):
-        return QtGui.QApplication.translate(context, text, disambig)
-
-class Ui_MainWindow(object):
-    def setupUi(self, MainWindow):
-        MainWindow.setObjectName(_fromUtf8("MainWindow"))
-        MainWindow.resize(800, 600)
-        self.centralwidget = QtGui.QWidget(MainWindow)
-        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
-        self.lcdTimeCnt = QtGui.QLCDNumber(self.centralwidget)
-        self.lcdTimeCnt.setGeometry(QtCore.QRect(730, 10, 64, 23))
-        self.lcdTimeCnt.setObjectName(_fromUtf8("lcdTimeCnt"))
-        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
-        self.tabWidget.setGeometry(QtCore.QRect(20, 10, 441, 541))
-        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
-        self.tabSetup = QtGui.QWidget()
-        self.tabSetup.setObjectName(_fromUtf8("tabSetup"))
-        self.teSubjectName = QtGui.QPlainTextEdit(self.tabSetup)
-        self.teSubjectName.setGeometry(QtCore.QRect(120, 60, 161, 31))
-        self.teSubjectName.setObjectName(_fromUtf8("teSubjectName"))
-        self.teFileName = QtGui.QPlainTextEdit(self.tabSetup)
-        self.teFileName.setGeometry(QtCore.QRect(120, 20, 161, 31))
-        self.teFileName.setObjectName(_fromUtf8("teFileName"))
-        self.teTechName = QtGui.QPlainTextEdit(self.tabSetup)
-        self.teTechName.setGeometry(QtCore.QRect(120, 160, 161, 31))
-        self.teTechName.setObjectName(_fromUtf8("teTechName"))
-        self.teExperimentName = QtGui.QPlainTextEdit(self.tabSetup)
-        self.teExperimentName.setGeometry(QtCore.QRect(120, 110, 161, 31))
-        self.teExperimentName.setObjectName(_fromUtf8("teExperimentName"))
-        self.btnSesInfoCommit = QtGui.QPushButton(self.tabSetup)
-        self.btnSesInfoCommit.setGeometry(QtCore.QRect(20, 210, 261, 41))
-        self.btnSesInfoCommit.setObjectName(_fromUtf8("btnSesInfoCommit"))
-        self.lblSubName = QtGui.QLabel(self.tabSetup)
-        self.lblSubName.setGeometry(QtCore.QRect(40, 70, 71, 20))
-        self.lblSubName.setObjectName(_fromUtf8("lblSubName"))
-        self.label = QtGui.QLabel(self.tabSetup)
-        self.label.setGeometry(QtCore.QRect(60, 30, 46, 13))
-        self.label.setObjectName(_fromUtf8("label"))
-        self.lblSubName_2 = QtGui.QLabel(self.tabSetup)
-        self.lblSubName_2.setGeometry(QtCore.QRect(20, 120, 91, 20))
-        self.lblSubName_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
-        self.lblSubName_2.setObjectName(_fromUtf8("lblSubName_2"))
-        self.lblSubName_3 = QtGui.QLabel(self.tabSetup)
-        self.lblSubName_3.setGeometry(QtCore.QRect(20, 160, 91, 20))
-        self.lblSubName_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
-        self.lblSubName_3.setObjectName(_fromUtf8("lblSubName_3"))
-        self.tabWidget.addTab(self.tabSetup, _fromUtf8(""))
-        self.tabInSes = QtGui.QWidget()
-        self.tabInSes.setObjectName(_fromUtf8("tabInSes"))
-        self.btnStartPhase1 = QtGui.QPushButton(self.tabInSes)
-        self.btnStartPhase1.setGeometry(QtCore.QRect(10, 20, 75, 23))
-        self.btnStartPhase1.setObjectName(_fromUtf8("btnStartPhase1"))
-        self.btnStartPhase3 = QtGui.QPushButton(self.tabInSes)
-        self.btnStartPhase3.setGeometry(QtCore.QRect(10, 70, 75, 23))
-        self.btnStartPhase3.setObjectName(_fromUtf8("btnStartPhase3"))
-        self.sbPhase3 = QtGui.QSpinBox(self.tabInSes)
-        self.sbPhase3.setGeometry(QtCore.QRect(20, 120, 81, 22))
-        self.sbPhase3.setMinimum(1)
-        self.sbPhase3.setMaximum(10)
-        self.sbPhase3.setObjectName(_fromUtf8("sbPhase3"))
-        self.lblPhase3StartAt = QtGui.QLabel(self.tabInSes)
-        self.lblPhase3StartAt.setGeometry(QtCore.QRect(10, 100, 101, 16))
-        self.lblPhase3StartAt.setObjectName(_fromUtf8("lblPhase3StartAt"))
-        self.gridLayoutWidget_2 = QtGui.QWidget(self.tabInSes)
-        self.gridLayoutWidget_2.setGeometry(QtCore.QRect(190, 25, 241, 491))
-        self.gridLayoutWidget_2.setObjectName(_fromUtf8("gridLayoutWidget_2"))
-        self.gridLayout_3 = QtGui.QGridLayout(self.gridLayoutWidget_2)
-        self.gridLayout_3.setMargin(0)
-        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
-        self.lblEct11 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct11.setObjectName(_fromUtf8("lblEct11"))
-        self.gridLayout_3.addWidget(self.lblEct11, 10, 0, 1, 1)
-        self.lblEct18 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct18.setObjectName(_fromUtf8("lblEct18"))
-        self.gridLayout_3.addWidget(self.lblEct18, 17, 0, 1, 1)
-        self.lblEct14 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct14.setObjectName(_fromUtf8("lblEct14"))
-        self.gridLayout_3.addWidget(self.lblEct14, 13, 0, 1, 1)
-        self.lblEct16 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct16.setObjectName(_fromUtf8("lblEct16"))
-        self.gridLayout_3.addWidget(self.lblEct16, 15, 0, 1, 1)
-        self.lblEct6 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct6.setObjectName(_fromUtf8("lblEct6"))
-        self.gridLayout_3.addWidget(self.lblEct6, 5, 0, 1, 1)
-        self.lblEct19 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct19.setObjectName(_fromUtf8("lblEct19"))
-        self.gridLayout_3.addWidget(self.lblEct19, 18, 0, 1, 1)
-        self.lblEct5 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct5.setObjectName(_fromUtf8("lblEct5"))
-        self.gridLayout_3.addWidget(self.lblEct5, 4, 0, 1, 1)
-        self.lblEct13 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct13.setObjectName(_fromUtf8("lblEct13"))
-        self.gridLayout_3.addWidget(self.lblEct13, 12, 0, 1, 1)
-        self.lblEct10 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct10.setObjectName(_fromUtf8("lblEct10"))
-        self.gridLayout_3.addWidget(self.lblEct10, 9, 0, 1, 1)
-        self.lblEct9 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct9.setObjectName(_fromUtf8("lblEct9"))
-        self.gridLayout_3.addWidget(self.lblEct9, 8, 0, 1, 1)
-        self.lblEct15 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct15.setObjectName(_fromUtf8("lblEct15"))
-        self.gridLayout_3.addWidget(self.lblEct15, 14, 0, 1, 1)
-        self.lblEct12 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct12.setObjectName(_fromUtf8("lblEct12"))
-        self.gridLayout_3.addWidget(self.lblEct12, 11, 0, 1, 1)
-        self.lblEct4 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct4.setObjectName(_fromUtf8("lblEct4"))
-        self.gridLayout_3.addWidget(self.lblEct4, 3, 0, 1, 1)
-        self.lblEct2 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct2.setObjectName(_fromUtf8("lblEct2"))
-        self.gridLayout_3.addWidget(self.lblEct2, 1, 0, 1, 1)
-        self.lblEct17 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct17.setObjectName(_fromUtf8("lblEct17"))
-        self.gridLayout_3.addWidget(self.lblEct17, 16, 0, 1, 1)
-        self.lblEct8 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct8.setObjectName(_fromUtf8("lblEct8"))
-        self.gridLayout_3.addWidget(self.lblEct8, 7, 0, 1, 1)
-        self.lblEct7 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct7.setObjectName(_fromUtf8("lblEct7"))
-        self.gridLayout_3.addWidget(self.lblEct7, 6, 0, 1, 1)
-        self.lblEct3 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct3.setObjectName(_fromUtf8("lblEct3"))
-        self.gridLayout_3.addWidget(self.lblEct3, 2, 0, 1, 1)
-        self.lblEct1 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct1.setObjectName(_fromUtf8("lblEct1"))
-        self.gridLayout_3.addWidget(self.lblEct1, 0, 0, 1, 1)
-        self.lblEct20 = QtGui.QLabel(self.gridLayoutWidget_2)
-        self.lblEct20.setObjectName(_fromUtf8("lblEct20"))
-        self.gridLayout_3.addWidget(self.lblEct20, 19, 0, 1, 1)
-        self.btnExtendedHold = QtGui.QPushButton(self.tabInSes)
-        self.btnExtendedHold.setGeometry(QtCore.QRect(10, 410, 101, 51))
-        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
-        sizePolicy.setHorizontalStretch(0)
-        sizePolicy.setVerticalStretch(0)
-        sizePolicy.setHeightForWidth(self.btnExtendedHold.sizePolicy().hasHeightForWidth())
-        self.btnExtendedHold.setSizePolicy(sizePolicy)
-        self.btnExtendedHold.setObjectName(_fromUtf8("btnExtendedHold"))
-        self.sbExtHold = QtGui.QSpinBox(self.tabInSes)
-        self.sbExtHold.setGeometry(QtCore.QRect(10, 470, 81, 22))
-        self.sbExtHold.setMinimum(1)
-        self.sbExtHold.setMaximum(400)
-        self.sbExtHold.setSingleStep(1)
-        self.sbExtHold.setObjectName(_fromUtf8("sbExtHold"))
-        self.btnStartDisc2 = QtGui.QPushButton(self.tabInSes)
-        self.btnStartDisc2.setGeometry(QtCore.QRect(10, 160, 75, 23))
-        self.btnStartDisc2.setObjectName(_fromUtf8("btnStartDisc2"))
-        self.tabWidget.addTab(self.tabInSes, _fromUtf8(""))
-        self.tabBoxTest = QtGui.QWidget()
-        self.tabBoxTest.setObjectName(_fromUtf8("tabBoxTest"))
-        self.btnBoxTest = QtGui.QPushButton(self.tabBoxTest)
-        self.btnBoxTest.setGeometry(QtCore.QRect(10, 10, 211, 61))
-        self.btnBoxTest.setObjectName(_fromUtf8("btnBoxTest"))
-        self.btnHead = QtGui.QPushButton(self.tabBoxTest)
-        self.btnHead.setGeometry(QtCore.QRect(250, 410, 75, 23))
-        self.btnHead.setObjectName(_fromUtf8("btnHead"))
-        self.btnResp = QtGui.QPushButton(self.tabBoxTest)
-        self.btnResp.setGeometry(QtCore.QRect(250, 440, 75, 23))
-        self.btnResp.setObjectName(_fromUtf8("btnResp"))
-        self.gridLayoutWidget = QtGui.QWidget(self.tabBoxTest)
-        self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 80, 211, 228))
-        self.gridLayoutWidget.setObjectName(_fromUtf8("gridLayoutWidget"))
-        self.gridLayout = QtGui.QGridLayout(self.gridLayoutWidget)
-        self.gridLayout.setMargin(0)
-        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
-        self.btnTestValve_1 = QtGui.QPushButton(self.gridLayoutWidget)
-        self.btnTestValve_1.setObjectName(_fromUtf8("btnTestValve_1"))
-        self.gridLayout.addWidget(self.btnTestValve_1, 4, 0, 1, 1)
-        self.btnTestValve_3 = QtGui.QPushButton(self.gridLayoutWidget)
-        self.btnTestValve_3.setObjectName(_fromUtf8("btnTestValve_3"))
-        self.gridLayout.addWidget(self.btnTestValve_3, 6, 0, 1, 1)
-        self.btnToggleLight = QtGui.QPushButton(self.gridLayoutWidget)
-        self.btnToggleLight.setObjectName(_fromUtf8("btnToggleLight"))
-        self.gridLayout.addWidget(self.btnToggleLight, 1, 0, 1, 1)
-        self.btnFinalValve = QtGui.QPushButton(self.gridLayoutWidget)
-        self.btnFinalValve.setObjectName(_fromUtf8("btnFinalValve"))
-        self.gridLayout.addWidget(self.btnFinalValve, 3, 0, 1, 1)
-        self.btnBuzzer = QtGui.QPushButton(self.gridLayoutWidget)
-        self.btnBuzzer.setObjectName(_fromUtf8("btnBuzzer"))
-        self.gridLayout.addWidget(self.btnBuzzer, 2, 0, 1, 1)
-        self.btnDeliverR = QtGui.QPushButton(self.gridLayoutWidget)
-        self.btnDeliverR.setObjectName(_fromUtf8("btnDeliverR"))
-        self.gridLayout.addWidget(self.btnDeliverR, 0, 0, 1, 1)
-        self.btnTestValve_2 = QtGui.QPushButton(self.gridLayoutWidget)
-        self.btnTestValve_2.setObjectName(_fromUtf8("btnTestValve_2"))
-        self.gridLayout.addWidget(self.btnTestValve_2, 5, 0, 1, 1)
-        self.btnTestValve_4 = QtGui.QPushButton(self.gridLayoutWidget)
-        self.btnTestValve_4.setObjectName(_fromUtf8("btnTestValve_4"))
-        self.gridLayout.addWidget(self.btnTestValve_4, 7, 0, 1, 1)
-        self.tabWidget.addTab(self.tabBoxTest, _fromUtf8(""))
-        self.btnClose = QtGui.QPushButton(self.centralwidget)
-        self.btnClose.setGeometry(QtCore.QRect(640, 50, 131, 41))
-        self.btnClose.setObjectName(_fromUtf8("btnClose"))
-        self.lblTimeLabel = QtGui.QLabel(self.centralwidget)
-        self.lblTimeLabel.setGeometry(QtCore.QRect(630, 10, 91, 16))
-        self.lblTimeLabel.setObjectName(_fromUtf8("lblTimeLabel"))
-        MainWindow.setCentralWidget(self.centralwidget)
-        self.menubar = QtGui.QMenuBar(MainWindow)
-        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 21))
-        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))
-        MainWindow.setStatusTip(_translate("MainWindow", "z", None))
-        MainWindow.setWhatsThis(_translate("MainWindow", "z", None))
-        self.btnSesInfoCommit.setText(_translate("MainWindow", "Commit Above Session Info", None))
-        self.lblSubName.setText(_translate("MainWindow", "Subject Name", None))
-        self.label.setText(_translate("MainWindow", "File Name:", None))
-        self.lblSubName_2.setText(_translate("MainWindow", "Experiment Name", None))
-        self.lblSubName_3.setText(_translate("MainWindow", "Tech Name", None))
-        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabSetup), _translate("MainWindow", "Session Setup", None))
-        self.btnStartPhase1.setText(_translate("MainWindow", "Start Phase 1", None))
-        self.btnStartPhase3.setText(_translate("MainWindow", "Start Phase 3", None))
-        self.lblPhase3StartAt.setText(_translate("MainWindow", "Start a Phase 3 at:", None))
-        self.lblEct11.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct18.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct14.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct16.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct6.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct19.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct5.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct13.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct10.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct9.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct15.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct12.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct4.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct2.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct17.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct8.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct7.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct3.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct1.setText(_translate("MainWindow", "TextLabel", None))
-        self.lblEct20.setText(_translate("MainWindow", "TextLabel", None))
-        self.btnExtendedHold.setText(_translate("MainWindow", "Extended Hold", None))
-        self.btnStartDisc2.setText(_translate("MainWindow", "Start D2 ", None))
-        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabInSes), _translate("MainWindow", "Run Session", None))
-        self.btnBoxTest.setText(_translate("MainWindow", "Start Box Test", None))
-        self.btnHead.setText(_translate("MainWindow", "Sim Head", None))
-        self.btnResp.setText(_translate("MainWindow", "Sim Lick", None))
-        self.btnTestValve_1.setText(_translate("MainWindow", "Test Valve 1", None))
-        self.btnTestValve_3.setText(_translate("MainWindow", "Test Valve 3", None))
-        self.btnToggleLight.setText(_translate("MainWindow", "Toggle Light", None))
-        self.btnFinalValve.setText(_translate("MainWindow", "Test Final Valve", None))
-        self.btnBuzzer.setText(_translate("MainWindow", "Toggle Buzzer", None))
-        self.btnDeliverR.setText(_translate("MainWindow", "Test Water", None))
-        self.btnTestValve_2.setText(_translate("MainWindow", "Test Valve 2", None))
-        self.btnTestValve_4.setText(_translate("MainWindow", "Test Valve 4", None))
-        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabBoxTest), _translate("MainWindow", "Box Test", None))
-        self.btnClose.setText(_translate("MainWindow", "Close Program", None))
-        self.lblTimeLabel.setText(_translate("MainWindow", "Time in Session (s)", None))
-
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'gui.ui'
+#
+# Created: Sat Jul  6 21:49:05 2013
+#      by: PyQt4 UI code generator 4.9.4
+#
+# WARNING! All changes made in this file will be lost!
+
+from PyQt4 import QtCore, QtGui
+
+try:
+    _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+    _fromUtf8 = lambda s: s
+
+class Ui_MainWindow(object):
+    def setupUi(self, MainWindow):
+        MainWindow.setObjectName(_fromUtf8("MainWindow"))
+        MainWindow.resize(800, 600)
+        self.centralwidget = QtGui.QWidget(MainWindow)
+        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
+        self.lcdTimeCnt = QtGui.QLCDNumber(self.centralwidget)
+        self.lcdTimeCnt.setGeometry(QtCore.QRect(730, 10, 64, 23))
+        self.lcdTimeCnt.setObjectName(_fromUtf8("lcdTimeCnt"))
+        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
+        self.tabWidget.setGeometry(QtCore.QRect(20, 10, 441, 541))
+        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
+        self.tabSetup = QtGui.QWidget()
+        self.tabSetup.setObjectName(_fromUtf8("tabSetup"))
+        self.teSubjectName = QtGui.QPlainTextEdit(self.tabSetup)
+        self.teSubjectName.setGeometry(QtCore.QRect(120, 60, 161, 31))
+        self.teSubjectName.setObjectName(_fromUtf8("teSubjectName"))
+        self.teFileName = QtGui.QPlainTextEdit(self.tabSetup)
+        self.teFileName.setGeometry(QtCore.QRect(120, 20, 161, 31))
+        self.teFileName.setObjectName(_fromUtf8("teFileName"))
+        self.teTechName = QtGui.QPlainTextEdit(self.tabSetup)
+        self.teTechName.setGeometry(QtCore.QRect(120, 160, 161, 31))
+        self.teTechName.setObjectName(_fromUtf8("teTechName"))
+        self.teExperimentName = QtGui.QPlainTextEdit(self.tabSetup)
+        self.teExperimentName.setGeometry(QtCore.QRect(120, 110, 161, 31))
+        self.teExperimentName.setObjectName(_fromUtf8("teExperimentName"))
+        self.btnSesInfoCommit = QtGui.QPushButton(self.tabSetup)
+        self.btnSesInfoCommit.setGeometry(QtCore.QRect(20, 210, 261, 41))
+        self.btnSesInfoCommit.setObjectName(_fromUtf8("btnSesInfoCommit"))
+        self.lblSubName = QtGui.QLabel(self.tabSetup)
+        self.lblSubName.setGeometry(QtCore.QRect(40, 70, 71, 20))
+        self.lblSubName.setObjectName(_fromUtf8("lblSubName"))
+        self.label = QtGui.QLabel(self.tabSetup)
+        self.label.setGeometry(QtCore.QRect(60, 30, 46, 13))
+        self.label.setObjectName(_fromUtf8("label"))
+        self.lblSubName_2 = QtGui.QLabel(self.tabSetup)
+        self.lblSubName_2.setGeometry(QtCore.QRect(20, 120, 91, 20))
+        self.lblSubName_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+        self.lblSubName_2.setObjectName(_fromUtf8("lblSubName_2"))
+        self.lblSubName_3 = QtGui.QLabel(self.tabSetup)
+        self.lblSubName_3.setGeometry(QtCore.QRect(20, 160, 91, 20))
+        self.lblSubName_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+        self.lblSubName_3.setObjectName(_fromUtf8("lblSubName_3"))
+        self.tabWidget.addTab(self.tabSetup, _fromUtf8(""))
+        self.tabInSes = QtGui.QWidget()
+        self.tabInSes.setObjectName(_fromUtf8("tabInSes"))
+        self.btnStartPhase1 = QtGui.QPushButton(self.tabInSes)
+        self.btnStartPhase1.setGeometry(QtCore.QRect(10, 20, 75, 23))
+        self.btnStartPhase1.setObjectName(_fromUtf8("btnStartPhase1"))
+        self.btnStartPhase3 = QtGui.QPushButton(self.tabInSes)
+        self.btnStartPhase3.setGeometry(QtCore.QRect(10, 70, 75, 23))
+        self.btnStartPhase3.setObjectName(_fromUtf8("btnStartPhase3"))
+        self.sbPhase3 = QtGui.QSpinBox(self.tabInSes)
+        self.sbPhase3.setGeometry(QtCore.QRect(20, 120, 81, 22))
+        self.sbPhase3.setMinimum(1)
+        self.sbPhase3.setMaximum(10)
+        self.sbPhase3.setObjectName(_fromUtf8("sbPhase3"))
+        self.lblPhase3StartAt = QtGui.QLabel(self.tabInSes)
+        self.lblPhase3StartAt.setGeometry(QtCore.QRect(10, 100, 101, 16))
+        self.lblPhase3StartAt.setObjectName(_fromUtf8("lblPhase3StartAt"))
+        self.gridLayoutWidget_2 = QtGui.QWidget(self.tabInSes)
+        self.gridLayoutWidget_2.setGeometry(QtCore.QRect(190, 25, 241, 491))
+        self.gridLayoutWidget_2.setObjectName(_fromUtf8("gridLayoutWidget_2"))
+        self.gridLayout_3 = QtGui.QGridLayout(self.gridLayoutWidget_2)
+        self.gridLayout_3.setMargin(0)
+        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
+        self.lblEct11 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct11.setObjectName(_fromUtf8("lblEct11"))
+        self.gridLayout_3.addWidget(self.lblEct11, 10, 0, 1, 1)
+        self.lblEct18 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct18.setObjectName(_fromUtf8("lblEct18"))
+        self.gridLayout_3.addWidget(self.lblEct18, 17, 0, 1, 1)
+        self.lblEct14 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct14.setObjectName(_fromUtf8("lblEct14"))
+        self.gridLayout_3.addWidget(self.lblEct14, 13, 0, 1, 1)
+        self.lblEct16 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct16.setObjectName(_fromUtf8("lblEct16"))
+        self.gridLayout_3.addWidget(self.lblEct16, 15, 0, 1, 1)
+        self.lblEct6 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct6.setObjectName(_fromUtf8("lblEct6"))
+        self.gridLayout_3.addWidget(self.lblEct6, 5, 0, 1, 1)
+        self.lblEct19 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct19.setObjectName(_fromUtf8("lblEct19"))
+        self.gridLayout_3.addWidget(self.lblEct19, 18, 0, 1, 1)
+        self.lblEct5 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct5.setObjectName(_fromUtf8("lblEct5"))
+        self.gridLayout_3.addWidget(self.lblEct5, 4, 0, 1, 1)
+        self.lblEct13 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct13.setObjectName(_fromUtf8("lblEct13"))
+        self.gridLayout_3.addWidget(self.lblEct13, 12, 0, 1, 1)
+        self.lblEct10 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct10.setObjectName(_fromUtf8("lblEct10"))
+        self.gridLayout_3.addWidget(self.lblEct10, 9, 0, 1, 1)
+        self.lblEct9 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct9.setObjectName(_fromUtf8("lblEct9"))
+        self.gridLayout_3.addWidget(self.lblEct9, 8, 0, 1, 1)
+        self.lblEct15 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct15.setObjectName(_fromUtf8("lblEct15"))
+        self.gridLayout_3.addWidget(self.lblEct15, 14, 0, 1, 1)
+        self.lblEct12 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct12.setObjectName(_fromUtf8("lblEct12"))
+        self.gridLayout_3.addWidget(self.lblEct12, 11, 0, 1, 1)
+        self.lblEct4 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct4.setObjectName(_fromUtf8("lblEct4"))
+        self.gridLayout_3.addWidget(self.lblEct4, 3, 0, 1, 1)
+        self.lblEct2 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct2.setObjectName(_fromUtf8("lblEct2"))
+        self.gridLayout_3.addWidget(self.lblEct2, 1, 0, 1, 1)
+        self.lblEct17 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct17.setObjectName(_fromUtf8("lblEct17"))
+        self.gridLayout_3.addWidget(self.lblEct17, 16, 0, 1, 1)
+        self.lblEct8 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct8.setObjectName(_fromUtf8("lblEct8"))
+        self.gridLayout_3.addWidget(self.lblEct8, 7, 0, 1, 1)
+        self.lblEct7 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct7.setObjectName(_fromUtf8("lblEct7"))
+        self.gridLayout_3.addWidget(self.lblEct7, 6, 0, 1, 1)
+        self.lblEct3 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct3.setObjectName(_fromUtf8("lblEct3"))
+        self.gridLayout_3.addWidget(self.lblEct3, 2, 0, 1, 1)
+        self.lblEct1 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct1.setObjectName(_fromUtf8("lblEct1"))
+        self.gridLayout_3.addWidget(self.lblEct1, 0, 0, 1, 1)
+        self.lblEct20 = QtGui.QLabel(self.gridLayoutWidget_2)
+        self.lblEct20.setObjectName(_fromUtf8("lblEct20"))
+        self.gridLayout_3.addWidget(self.lblEct20, 19, 0, 1, 1)
+        self.btnExtendedHold = QtGui.QPushButton(self.tabInSes)
+        self.btnExtendedHold.setGeometry(QtCore.QRect(10, 410, 101, 51))
+        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
+        sizePolicy.setHorizontalStretch(0)
+        sizePolicy.setVerticalStretch(0)
+        sizePolicy.setHeightForWidth(self.btnExtendedHold.sizePolicy().hasHeightForWidth())
+        self.btnExtendedHold.setSizePolicy(sizePolicy)
+        self.btnExtendedHold.setObjectName(_fromUtf8("btnExtendedHold"))
+        self.sbExtHold = QtGui.QSpinBox(self.tabInSes)
+        self.sbExtHold.setGeometry(QtCore.QRect(10, 470, 81, 22))
+        self.sbExtHold.setMinimum(1)
+        self.sbExtHold.setMaximum(400)
+        self.sbExtHold.setSingleStep(1)
+        self.sbExtHold.setObjectName(_fromUtf8("sbExtHold"))
+        self.btnStartDisc2 = QtGui.QPushButton(self.tabInSes)
+        self.btnStartDisc2.setGeometry(QtCore.QRect(10, 160, 75, 23))
+        self.btnStartDisc2.setObjectName(_fromUtf8("btnStartDisc2"))
+        self.tabWidget.addTab(self.tabInSes, _fromUtf8(""))
+        self.tabBoxTest = QtGui.QWidget()
+        self.tabBoxTest.setObjectName(_fromUtf8("tabBoxTest"))
+        self.btnBoxTest = QtGui.QPushButton(self.tabBoxTest)
+        self.btnBoxTest.setGeometry(QtCore.QRect(10, 10, 211, 61))
+        self.btnBoxTest.setObjectName(_fromUtf8("btnBoxTest"))
+        self.btnHead = QtGui.QPushButton(self.tabBoxTest)
+        self.btnHead.setGeometry(QtCore.QRect(250, 410, 75, 23))
+        self.btnHead.setObjectName(_fromUtf8("btnHead"))
+        self.btnResp = QtGui.QPushButton(self.tabBoxTest)
+        self.btnResp.setGeometry(QtCore.QRect(250, 440, 75, 23))
+        self.btnResp.setObjectName(_fromUtf8("btnResp"))
+        self.gridLayoutWidget = QtGui.QWidget(self.tabBoxTest)
+        self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 80, 211, 228))
+        self.gridLayoutWidget.setObjectName(_fromUtf8("gridLayoutWidget"))
+        self.gridLayout = QtGui.QGridLayout(self.gridLayoutWidget)
+        self.gridLayout.setMargin(0)
+        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
+        self.btnTestValve_1 = QtGui.QPushButton(self.gridLayoutWidget)
+        self.btnTestValve_1.setObjectName(_fromUtf8("btnTestValve_1"))
+        self.gridLayout.addWidget(self.btnTestValve_1, 4, 0, 1, 1)
+        self.btnTestValve_3 = QtGui.QPushButton(self.gridLayoutWidget)
+        self.btnTestValve_3.setObjectName(_fromUtf8("btnTestValve_3"))
+        self.gridLayout.addWidget(self.btnTestValve_3, 6, 0, 1, 1)
+        self.btnToggleLight = QtGui.QPushButton(self.gridLayoutWidget)
+        self.btnToggleLight.setObjectName(_fromUtf8("btnToggleLight"))
+        self.gridLayout.addWidget(self.btnToggleLight, 1, 0, 1, 1)
+        self.btnFinalValve = QtGui.QPushButton(self.gridLayoutWidget)
+        self.btnFinalValve.setObjectName(_fromUtf8("btnFinalValve"))
+        self.gridLayout.addWidget(self.btnFinalValve, 3, 0, 1, 1)
+        self.btnBuzzer = QtGui.QPushButton(self.gridLayoutWidget)
+        self.btnBuzzer.setObjectName(_fromUtf8("btnBuzzer"))
+        self.gridLayout.addWidget(self.btnBuzzer, 2, 0, 1, 1)
+        self.btnDeliverR = QtGui.QPushButton(self.gridLayoutWidget)
+        self.btnDeliverR.setObjectName(_fromUtf8("btnDeliverR"))
+        self.gridLayout.addWidget(self.btnDeliverR, 0, 0, 1, 1)
+        self.btnTestValve_2 = QtGui.QPushButton(self.gridLayoutWidget)
+        self.btnTestValve_2.setObjectName(_fromUtf8("btnTestValve_2"))
+        self.gridLayout.addWidget(self.btnTestValve_2, 5, 0, 1, 1)
+        self.btnTestValve_4 = QtGui.QPushButton(self.gridLayoutWidget)
+        self.btnTestValve_4.setObjectName(_fromUtf8("btnTestValve_4"))
+        self.gridLayout.addWidget(self.btnTestValve_4, 7, 0, 1, 1)
+        self.tabWidget.addTab(self.tabBoxTest, _fromUtf8(""))
+        self.btnClose = QtGui.QPushButton(self.centralwidget)
+        self.btnClose.setGeometry(QtCore.QRect(640, 50, 131, 41))
+        self.btnClose.setObjectName(_fromUtf8("btnClose"))
+        self.lblTimeLabel = QtGui.QLabel(self.centralwidget)
+        self.lblTimeLabel.setGeometry(QtCore.QRect(630, 10, 91, 16))
+        self.lblTimeLabel.setObjectName(_fromUtf8("lblTimeLabel"))
+        MainWindow.setCentralWidget(self.centralwidget)
+        self.menubar = QtGui.QMenuBar(MainWindow)
+        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 21))
+        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(2)
+        QtCore.QMetaObject.connectSlotsByName(MainWindow)
+
+    def retranslateUi(self, MainWindow):
+        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
+        MainWindow.setStatusTip(QtGui.QApplication.translate("MainWindow", "z", None, QtGui.QApplication.UnicodeUTF8))
+        MainWindow.setWhatsThis(QtGui.QApplication.translate("MainWindow", "z", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnSesInfoCommit.setText(QtGui.QApplication.translate("MainWindow", "Commit Above Session Info", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblSubName.setText(QtGui.QApplication.translate("MainWindow", "Subject Name", None, QtGui.QApplication.UnicodeUTF8))
+        self.label.setText(QtGui.QApplication.translate("MainWindow", "File Name:", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblSubName_2.setText(QtGui.QApplication.translate("MainWindow", "Experiment Name", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblSubName_3.setText(QtGui.QApplication.translate("MainWindow", "Tech Name", None, QtGui.QApplication.UnicodeUTF8))
+        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabSetup), QtGui.QApplication.translate("MainWindow", "Session Setup", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnStartPhase1.setText(QtGui.QApplication.translate("MainWindow", "Start Phase 1", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnStartPhase3.setText(QtGui.QApplication.translate("MainWindow", "Start Phase 3", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblPhase3StartAt.setText(QtGui.QApplication.translate("MainWindow", "Start a Phase 3 at:", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct11.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct18.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct14.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct16.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct6.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct19.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct5.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct13.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct10.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct9.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct15.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct12.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct4.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct2.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct17.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct8.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct7.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct3.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct1.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblEct20.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnExtendedHold.setText(QtGui.QApplication.translate("MainWindow", "Extended Hold", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnStartDisc2.setText(QtGui.QApplication.translate("MainWindow", "Start D2 ", None, QtGui.QApplication.UnicodeUTF8))
+        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabInSes), QtGui.QApplication.translate("MainWindow", "Run Session", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnBoxTest.setText(QtGui.QApplication.translate("MainWindow", "Start Box Test", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnHead.setText(QtGui.QApplication.translate("MainWindow", "Sim Head", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnResp.setText(QtGui.QApplication.translate("MainWindow", "Sim Lick", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnTestValve_1.setText(QtGui.QApplication.translate("MainWindow", "Test Valve 1", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnTestValve_3.setText(QtGui.QApplication.translate("MainWindow", "Test Valve 3", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnToggleLight.setText(QtGui.QApplication.translate("MainWindow", "Toggle Light", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnFinalValve.setText(QtGui.QApplication.translate("MainWindow", "Test Final Valve", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnBuzzer.setText(QtGui.QApplication.translate("MainWindow", "Toggle Buzzer", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnDeliverR.setText(QtGui.QApplication.translate("MainWindow", "Test Water", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnTestValve_2.setText(QtGui.QApplication.translate("MainWindow", "Test Valve 2", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnTestValve_4.setText(QtGui.QApplication.translate("MainWindow", "Test Valve 4", None, QtGui.QApplication.UnicodeUTF8))
+        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabBoxTest), QtGui.QApplication.translate("MainWindow", "Box Test", None, QtGui.QApplication.UnicodeUTF8))
+        self.btnClose.setText(QtGui.QApplication.translate("MainWindow", "Close Program", None, QtGui.QApplication.UnicodeUTF8))
+        self.lblTimeLabel.setText(QtGui.QApplication.translate("MainWindow", "Time in Session (s)", None, QtGui.QApplication.UnicodeUTF8))
+