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

# Form implementation generated from reading ui file 'mainWindow.ui'
#
# Created: Wed Jun 05 23:09:08 2013
#      by: PyQt4 UI code generator 4.8.6
#
# 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(867, 618)
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.mplWidgetUp = MatplotlibWidget(self.centralwidget)
        self.mplWidgetUp.setObjectName(_fromUtf8("mplWidgetUp"))
        self.verticalLayout.addWidget(self.mplWidgetUp)
        self.mplwidgetDown = MatplotlibWidget(self.centralwidget)
        self.mplwidgetDown.setObjectName(_fromUtf8("mplwidgetDown"))
        self.verticalLayout.addWidget(self.mplwidgetDown)
        self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tab)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.groupBox = QtGui.QGroupBox(self.tab)
        self.groupBox.setTitle(QtGui.QApplication.translate("MainWindow", "Select Frame", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lFrame = QtGui.QLabel(self.groupBox)
        self.lFrame.setText(QtGui.QApplication.translate("MainWindow", "Frame", None, QtGui.QApplication.UnicodeUTF8))
        self.lFrame.setObjectName(_fromUtf8("lFrame"))
        self.horizontalLayout.addWidget(self.lFrame)
        self.sBox = QtGui.QSpinBox(self.groupBox)
        self.sBox.setObjectName(_fromUtf8("sBox"))
        self.horizontalLayout.addWidget(self.sBox)
        self.bBefore = QtGui.QPushButton(self.groupBox)
        self.bBefore.setText(QtGui.QApplication.translate("MainWindow", "Before", None, QtGui.QApplication.UnicodeUTF8))
        self.bBefore.setObjectName(_fromUtf8("bBefore"))
        self.horizontalLayout.addWidget(self.bBefore)
        self.bNext = QtGui.QPushButton(self.groupBox)
        self.bNext.setText(QtGui.QApplication.translate("MainWindow", "Next", None, QtGui.QApplication.UnicodeUTF8))
        self.bNext.setObjectName(_fromUtf8("bNext"))
        self.horizontalLayout.addWidget(self.bNext)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 1)
        self.groupBox_5 = QtGui.QGroupBox(self.tab)
        self.groupBox_5.setTitle(QtGui.QApplication.translate("MainWindow", "Select Pixel", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_5)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.bRect = QtGui.QToolButton(self.groupBox_5)
        self.bRect.setText(QtGui.QApplication.translate("MainWindow", "Rectangular Selection", None, QtGui.QApplication.UnicodeUTF8))
        self.bRect.setObjectName(_fromUtf8("bRect"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.bRect)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.bPixel = QtGui.QPushButton(self.groupBox_5)
        self.bPixel.setText(QtGui.QApplication.translate("MainWindow", "Pixel", None, QtGui.QApplication.UnicodeUTF8))
        self.bPixel.setObjectName(_fromUtf8("bPixel"))
        self.horizontalLayout_2.addWidget(self.bPixel)
        self.lPixel = QtGui.QLabel(self.groupBox_5)
        self.lPixel.setText(QtGui.QApplication.translate("MainWindow", "Pixel Coord", None, QtGui.QApplication.UnicodeUTF8))
        self.lPixel.setObjectName(_fromUtf8("lPixel"))
        self.horizontalLayout_2.addWidget(self.lPixel)
        self.sX = QtGui.QSpinBox(self.groupBox_5)
        self.sX.setObjectName(_fromUtf8("sX"))
        self.horizontalLayout_2.addWidget(self.sX)
        self.sY = QtGui.QSpinBox(self.groupBox_5)
        self.sY.setObjectName(_fromUtf8("sY"))
        self.horizontalLayout_2.addWidget(self.sY)
        self.formLayout.setLayout(1, QtGui.QFormLayout.LabelRole, self.horizontalLayout_2)
        self.verticalLayout_4.addLayout(self.formLayout)
        self.gridLayout_2.addWidget(self.groupBox_5, 1, 0, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(self.tab)
        self.groupBox_3.setTitle(QtGui.QApplication.translate("MainWindow", "Select Treshold", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.bTresh = QtGui.QPushButton(self.groupBox_3)
        self.bTresh.setText(QtGui.QApplication.translate("MainWindow", "TreshHold", None, QtGui.QApplication.UnicodeUTF8))
        self.bTresh.setObjectName(_fromUtf8("bTresh"))
        self.horizontalLayout_3.addWidget(self.bTresh)
        self.lTresh = QtGui.QLabel(self.groupBox_3)
        self.lTresh.setText(QtGui.QApplication.translate("MainWindow", "Treshold", None, QtGui.QApplication.UnicodeUTF8))
        self.lTresh.setObjectName(_fromUtf8("lTresh"))
        self.horizontalLayout_3.addWidget(self.lTresh)
        self.sTresh = QtGui.QDoubleSpinBox(self.groupBox_3)
        self.sTresh.setObjectName(_fromUtf8("sTresh"))
        self.horizontalLayout_3.addWidget(self.sTresh)
        self.verticalLayout_5.addLayout(self.horizontalLayout_3)
        self.gridLayout_2.addWidget(self.groupBox_3, 2, 0, 1, 1)
        self.groupBox_4 = QtGui.QGroupBox(self.tab)
        self.groupBox_4.setTitle(QtGui.QApplication.translate("MainWindow", "3D ", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.lMorpho = QtGui.QLabel(self.groupBox_4)
        self.lMorpho.setText(QtGui.QApplication.translate("MainWindow", "Morphed Image", None, QtGui.QApplication.UnicodeUTF8))
        self.lMorpho.setObjectName(_fromUtf8("lMorpho"))
        self.horizontalLayout_4.addWidget(self.lMorpho)
        self.bShow = QtGui.QPushButton(self.groupBox_4)
        self.bShow.setText(QtGui.QApplication.translate("MainWindow", "Show", None, QtGui.QApplication.UnicodeUTF8))
        self.bShow.setObjectName(_fromUtf8("bShow"))
        self.horizontalLayout_4.addWidget(self.bShow)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.l3D = QtGui.QLabel(self.groupBox_4)
        self.l3D.setText(QtGui.QApplication.translate("MainWindow", "3D Animation", None, QtGui.QApplication.UnicodeUTF8))
        self.l3D.setObjectName(_fromUtf8("l3D"))
        self.horizontalLayout_5.addWidget(self.l3D)
        self.bPlay = QtGui.QPushButton(self.groupBox_4)
        self.bPlay.setText(QtGui.QApplication.translate("MainWindow", "Play", None, QtGui.QApplication.UnicodeUTF8))
        self.bPlay.setObjectName(_fromUtf8("bPlay"))
        self.horizontalLayout_5.addWidget(self.bPlay)
        self.bStop = QtGui.QPushButton(self.groupBox_4)
        self.bStop.setMaximumSize(QtCore.QSize(16777215, 16777211))
        self.bStop.setText(QtGui.QApplication.translate("MainWindow", "Stop", None, QtGui.QApplication.UnicodeUTF8))
        self.bStop.setObjectName(_fromUtf8("bStop"))
        self.horizontalLayout_5.addWidget(self.bStop)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.verticalLayout_6.addLayout(self.verticalLayout_2)
        self.gridLayout_2.addWidget(self.groupBox_4, 3, 0, 1, 1)
        self.bOut = QtGui.QTextEdit(self.tab)
        self.bOut.setObjectName(_fromUtf8("bOut"))
        self.gridLayout_2.addWidget(self.bOut, 4, 0, 1, 1)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 0, 1, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 867, 26))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.toolBar = QtGui.QToolBar(MainWindow)
        self.toolBar.setWindowTitle(QtGui.QApplication.translate("MainWindow", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar.setObjectName(_fromUtf8("toolBar"))
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
        self.aOpen = QtGui.QAction(MainWindow)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/images/Open.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.aOpen.setIcon(icon)
        self.aOpen.setText(QtGui.QApplication.translate("MainWindow", "Open", None, QtGui.QApplication.UnicodeUTF8))
        self.aOpen.setObjectName(_fromUtf8("aOpen"))
        self.menuFile.addAction(self.aOpen)
        self.menubar.addAction(self.menuFile.menuAction())
        self.toolBar.addAction(self.aOpen)

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

    def retranslateUi(self, MainWindow):
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("MainWindow", "Operation", None, QtGui.QApplication.UnicodeUTF8))

from matplotlibwidget import MatplotlibWidget
import images_rc
