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

# Form implementation generated from reading ui file 'v9.ui'
#
# Created: Fri Aug  2 16:39:23 2013
#      by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_myMainWindow(object):
    def setupUi(self, myMainWindow):
        myMainWindow.setObjectName("myMainWindow")
        myMainWindow.setEnabled(True)
        myMainWindow.resize(948, 789)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(myMainWindow.sizePolicy().hasHeightForWidth())
        myMainWindow.setSizePolicy(sizePolicy)
        myMainWindow.setMinimumSize(QtCore.QSize(300, 300))
        myMainWindow.setCursor(QtCore.Qt.ArrowCursor)
        myMainWindow.setMouseTracking(False)
        myMainWindow.setFocusPolicy(QtCore.Qt.NoFocus)
        myMainWindow.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
        myMainWindow.setAcceptDrops(False)
        myMainWindow.setTabShape(QtGui.QTabWidget.Triangular)
        myMainWindow.setDockOptions(QtGui.QMainWindow.AllowTabbedDocks|QtGui.QMainWindow.AnimatedDocks)
        myMainWindow.setUnifiedTitleAndToolBarOnMac(False)
        self.centralwidget = QtGui.QWidget(myMainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setAutoFillBackground(False)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName("gridLayout")
        self.splitter = QtGui.QSplitter(self.centralwidget)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName("splitter")
        self.tabWidgetPanels = QtGui.QTabWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabWidgetPanels.sizePolicy().hasHeightForWidth())
        self.tabWidgetPanels.setSizePolicy(sizePolicy)
        self.tabWidgetPanels.setMinimumSize(QtCore.QSize(0, 100))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(118, 118, 117))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
        self.tabWidgetPanels.setPalette(palette)
        font = QtGui.QFont()
        font.setFamily("Sans Serif")
        font.setPointSize(8)
        self.tabWidgetPanels.setFont(font)
        self.tabWidgetPanels.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.tabWidgetPanels.setAutoFillBackground(False)
        self.tabWidgetPanels.setTabPosition(QtGui.QTabWidget.South)
        self.tabWidgetPanels.setElideMode(QtCore.Qt.ElideNone)
        self.tabWidgetPanels.setObjectName("tabWidgetPanels")
        self.tab_4 = QtGui.QWidget()
        self.tab_4.setObjectName("tab_4")
        self.gridLayoutWidget = QtGui.QWidget(self.tab_4)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(0, 0, 561, 62))
        self.gridLayoutWidget.setObjectName("gridLayoutWidget")
        self.gridLayout_9 = QtGui.QGridLayout(self.gridLayoutWidget)
        self.gridLayout_9.setSizeConstraint(QtGui.QLayout.SetMaximumSize)
        self.gridLayout_9.setObjectName("gridLayout_9")
        self.pushButtonResetView = QtGui.QPushButton(self.gridLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButtonResetView.sizePolicy().hasHeightForWidth())
        self.pushButtonResetView.setSizePolicy(sizePolicy)
        self.pushButtonResetView.setAutoFillBackground(True)
        self.pushButtonResetView.setAutoRepeat(False)
        self.pushButtonResetView.setAutoRepeatDelay(50)
        self.pushButtonResetView.setAutoRepeatInterval(25)
        self.pushButtonResetView.setObjectName("pushButtonResetView")
        self.gridLayout_9.addWidget(self.pushButtonResetView, 0, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_9.addItem(spacerItem, 0, 1, 1, 1)
        self.labelViewFrom = QtGui.QLabel(self.gridLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelViewFrom.sizePolicy().hasHeightForWidth())
        self.labelViewFrom.setSizePolicy(sizePolicy)
        self.labelViewFrom.setAutoFillBackground(True)
        self.labelViewFrom.setAlignment(QtCore.Qt.AlignCenter)
        self.labelViewFrom.setObjectName("labelViewFrom")
        self.gridLayout_9.addWidget(self.labelViewFrom, 0, 2, 1, 1)
        self.pushButtonBackgroundColour = QtGui.QPushButton(self.gridLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButtonBackgroundColour.sizePolicy().hasHeightForWidth())
        self.pushButtonBackgroundColour.setSizePolicy(sizePolicy)
        self.pushButtonBackgroundColour.setAutoFillBackground(True)
        self.pushButtonBackgroundColour.setAutoRepeat(False)
        self.pushButtonBackgroundColour.setAutoRepeatDelay(50)
        self.pushButtonBackgroundColour.setAutoRepeatInterval(25)
        self.pushButtonBackgroundColour.setAutoDefault(False)
        self.pushButtonBackgroundColour.setObjectName("pushButtonBackgroundColour")
        self.gridLayout_9.addWidget(self.pushButtonBackgroundColour, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_9.addItem(spacerItem1, 1, 1, 1, 1)
        self.comboBoxViewFrom = QtGui.QComboBox(self.gridLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBoxViewFrom.sizePolicy().hasHeightForWidth())
        self.comboBoxViewFrom.setSizePolicy(sizePolicy)
        self.comboBoxViewFrom.setObjectName("comboBoxViewFrom")
        self.gridLayout_9.addWidget(self.comboBoxViewFrom, 1, 2, 1, 1)
        self.labelViewType = QtGui.QLabel(self.gridLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelViewType.sizePolicy().hasHeightForWidth())
        self.labelViewType.setSizePolicy(sizePolicy)
        self.labelViewType.setAutoFillBackground(True)
        self.labelViewType.setAlignment(QtCore.Qt.AlignCenter)
        self.labelViewType.setObjectName("labelViewType")
        self.gridLayout_9.addWidget(self.labelViewType, 0, 4, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_9.addItem(spacerItem2, 0, 3, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_9.addItem(spacerItem3, 1, 3, 1, 1)
        self.comboBoxViewType = QtGui.QComboBox(self.gridLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBoxViewType.sizePolicy().hasHeightForWidth())
        self.comboBoxViewType.setSizePolicy(sizePolicy)
        self.comboBoxViewType.setObjectName("comboBoxViewType")
        self.gridLayout_9.addWidget(self.comboBoxViewType, 1, 4, 1, 1)
        self.tabWidgetPanels.addTab(self.tab_4, "")
        self.tabPlanes = QtGui.QWidget()
        self.tabPlanes.setObjectName("tabPlanes")
        self.gridLayoutWidget_3 = QtGui.QWidget(self.tabPlanes)
        self.gridLayoutWidget_3.setGeometry(QtCore.QRect(0, 0, 324, 62))
        self.gridLayoutWidget_3.setObjectName("gridLayoutWidget_3")
        self.gridLayout_11 = QtGui.QGridLayout(self.gridLayoutWidget_3)
        self.gridLayout_11.setSizeConstraint(QtGui.QLayout.SetMaximumSize)
        self.gridLayout_11.setObjectName("gridLayout_11")
        self.pushButtonLoadDataForPlanes = QtGui.QPushButton(self.gridLayoutWidget_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButtonLoadDataForPlanes.sizePolicy().hasHeightForWidth())
        self.pushButtonLoadDataForPlanes.setSizePolicy(sizePolicy)
        self.pushButtonLoadDataForPlanes.setAutoRepeat(False)
        self.pushButtonLoadDataForPlanes.setAutoRepeatDelay(50)
        self.pushButtonLoadDataForPlanes.setAutoRepeatInterval(25)
        self.pushButtonLoadDataForPlanes.setObjectName("pushButtonLoadDataForPlanes")
        self.gridLayout_11.addWidget(self.pushButtonLoadDataForPlanes, 0, 0, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_11.addItem(spacerItem4, 0, 1, 1, 1)
        self.pushButtonTogglePlaneEdges = QtGui.QPushButton(self.gridLayoutWidget_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButtonTogglePlaneEdges.sizePolicy().hasHeightForWidth())
        self.pushButtonTogglePlaneEdges.setSizePolicy(sizePolicy)
        self.pushButtonTogglePlaneEdges.setAutoFillBackground(True)
        self.pushButtonTogglePlaneEdges.setCheckable(True)
        self.pushButtonTogglePlaneEdges.setChecked(False)
        self.pushButtonTogglePlaneEdges.setAutoRepeat(False)
        self.pushButtonTogglePlaneEdges.setAutoRepeatDelay(50)
        self.pushButtonTogglePlaneEdges.setAutoRepeatInterval(25)
        self.pushButtonTogglePlaneEdges.setObjectName("pushButtonTogglePlaneEdges")
        self.gridLayout_11.addWidget(self.pushButtonTogglePlaneEdges, 0, 2, 1, 1)
        self.pushButtonResetPlanes = QtGui.QPushButton(self.gridLayoutWidget_3)
        self.pushButtonResetPlanes.setObjectName("pushButtonResetPlanes")
        self.gridLayout_11.addWidget(self.pushButtonResetPlanes, 1, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_11.addItem(spacerItem5, 1, 1, 1, 1)
        self.tabWidgetPanels.addTab(self.tabPlanes, "")
        self.tab_6 = QtGui.QWidget()
        self.tab_6.setObjectName("tab_6")
        self.gridLayoutWidget_2 = QtGui.QWidget(self.tab_6)
        self.gridLayoutWidget_2.setGeometry(QtCore.QRect(0, 0, 368, 68))
        self.gridLayoutWidget_2.setObjectName("gridLayoutWidget_2")
        self.gridLayout_10 = QtGui.QGridLayout(self.gridLayoutWidget_2)
        self.gridLayout_10.setSizeConstraint(QtGui.QLayout.SetMaximumSize)
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.pushButtonLoadSurface = QtGui.QPushButton(self.gridLayoutWidget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButtonLoadSurface.sizePolicy().hasHeightForWidth())
        self.pushButtonLoadSurface.setSizePolicy(sizePolicy)
        self.pushButtonLoadSurface.setAutoFillBackground(True)
        self.pushButtonLoadSurface.setAutoRepeat(False)
        self.pushButtonLoadSurface.setAutoRepeatDelay(50)
        self.pushButtonLoadSurface.setAutoRepeatInterval(25)
        self.pushButtonLoadSurface.setObjectName("pushButtonLoadSurface")
        self.gridLayout_10.addWidget(self.pushButtonLoadSurface, 0, 0, 1, 1)
        self.pushButtonSaveSurface = QtGui.QPushButton(self.gridLayoutWidget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButtonSaveSurface.sizePolicy().hasHeightForWidth())
        self.pushButtonSaveSurface.setSizePolicy(sizePolicy)
        self.pushButtonSaveSurface.setAutoFillBackground(True)
        self.pushButtonSaveSurface.setAutoRepeat(False)
        self.pushButtonSaveSurface.setAutoRepeatDelay(50)
        self.pushButtonSaveSurface.setAutoRepeatInterval(25)
        self.pushButtonSaveSurface.setAutoDefault(False)
        self.pushButtonSaveSurface.setObjectName("pushButtonSaveSurface")
        self.gridLayout_10.addWidget(self.pushButtonSaveSurface, 1, 2, 1, 1)
        self.pushButtonGenerateSurface = QtGui.QPushButton(self.gridLayoutWidget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButtonGenerateSurface.sizePolicy().hasHeightForWidth())
        self.pushButtonGenerateSurface.setSizePolicy(sizePolicy)
        self.pushButtonGenerateSurface.setAutoFillBackground(True)
        self.pushButtonGenerateSurface.setAutoRepeat(False)
        self.pushButtonGenerateSurface.setAutoRepeatDelay(50)
        self.pushButtonGenerateSurface.setAutoRepeatInterval(25)
        self.pushButtonGenerateSurface.setObjectName("pushButtonGenerateSurface")
        self.gridLayout_10.addWidget(self.pushButtonGenerateSurface, 1, 0, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_10.addItem(spacerItem6, 1, 1, 1, 1)
        spacerItem7 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_10.addItem(spacerItem7, 0, 1, 1, 1)
        self.pushButtonGenerateStatsSurfaces = QtGui.QPushButton(self.gridLayoutWidget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButtonGenerateStatsSurfaces.sizePolicy().hasHeightForWidth())
        self.pushButtonGenerateStatsSurfaces.setSizePolicy(sizePolicy)
        self.pushButtonGenerateStatsSurfaces.setAutoFillBackground(True)
        self.pushButtonGenerateStatsSurfaces.setAutoRepeat(False)
        self.pushButtonGenerateStatsSurfaces.setAutoRepeatDelay(50)
        self.pushButtonGenerateStatsSurfaces.setAutoRepeatInterval(25)
        self.pushButtonGenerateStatsSurfaces.setObjectName("pushButtonGenerateStatsSurfaces")
        self.gridLayout_10.addWidget(self.pushButtonGenerateStatsSurfaces, 0, 2, 1, 1)
        self.tabWidgetPanels.addTab(self.tab_6, "")
        self.tabWidget = QtGui.QTabWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(118, 118, 117))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
        self.tabWidget.setPalette(palette)
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(8)
        font.setWeight(50)
        font.setBold(False)
        self.tabWidget.setFont(font)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.West)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtGui.QWidget()
        self.tab.setObjectName("tab")
        self.gridLayout_2 = QtGui.QGridLayout(self.tab)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.gridLayout_7 = QtGui.QGridLayout(self.tab_2)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.orthoViewLayout = QtGui.QGridLayout()
        self.orthoViewLayout.setObjectName("orthoViewLayout")
        self.placeHolder1 = QtGui.QLabel(self.tab_2)
        self.placeHolder1.setObjectName("placeHolder1")
        self.orthoViewLayout.addWidget(self.placeHolder1, 0, 0, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        spacerItem8 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Maximum)
        self.verticalLayout.addItem(spacerItem8)
        self.orthoViewLayout.addLayout(self.verticalLayout, 1, 1, 1, 1)
        self.gridLayout_7.addLayout(self.orthoViewLayout, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab_2, "")
        self.gridLayout.addWidget(self.splitter, 0, 0, 1, 1)
        myMainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtGui.QStatusBar(myMainWindow)
        self.statusbar.setObjectName("statusbar")
        myMainWindow.setStatusBar(self.statusbar)
        self.menubar = QtGui.QMenuBar(myMainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 948, 27))
        self.menubar.setObjectName("menubar")
        myMainWindow.setMenuBar(self.menubar)
        self.dockWidget = QtGui.QDockWidget(myMainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dockWidget.sizePolicy().hasHeightForWidth())
        self.dockWidget.setSizePolicy(sizePolicy)
        self.dockWidget.setMinimumSize(QtCore.QSize(168, 300))
        self.dockWidget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.dockWidget.setFloating(False)
        self.dockWidget.setFeatures(QtGui.QDockWidget.DockWidgetFloatable|QtGui.QDockWidget.DockWidgetMovable)
        self.dockWidget.setAllowedAreas(QtCore.Qt.LeftDockWidgetArea|QtCore.Qt.RightDockWidgetArea)
        self.dockWidget.setObjectName("dockWidget")
        self.dockWidgetContents = QtGui.QWidget()
        self.dockWidgetContents.setObjectName("dockWidgetContents")
        self.gridLayout_4 = QtGui.QGridLayout(self.dockWidgetContents)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.ItemList_QTreeWidget = QtGui.QTreeWidget(self.dockWidgetContents)
        self.ItemList_QTreeWidget.setObjectName("ItemList_QTreeWidget")
        self.ItemList_QTreeWidget.headerItem().setText(0, "1")
        self.ItemList_QTreeWidget.header().setVisible(False)
        self.gridLayout_4.addWidget(self.ItemList_QTreeWidget, 0, 0, 1, 1)
        self.dockWidget.setWidget(self.dockWidgetContents)
        myMainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dockWidget)
        self.dockWidget_2 = QtGui.QDockWidget(myMainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dockWidget_2.sizePolicy().hasHeightForWidth())
        self.dockWidget_2.setSizePolicy(sizePolicy)
        self.dockWidget_2.setMinimumSize(QtCore.QSize(450, 200))
        self.dockWidget_2.setFloating(False)
        self.dockWidget_2.setFeatures(QtGui.QDockWidget.DockWidgetFloatable|QtGui.QDockWidget.DockWidgetMovable)
        self.dockWidget_2.setObjectName("dockWidget_2")
        self.dockWidgetContents_2 = QtGui.QWidget()
        self.dockWidgetContents_2.setObjectName("dockWidgetContents_2")
        self.gridLayout_3 = QtGui.QGridLayout(self.dockWidgetContents_2)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.orthoViewLayout_dock = QtGui.QHBoxLayout()
        self.orthoViewLayout_dock.setObjectName("orthoViewLayout_dock")
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.pushButtonOrthoBackgroundColor = QtGui.QPushButton(self.dockWidgetContents_2)
        self.pushButtonOrthoBackgroundColor.setObjectName("pushButtonOrthoBackgroundColor")
        self.verticalLayout_2.addWidget(self.pushButtonOrthoBackgroundColor)
        self.orthoViewLayout_dock.addLayout(self.verticalLayout_2)
        self.gridLayout_3.addLayout(self.orthoViewLayout_dock, 0, 0, 1, 1)
        self.dockWidget_2.setWidget(self.dockWidgetContents_2)
        myMainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(8), self.dockWidget_2)

        self.retranslateUi(myMainWindow)
        self.tabWidgetPanels.setCurrentIndex(1)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(myMainWindow)

    def retranslateUi(self, myMainWindow):
        myMainWindow.setWindowTitle(QtGui.QApplication.translate("myMainWindow", "DV3D v2.01 Beta - main window", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonResetView.setToolTip(QtGui.QApplication.translate("myMainWindow", "Resets the view direction of the camera to the value currently shown in \'View from\'", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonResetView.setText(QtGui.QApplication.translate("myMainWindow", "Reset View", None, QtGui.QApplication.UnicodeUTF8))
        self.labelViewFrom.setToolTip(QtGui.QApplication.translate("myMainWindow", "Changes the direction the camera \'looks\' at the data from", None, QtGui.QApplication.UnicodeUTF8))
        self.labelViewFrom.setText(QtGui.QApplication.translate("myMainWindow", "View from:", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonBackgroundColour.setToolTip(QtGui.QApplication.translate("myMainWindow", "Changes the background colour of the 3d window", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonBackgroundColour.setText(QtGui.QApplication.translate("myMainWindow", "Background Colour", None, QtGui.QApplication.UnicodeUTF8))
        self.comboBoxViewFrom.setToolTip(QtGui.QApplication.translate("myMainWindow", "Changes the direction the camera \'looks\' at the data from", None, QtGui.QApplication.UnicodeUTF8))
        self.labelViewType.setToolTip(QtGui.QApplication.translate("myMainWindow", "Changes whether the camera projects \'perspective\' (depth corrected) information or not", None, QtGui.QApplication.UnicodeUTF8))
        self.labelViewType.setText(QtGui.QApplication.translate("myMainWindow", "View type:", None, QtGui.QApplication.UnicodeUTF8))
        self.comboBoxViewType.setToolTip(QtGui.QApplication.translate("myMainWindow", "Changes whether the camera projects \'perspective\' (depth corrected) information or not", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetPanels.setTabText(self.tabWidgetPanels.indexOf(self.tab_4), QtGui.QApplication.translate("myMainWindow", "Main", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonLoadDataForPlanes.setToolTip(QtGui.QApplication.translate("myMainWindow", "Load some volumetric data to show in planes", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonLoadDataForPlanes.setText(QtGui.QApplication.translate("myMainWindow", "Load data for planes", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonTogglePlaneEdges.setToolTip(QtGui.QApplication.translate("myMainWindow", "Togggle this button to hide/show the R/G/B edges around the planes", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonTogglePlaneEdges.setText(QtGui.QApplication.translate("myMainWindow", "Plane edges visible", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonResetPlanes.setToolTip(QtGui.QApplication.translate("myMainWindow", "Reset the planes to x-y-z orientations and recentre in the 3d window", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonResetPlanes.setText(QtGui.QApplication.translate("myMainWindow", "Reset Planes", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetPanels.setTabText(self.tabWidgetPanels.indexOf(self.tabPlanes), QtGui.QApplication.translate("myMainWindow", "Planes", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonLoadSurface.setText(QtGui.QApplication.translate("myMainWindow", "Load a surface", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonSaveSurface.setText(QtGui.QApplication.translate("myMainWindow", "Save a surface", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonGenerateSurface.setText(QtGui.QApplication.translate("myMainWindow", "Generate a surface", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonGenerateStatsSurfaces.setText(QtGui.QApplication.translate("myMainWindow", "Generate stats surfaces", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetPanels.setTabText(self.tabWidgetPanels.indexOf(self.tab_6), QtGui.QApplication.translate("myMainWindow", "Surfaces", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("myMainWindow", "Main 3d window", None, QtGui.QApplication.UnicodeUTF8))
        self.placeHolder1.setText(QtGui.QApplication.translate("myMainWindow", "Coming soon! - Place Holder", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("myMainWindow", "Flat views", None, QtGui.QApplication.UnicodeUTF8))
        self.dockWidget.setWindowTitle(QtGui.QApplication.translate("myMainWindow", "Loaded Object List", None, QtGui.QApplication.UnicodeUTF8))
        self.dockWidget_2.setWindowTitle(QtGui.QApplication.translate("myMainWindow", "Orthogonal views", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonOrthoBackgroundColor.setToolTip(QtGui.QApplication.translate("myMainWindow", "Changes the background colour of the 2d (orthogonal) windows", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonOrthoBackgroundColor.setText(QtGui.QApplication.translate("myMainWindow", "Background Color", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    myMainWindow = QtGui.QMainWindow()
    ui = Ui_myMainWindow()
    ui.setupUi(myMainWindow)
    myMainWindow.show()
    sys.exit(app.exec_())

