# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'meapp_form.ui'
#
# Created: Mon Jul 16 14:30:21 2018
#      by: pyside-uic 0.2.15 running on PySide 1.2.4
#
# WARNING! All changes made in this file will be lost!

from PySide import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(924, 846)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_2 = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.textLogBox = QtGui.QPlainTextEdit(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.textLogBox.sizePolicy().hasHeightForWidth())
        self.textLogBox.setSizePolicy(sizePolicy)
        self.textLogBox.setMaximumSize(QtCore.QSize(16777215, 150))
        self.textLogBox.setStyleSheet("")
        self.textLogBox.setObjectName("textLogBox")
        self.gridLayout_2.addWidget(self.textLogBox, 1, 0, 1, 1)
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtGui.QWidget()
        self.tab.setToolTip("")
        self.tab.setObjectName("tab")
        self.layoutWidget = QtGui.QWidget(self.tab)
        self.layoutWidget.setGeometry(QtCore.QRect(10, 0, 791, 620))
        self.layoutWidget.setObjectName("layoutWidget")
        self.gridLayout_5 = QtGui.QGridLayout(self.layoutWidget)
        self.gridLayout_5.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_17 = QtGui.QLabel(self.layoutWidget)
        self.label_17.setObjectName("label_17")
        self.horizontalLayout_6.addWidget(self.label_17)
        self.label_16 = QtGui.QLabel(self.layoutWidget)
        self.label_16.setObjectName("label_16")
        self.horizontalLayout_6.addWidget(self.label_16)
        self.label_15 = QtGui.QLabel(self.layoutWidget)
        self.label_15.setObjectName("label_15")
        self.horizontalLayout_6.addWidget(self.label_15)
        self.label_13 = QtGui.QLabel(self.layoutWidget)
        self.label_13.setObjectName("label_13")
        self.horizontalLayout_6.addWidget(self.label_13)
        self.gridLayout_5.addLayout(self.horizontalLayout_6, 13, 2, 1, 1)
        self.btnStopMotor = QtGui.QPushButton(self.layoutWidget)
        self.btnStopMotor.setObjectName("btnStopMotor")
        self.gridLayout_5.addWidget(self.btnStopMotor, 12, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 15, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        self.gridLayout_5.addItem(spacerItem, 17, 2, 1, 1)
        self.txLogCOM = QtGui.QLineEdit(self.layoutWidget)
        self.txLogCOM.setObjectName("txLogCOM")
        self.gridLayout_5.addWidget(self.txLogCOM, 22, 2, 1, 1)
        self.btnStartLog = QtGui.QPushButton(self.layoutWidget)
        self.btnStartLog.setObjectName("btnStartLog")
        self.gridLayout_5.addWidget(self.btnStartLog, 18, 2, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.labelLogRun = QtGui.QLabel(self.layoutWidget)
        self.labelLogRun.setObjectName("labelLogRun")
        self.horizontalLayout.addWidget(self.labelLogRun)
        self.labelPPS = QtGui.QLabel(self.layoutWidget)
        self.labelPPS.setObjectName("labelPPS")
        self.horizontalLayout.addWidget(self.labelPPS)
        self.labelUTC = QtGui.QLabel(self.layoutWidget)
        self.labelUTC.setObjectName("labelUTC")
        self.horizontalLayout.addWidget(self.labelUTC)
        self.gridLayout_5.addLayout(self.horizontalLayout, 7, 2, 1, 1)
        self.label_3 = QtGui.QLabel(self.layoutWidget)
        self.label_3.setObjectName("label_3")
        self.gridLayout_5.addWidget(self.label_3, 1, 1, 1, 1)
        self.txRevCounter = QtGui.QLineEdit(self.layoutWidget)
        self.txRevCounter.setObjectName("txRevCounter")
        self.gridLayout_5.addWidget(self.txRevCounter, 5, 2, 1, 1)
        self.label_2 = QtGui.QLabel(self.layoutWidget)
        self.label_2.setObjectName("label_2")
        self.gridLayout_5.addWidget(self.label_2, 0, 1, 1, 1)
        self.txConnected = QtGui.QLineEdit(self.layoutWidget)
        self.txConnected.setObjectName("txConnected")
        self.gridLayout_5.addWidget(self.txConnected, 0, 2, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_5.addItem(spacerItem1, 23, 2, 1, 1)
        self.chbCounterUpdate = QtGui.QCheckBox(self.layoutWidget)
        self.chbCounterUpdate.setObjectName("chbCounterUpdate")
        self.gridLayout_5.addWidget(self.chbCounterUpdate, 3, 2, 1, 1)
        self.txSysFWVersion = QtGui.QLineEdit(self.layoutWidget)
        self.txSysFWVersion.setObjectName("txSysFWVersion")
        self.gridLayout_5.addWidget(self.txSysFWVersion, 1, 2, 1, 1)
        self.label_4 = QtGui.QLabel(self.layoutWidget)
        self.label_4.setObjectName("label_4")
        self.gridLayout_5.addWidget(self.label_4, 2, 1, 1, 1)
        self.txHallCounter = QtGui.QLineEdit(self.layoutWidget)
        self.txHallCounter.setObjectName("txHallCounter")
        self.gridLayout_5.addWidget(self.txHallCounter, 4, 2, 1, 1)
        self.label_5 = QtGui.QLabel(self.layoutWidget)
        self.label_5.setObjectName("label_5")
        self.gridLayout_5.addWidget(self.label_5, 3, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.layoutWidget)
        self.label_7.setObjectName("label_7")
        self.gridLayout_5.addWidget(self.label_7, 5, 1, 1, 1)
        self.label_8 = QtGui.QLabel(self.layoutWidget)
        self.label_8.setObjectName("label_8")
        self.gridLayout_5.addWidget(self.label_8, 9, 1, 1, 1)
        self.label_9 = QtGui.QLabel(self.layoutWidget)
        self.label_9.setObjectName("label_9")
        self.gridLayout_5.addWidget(self.label_9, 10, 1, 1, 1)
        self.label_10 = QtGui.QLabel(self.layoutWidget)
        self.label_10.setObjectName("label_10")
        self.gridLayout_5.addWidget(self.label_10, 6, 1, 1, 1)
        self.chbMotorEnable = QtGui.QCheckBox(self.layoutWidget)
        self.chbMotorEnable.setObjectName("chbMotorEnable")
        self.gridLayout_5.addWidget(self.chbMotorEnable, 9, 2, 1, 1)
        self.txMotorFreq = QtGui.QLineEdit(self.layoutWidget)
        self.txMotorFreq.setObjectName("txMotorFreq")
        self.gridLayout_5.addWidget(self.txMotorFreq, 6, 2, 1, 1)
        self.label_6 = QtGui.QLabel(self.layoutWidget)
        self.label_6.setObjectName("label_6")
        self.gridLayout_5.addWidget(self.label_6, 4, 1, 1, 1)
        self.label = QtGui.QLabel(self.layoutWidget)
        self.label.setObjectName("label")
        self.gridLayout_5.addWidget(self.label, 7, 1, 1, 1)
        self.sbSetRPM = QtGui.QSpinBox(self.layoutWidget)
        self.sbSetRPM.setMaximum(900)
        self.sbSetRPM.setSingleStep(1)
        self.sbSetRPM.setObjectName("sbSetRPM")
        self.gridLayout_5.addWidget(self.sbSetRPM, 10, 2, 1, 1)
        self.btnSetMotorRPM = QtGui.QPushButton(self.layoutWidget)
        self.btnSetMotorRPM.setObjectName("btnSetMotorRPM")
        self.gridLayout_5.addWidget(self.btnSetMotorRPM, 11, 2, 1, 1)
        self.label_11 = QtGui.QLabel(self.layoutWidget)
        self.label_11.setText("")
        self.label_11.setObjectName("label_11")
        self.gridLayout_5.addWidget(self.label_11, 11, 1, 1, 1)
        self.label_14 = QtGui.QLabel(self.layoutWidget)
        self.label_14.setObjectName("label_14")
        self.gridLayout_5.addWidget(self.label_14, 22, 1, 1, 1)
        self.label_12 = QtGui.QLabel(self.layoutWidget)
        self.label_12.setObjectName("label_12")
        self.gridLayout_5.addWidget(self.label_12, 18, 1, 1, 1)
        self.btnResetLog = QtGui.QPushButton(self.layoutWidget)
        self.btnResetLog.setObjectName("btnResetLog")
        self.gridLayout_5.addWidget(self.btnResetLog, 21, 2, 1, 1)
        self.btnStopLog = QtGui.QPushButton(self.layoutWidget)
        self.btnStopLog.setObjectName("btnStopLog")
        self.gridLayout_5.addWidget(self.btnStopLog, 20, 2, 1, 1)
        self.btnSegment = QtGui.QPushButton(self.layoutWidget)
        self.btnSegment.setObjectName("btnSegment")
        self.gridLayout_5.addWidget(self.btnSegment, 19, 2, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(10, 15, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        self.gridLayout_5.addItem(spacerItem2, 8, 2, 1, 1)
        self.sbAutoUpdateFreq = QtGui.QSpinBox(self.layoutWidget)
        self.sbAutoUpdateFreq.setMinimum(1)
        self.sbAutoUpdateFreq.setMaximum(50)
        self.sbAutoUpdateFreq.setObjectName("sbAutoUpdateFreq")
        self.gridLayout_5.addWidget(self.sbAutoUpdateFreq, 2, 2, 1, 1)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.sbSequenceRepeats = QtGui.QSpinBox(self.layoutWidget)
        self.sbSequenceRepeats.setObjectName("sbSequenceRepeats")
        self.horizontalLayout_5.addWidget(self.sbSequenceRepeats)
        self.sbSequenceSteps = QtGui.QSpinBox(self.layoutWidget)
        self.sbSequenceSteps.setObjectName("sbSequenceSteps")
        self.horizontalLayout_5.addWidget(self.sbSequenceSteps)
        self.sbSequenceStepDuration = QtGui.QSpinBox(self.layoutWidget)
        self.sbSequenceStepDuration.setMaximum(300)
        self.sbSequenceStepDuration.setObjectName("sbSequenceStepDuration")
        self.horizontalLayout_5.addWidget(self.sbSequenceStepDuration)
        self.sbSequenceMaxRPM = QtGui.QSpinBox(self.layoutWidget)
        self.sbSequenceMaxRPM.setMaximum(900)
        self.sbSequenceMaxRPM.setSingleStep(50)
        self.sbSequenceMaxRPM.setObjectName("sbSequenceMaxRPM")
        self.horizontalLayout_5.addWidget(self.sbSequenceMaxRPM)
        self.gridLayout_5.addLayout(self.horizontalLayout_5, 14, 2, 1, 1)
        self.btnMotorStartSequence = QtGui.QPushButton(self.layoutWidget)
        self.btnMotorStartSequence.setObjectName("btnMotorStartSequence")
        self.gridLayout_5.addWidget(self.btnMotorStartSequence, 15, 2, 1, 1)
        self.btnMotorStopSequence = QtGui.QPushButton(self.layoutWidget)
        self.btnMotorStopSequence.setObjectName("btnMotorStopSequence")
        self.gridLayout_5.addWidget(self.btnMotorStopSequence, 16, 2, 1, 1)
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.tabWidget.addTab(self.tab_2, "")
        self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 924, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.toolBar = QtGui.QToolBar(MainWindow)
        self.toolBar.setObjectName("toolBar")
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.label_17.setText(QtGui.QApplication.translate("MainWindow", "Num of repeats", None, QtGui.QApplication.UnicodeUTF8))
        self.label_16.setText(QtGui.QApplication.translate("MainWindow", "Num of steps", None, QtGui.QApplication.UnicodeUTF8))
        self.label_15.setText(QtGui.QApplication.translate("MainWindow", "Step duration", None, QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(QtGui.QApplication.translate("MainWindow", "Max rpm", None, QtGui.QApplication.UnicodeUTF8))
        self.btnStopMotor.setText(QtGui.QApplication.translate("MainWindow", "Stop", None, QtGui.QApplication.UnicodeUTF8))
        self.txLogCOM.setText(QtGui.QApplication.translate("MainWindow", "Insert Log COM number only", None, QtGui.QApplication.UnicodeUTF8))
        self.btnStartLog.setText(QtGui.QApplication.translate("MainWindow", "Start Log", None, QtGui.QApplication.UnicodeUTF8))
        self.labelLogRun.setText(QtGui.QApplication.translate("MainWindow", "Log Running", None, QtGui.QApplication.UnicodeUTF8))
        self.labelPPS.setText(QtGui.QApplication.translate("MainWindow", "PPS ok", None, QtGui.QApplication.UnicodeUTF8))
        self.labelUTC.setText(QtGui.QApplication.translate("MainWindow", "UTC ok", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("MainWindow", "FW Info:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Connected:", None, QtGui.QApplication.UnicodeUTF8))
        self.chbCounterUpdate.setText(QtGui.QApplication.translate("MainWindow", "Autoupdate", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("MainWindow", "Refresh Freq", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("MainWindow", "Status", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("MainWindow", "Revolutions", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("MainWindow", "Motor", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("MainWindow", "Target RPM", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("MainWindow", "Freq", None, QtGui.QApplication.UnicodeUTF8))
        self.chbMotorEnable.setText(QtGui.QApplication.translate("MainWindow", "Enable", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("MainWindow", "Hall Counter", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MainWindow", "Info", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSetMotorRPM.setText(QtGui.QApplication.translate("MainWindow", "Set RPM", None, QtGui.QApplication.UnicodeUTF8))
        self.label_14.setText(QtGui.QApplication.translate("MainWindow", "COM:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("MainWindow", "Log", None, QtGui.QApplication.UnicodeUTF8))
        self.btnResetLog.setText(QtGui.QApplication.translate("MainWindow", "Reset Log ID counter", None, QtGui.QApplication.UnicodeUTF8))
        self.btnStopLog.setText(QtGui.QApplication.translate("MainWindow", "Stop Log", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSegment.setText(QtGui.QApplication.translate("MainWindow", "New Segment", None, QtGui.QApplication.UnicodeUTF8))
        self.btnMotorStartSequence.setText(QtGui.QApplication.translate("MainWindow", "Start Sequence", None, QtGui.QApplication.UnicodeUTF8))
        self.btnMotorStopSequence.setText(QtGui.QApplication.translate("MainWindow", "Stop Sequence", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("MainWindow", "Main tab", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("MainWindow", "reserved", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar.setWindowTitle(QtGui.QApplication.translate("MainWindow", "toolBar", None, QtGui.QApplication.UnicodeUTF8))

