class Ui_ZincViewGraphics(object):
    def setupUi(self, ZincViewGraphics):
        if not ZincViewGraphics.objectName():
            ZincViewGraphics.setObjectName(u"ZincViewGraphics")
        ZincViewGraphics.resize(800, 600)
        self.centralwidget = QWidget(ZincViewGraphics)
        self.centralwidget.setObjectName(u"centralwidget")
        self.verticalLayout_3 = QVBoxLayout(self.centralwidget)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.sceneviewerWidget = SceneviewerWidget(self.centralwidget)
        self.sceneviewerWidget.setObjectName(u"sceneviewerWidget")
        sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.sceneviewerWidget.sizePolicy().hasHeightForWidth())
        self.sceneviewerWidget.setSizePolicy(sizePolicy)

        self.verticalLayout_3.addWidget(self.sceneviewerWidget)

        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setContentsMargins(3, 3, 3, 3)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.horizontalLayout.setSizeConstraint(QLayout.SetDefaultConstraint)
        self.viewAllButton = QPushButton(self.centralwidget)
        self.viewAllButton.setObjectName(u"viewAllButton")

        self.horizontalLayout.addWidget(self.viewAllButton)

        self.customButton = QPushButton(self.centralwidget)
        self.customButton.setObjectName(u"customButton")

        self.horizontalLayout.addWidget(self.customButton)

        self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Expanding,
                                            QSizePolicy.Minimum)

        self.horizontalLayout.addItem(self.horizontalSpacer)

        self.verticalLayout_3.addLayout(self.horizontalLayout)

        ZincViewGraphics.setCentralWidget(self.centralwidget)

        self.retranslateUi(ZincViewGraphics)

        QMetaObject.connectSlotsByName(ZincViewGraphics)

    # setupUi

    def retranslateUi(self, ZincViewGraphics):
        ZincViewGraphics.setWindowTitle(
            QCoreApplication.translate("ZincViewGraphics",
                                       u"Zinc View Graphics", None))
        self.viewAllButton.setText(
            QCoreApplication.translate("ZincViewGraphics", u"View All", None))
        self.customButton.setText(
            QCoreApplication.translate("ZincViewGraphics", u"Custom", None))
class Ui_PlainModelViewerWidget(object):
    def setupUi(self, PlainModelViewerWidget):
        PlainModelViewerWidget.setObjectName("PlainModelViewerWidget")
        PlainModelViewerWidget.resize(626, 505)
        self.horizontalLayout = QtGui.QHBoxLayout(PlainModelViewerWidget)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.toolBox = QtGui.QToolBox(PlainModelViewerWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolBox.sizePolicy().hasHeightForWidth())
        self.toolBox.setSizePolicy(sizePolicy)
        self.toolBox.setObjectName("toolBox")
        self.pageView = QtGui.QWidget()
        self.pageView.setGeometry(QtCore.QRect(0, 0, 118, 450))
        self.pageView.setObjectName("pageView")
        self.verticalLayout = QtGui.QVBoxLayout(self.pageView)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.pushButtonDone = QtGui.QPushButton(self.pageView)
        self.pushButtonDone.setObjectName("pushButtonDone")
        self.horizontalLayout_2.addWidget(self.pushButtonDone)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        spacerItem1 = QtGui.QSpacerItem(20, 381, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem1)
        self.toolBox.addItem(self.pageView, "")
        self.horizontalLayout.addWidget(self.toolBox)
        self.widgetZinc = SceneviewerWidget(PlainModelViewerWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(4)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widgetZinc.sizePolicy().hasHeightForWidth())
        self.widgetZinc.setSizePolicy(sizePolicy)
        self.widgetZinc.setObjectName("widgetZinc")
        self.horizontalLayout.addWidget(self.widgetZinc)

        self.retranslateUi(PlainModelViewerWidget)
        self.toolBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(PlainModelViewerWidget)

    def retranslateUi(self, PlainModelViewerWidget):
        PlainModelViewerWidget.setWindowTitle(QtGui.QApplication.translate("PlainModelViewerWidget", "Plain Model Viewer Widget", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonDone.setText(QtGui.QApplication.translate("PlainModelViewerWidget", "Done", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.pageView), QtGui.QApplication.translate("PlainModelViewerWidget", "View", None, QtGui.QApplication.UnicodeUTF8))
class Ui_ZincViewGraphics(object):
    def setupUi(self, ZincViewGraphics):
        ZincViewGraphics.setObjectName("ZincViewGraphics")
        ZincViewGraphics.resize(800, 600)
        self.centralwidget = QtGui.QWidget(ZincViewGraphics)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.sceneviewerWidget = SceneviewerWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sceneviewerWidget.sizePolicy().hasHeightForWidth())
        self.sceneviewerWidget.setSizePolicy(sizePolicy)
        self.sceneviewerWidget.setObjectName("sceneviewerWidget")
        self.verticalLayout_3.addWidget(self.sceneviewerWidget)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.horizontalLayout.setContentsMargins(3, 3, 3, 3)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.viewAllButton = QtGui.QPushButton(self.centralwidget)
        self.viewAllButton.setObjectName("viewAllButton")
        self.horizontalLayout.addWidget(self.viewAllButton)
        self.customButton = QtGui.QPushButton(self.centralwidget)
        self.customButton.setObjectName("customButton")
        self.horizontalLayout.addWidget(self.customButton)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        ZincViewGraphics.setCentralWidget(self.centralwidget)

        self.retranslateUi(ZincViewGraphics)
        QtCore.QMetaObject.connectSlotsByName(ZincViewGraphics)

    def retranslateUi(self, ZincViewGraphics):
        ZincViewGraphics.setWindowTitle(QtGui.QApplication.translate("ZincViewGraphics", "Zinc View Graphics", None, QtGui.QApplication.UnicodeUTF8))
        self.viewAllButton.setText(QtGui.QApplication.translate("ZincViewGraphics", "View All", None, QtGui.QApplication.UnicodeUTF8))
        self.customButton.setText(QtGui.QApplication.translate("ZincViewGraphics", "Custom", None, QtGui.QApplication.UnicodeUTF8))
示例#4
0
class Ui_MeshGeneratorWidget(object):
    def setupUi(self, MeshGeneratorWidget):
        MeshGeneratorWidget.setObjectName("MeshGeneratorWidget")
        MeshGeneratorWidget.resize(580, 616)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            MeshGeneratorWidget.sizePolicy().hasHeightForWidth())
        MeshGeneratorWidget.setSizePolicy(sizePolicy)
        self.horizontalLayout = QtGui.QHBoxLayout(MeshGeneratorWidget)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.dockWidget = QtGui.QDockWidget(MeshGeneratorWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dockWidget.sizePolicy().hasHeightForWidth())
        self.dockWidget.setSizePolicy(sizePolicy)
        self.dockWidget.setMinimumSize(QtCore.QSize(353, 197))
        self.dockWidget.setFeatures(QtGui.QDockWidget.DockWidgetFloatable
                                    | QtGui.QDockWidget.DockWidgetMovable)
        self.dockWidget.setAllowedAreas(QtCore.Qt.AllDockWidgetAreas)
        self.dockWidget.setObjectName("dockWidget")
        self.dockWidgetContents = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dockWidgetContents.sizePolicy().hasHeightForWidth())
        self.dockWidgetContents.setSizePolicy(sizePolicy)
        self.dockWidgetContents.setObjectName("dockWidgetContents")
        self.verticalLayout = QtGui.QVBoxLayout(self.dockWidgetContents)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.scrollArea = QtGui.QScrollArea(self.dockWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.scrollArea.sizePolicy().hasHeightForWidth())
        self.scrollArea.setSizePolicy(sizePolicy)
        self.scrollArea.setMinimumSize(QtCore.QSize(0, 0))
        self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents_2 = QtGui.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(
            QtCore.QRect(0, 0, 364, 531))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.scrollAreaWidgetContents_2.sizePolicy().hasHeightForWidth())
        self.scrollAreaWidgetContents_2.setSizePolicy(sizePolicy)
        self.scrollAreaWidgetContents_2.setObjectName(
            "scrollAreaWidgetContents_2")
        self.verticalLayout_2 = QtGui.QVBoxLayout(
            self.scrollAreaWidgetContents_2)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.identifier_frame = QtGui.QFrame(self.scrollAreaWidgetContents_2)
        self.identifier_frame.setMinimumSize(QtCore.QSize(0, 0))
        self.identifier_frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.identifier_frame.setFrameShadow(QtGui.QFrame.Raised)
        self.identifier_frame.setObjectName("identifier_frame")
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.identifier_frame)
        self.verticalLayout_4.setContentsMargins(-1, 5, -1, 3)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.identifier_label = QtGui.QLabel(self.identifier_frame)
        self.identifier_label.setObjectName("identifier_label")
        self.verticalLayout_4.addWidget(self.identifier_label)
        self.line = QtGui.QFrame(self.identifier_frame)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout_4.addWidget(self.line)
        self.verticalLayout_3.addWidget(self.identifier_frame)
        self.meshType_frame = QtGui.QFrame(self.scrollAreaWidgetContents_2)
        self.meshType_frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.meshType_frame.setFrameShadow(QtGui.QFrame.Raised)
        self.meshType_frame.setObjectName("meshType_frame")
        self.formLayout_3 = QtGui.QFormLayout(self.meshType_frame)
        self.formLayout_3.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_3.setContentsMargins(-1, 3, -1, -1)
        self.formLayout_3.setObjectName("formLayout_3")
        self.meshType_label = QtGui.QLabel(self.meshType_frame)
        self.meshType_label.setObjectName("meshType_label")
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole,
                                    self.meshType_label)
        self.meshType_comboBox = QtGui.QComboBox(self.meshType_frame)
        self.meshType_comboBox.setObjectName("meshType_comboBox")
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole,
                                    self.meshType_comboBox)
        self.verticalLayout_3.addWidget(self.meshType_frame)
        self.meshTypeOptions_frame = QtGui.QFrame(
            self.scrollAreaWidgetContents_2)
        self.meshTypeOptions_frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.meshTypeOptions_frame.setFrameShadow(QtGui.QFrame.Raised)
        self.meshTypeOptions_frame.setObjectName("meshTypeOptions_frame")
        self.verticalLayout_9 = QtGui.QVBoxLayout(self.meshTypeOptions_frame)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.verticalLayout_3.addWidget(self.meshTypeOptions_frame)
        self.modifyOptions_frame = QtGui.QFrame(
            self.scrollAreaWidgetContents_2)
        self.modifyOptions_frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.modifyOptions_frame.setFrameShadow(QtGui.QFrame.Raised)
        self.modifyOptions_frame.setObjectName("modifyOptions_frame")
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.modifyOptions_frame)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.deleteElementRanges_label = QtGui.QLabel(self.modifyOptions_frame)
        self.deleteElementRanges_label.setObjectName(
            "deleteElementRanges_label")
        self.verticalLayout_6.addWidget(self.deleteElementRanges_label)
        self.deleteElementsRanges_lineEdit = QtGui.QLineEdit(
            self.modifyOptions_frame)
        self.deleteElementsRanges_lineEdit.setObjectName(
            "deleteElementsRanges_lineEdit")
        self.verticalLayout_6.addWidget(self.deleteElementsRanges_lineEdit)
        self.scale_label = QtGui.QLabel(self.modifyOptions_frame)
        self.scale_label.setObjectName("scale_label")
        self.verticalLayout_6.addWidget(self.scale_label)
        self.scale_lineEdit = QtGui.QLineEdit(self.modifyOptions_frame)
        self.scale_lineEdit.setObjectName("scale_lineEdit")
        self.verticalLayout_6.addWidget(self.scale_lineEdit)
        self.verticalLayout_3.addWidget(self.modifyOptions_frame)
        self.displayOptions_groupBox = QtGui.QGroupBox(
            self.scrollAreaWidgetContents_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.displayOptions_groupBox.sizePolicy().hasHeightForWidth())
        self.displayOptions_groupBox.setSizePolicy(sizePolicy)
        self.displayOptions_groupBox.setObjectName("displayOptions_groupBox")
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.displayOptions_groupBox)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.displayAxes_checkBox = QtGui.QCheckBox(
            self.displayOptions_groupBox)
        self.displayAxes_checkBox.setObjectName("displayAxes_checkBox")
        self.verticalLayout_7.addWidget(self.displayAxes_checkBox)
        self.displayLines_checkBox = QtGui.QCheckBox(
            self.displayOptions_groupBox)
        self.displayLines_checkBox.setObjectName("displayLines_checkBox")
        self.verticalLayout_7.addWidget(self.displayLines_checkBox)
        self.displaySurfaces_frame = QtGui.QFrame(self.displayOptions_groupBox)
        self.displaySurfaces_frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.displaySurfaces_frame.setFrameShadow(QtGui.QFrame.Raised)
        self.displaySurfaces_frame.setObjectName("displaySurfaces_frame")
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.displaySurfaces_frame)
        self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.displaySurfaces_checkBox = QtGui.QCheckBox(
            self.displaySurfaces_frame)
        self.displaySurfaces_checkBox.setObjectName("displaySurfaces_checkBox")
        self.horizontalLayout_3.addWidget(self.displaySurfaces_checkBox)
        self.displaySurfacesExterior_checkBox = QtGui.QCheckBox(
            self.displaySurfaces_frame)
        self.displaySurfacesExterior_checkBox.setObjectName(
            "displaySurfacesExterior_checkBox")
        self.horizontalLayout_3.addWidget(
            self.displaySurfacesExterior_checkBox)
        self.displaySurfacesTranslucent_checkBox = QtGui.QCheckBox(
            self.displaySurfaces_frame)
        self.displaySurfacesTranslucent_checkBox.setObjectName(
            "displaySurfacesTranslucent_checkBox")
        self.horizontalLayout_3.addWidget(
            self.displaySurfacesTranslucent_checkBox)
        self.displaySurfacesWireframe_checkBox = QtGui.QCheckBox(
            self.displaySurfaces_frame)
        self.displaySurfacesWireframe_checkBox.setObjectName(
            "displaySurfacesWireframe_checkBox")
        self.horizontalLayout_3.addWidget(
            self.displaySurfacesWireframe_checkBox)
        self.verticalLayout_7.addWidget(self.displaySurfaces_frame)
        self.displayElementNumbers_checkBox = QtGui.QCheckBox(
            self.displayOptions_groupBox)
        self.displayElementNumbers_checkBox.setObjectName(
            "displayElementNumbers_checkBox")
        self.verticalLayout_7.addWidget(self.displayElementNumbers_checkBox)
        self.displayNodeNumbers_checkBox = QtGui.QCheckBox(
            self.displayOptions_groupBox)
        self.displayNodeNumbers_checkBox.setObjectName(
            "displayNodeNumbers_checkBox")
        self.verticalLayout_7.addWidget(self.displayNodeNumbers_checkBox)
        self.displayNodeDerivatives_checkBox = QtGui.QCheckBox(
            self.displayOptions_groupBox)
        self.displayNodeDerivatives_checkBox.setObjectName(
            "displayNodeDerivatives_checkBox")
        self.verticalLayout_7.addWidget(self.displayNodeDerivatives_checkBox)
        self.displayXiAxes_checkBox = QtGui.QCheckBox(
            self.displayOptions_groupBox)
        self.displayXiAxes_checkBox.setObjectName("displayXiAxes_checkBox")
        self.verticalLayout_7.addWidget(self.displayXiAxes_checkBox)
        self.verticalLayout_3.addWidget(self.displayOptions_groupBox)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.verticalLayout_2.addLayout(self.verticalLayout_3)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents_2)
        self.verticalLayout.addWidget(self.scrollArea)
        self.frame = QtGui.QFrame(self.dockWidgetContents)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frame)
        self.horizontalLayout_2.setContentsMargins(3, 3, 3, 3)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.viewAll_button = QtGui.QPushButton(self.frame)
        self.viewAll_button.setObjectName("viewAll_button")
        self.horizontalLayout_2.addWidget(self.viewAll_button)
        self.done_button = QtGui.QPushButton(self.frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.done_button.sizePolicy().hasHeightForWidth())
        self.done_button.setSizePolicy(sizePolicy)
        self.done_button.setObjectName("done_button")
        self.horizontalLayout_2.addWidget(self.done_button)
        self.verticalLayout.addWidget(self.frame)
        self.dockWidget.setWidget(self.dockWidgetContents)
        self.horizontalLayout.addWidget(self.dockWidget)
        self.sceneviewer_widget = SceneviewerWidget(MeshGeneratorWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(4)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.sceneviewer_widget.sizePolicy().hasHeightForWidth())
        self.sceneviewer_widget.setSizePolicy(sizePolicy)
        self.sceneviewer_widget.setObjectName("sceneviewer_widget")
        self.horizontalLayout.addWidget(self.sceneviewer_widget)

        self.retranslateUi(MeshGeneratorWidget)
        QtCore.QMetaObject.connectSlotsByName(MeshGeneratorWidget)

    def retranslateUi(self, MeshGeneratorWidget):
        MeshGeneratorWidget.setWindowTitle(
            QtGui.QApplication.translate("MeshGeneratorWidget", "Form", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.dockWidget.setWindowTitle(
            QtGui.QApplication.translate("MeshGeneratorWidget",
                                         "Mesh Generator Controls", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.identifier_label.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget", "Identifier",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.meshType_label.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget", "Mesh type:",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.deleteElementRanges_label.setText(
            QtGui.QApplication.translate(
                "MeshGeneratorWidget",
                "Delete element ID ranges (e.g. 1,2-5,13):", None,
                QtGui.QApplication.UnicodeUTF8))
        self.scale_label.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget", "Scale x*y*z:",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.displayOptions_groupBox.setTitle(
            QtGui.QApplication.translate("MeshGeneratorWidget",
                                         "Display options:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.displayAxes_checkBox.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget", "Axes", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.displayLines_checkBox.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget", "Lines", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.displaySurfaces_checkBox.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget", "Surfaces",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.displaySurfacesExterior_checkBox.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget", "Exterior",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.displaySurfacesTranslucent_checkBox.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget", "Transluc.",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.displaySurfacesWireframe_checkBox.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget", "Wireframe",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.displayElementNumbers_checkBox.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget",
                                         "Element numbers", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.displayNodeNumbers_checkBox.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget", "Node numbers",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.displayNodeDerivatives_checkBox.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget",
                                         "Node derivatives", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.displayXiAxes_checkBox.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget", "Xi axes",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.viewAll_button.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget", "View All",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.done_button.setText(
            QtGui.QApplication.translate("MeshGeneratorWidget", "Done", None,
                                         QtGui.QApplication.UnicodeUTF8))
示例#5
0
class Ui_MeshMergerWidget(object):
    def setupUi(self, MeshMergerWidget):
        if not MeshMergerWidget.objectName():
            MeshMergerWidget.setObjectName(u"MeshMergerWidget")
        MeshMergerWidget.resize(809, 649)
        sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MeshMergerWidget.sizePolicy().hasHeightForWidth())
        MeshMergerWidget.setSizePolicy(sizePolicy)
        self.horizontalLayout = QHBoxLayout(MeshMergerWidget)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.dockWidget = QDockWidget(MeshMergerWidget)
        self.dockWidget.setObjectName(u"dockWidget")
        sizePolicy1 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Expanding)
        sizePolicy1.setHorizontalStretch(1)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.dockWidget.sizePolicy().hasHeightForWidth())
        self.dockWidget.setSizePolicy(sizePolicy1)
        self.dockWidget.setMinimumSize(QSize(353, 197))
        self.dockWidget.setFeatures(QDockWidget.DockWidgetFloatable|QDockWidget.DockWidgetMovable)
        self.dockWidget.setAllowedAreas(Qt.AllDockWidgetAreas)
        self.dockWidgetContents = QWidget()
        self.dockWidgetContents.setObjectName(u"dockWidgetContents")
        sizePolicy2 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Expanding)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(self.dockWidgetContents.sizePolicy().hasHeightForWidth())
        self.dockWidgetContents.setSizePolicy(sizePolicy2)
        self.verticalLayout = QVBoxLayout(self.dockWidgetContents)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.scrollArea = QScrollArea(self.dockWidgetContents)
        self.scrollArea.setObjectName(u"scrollArea")
        sizePolicy2.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
        self.scrollArea.setSizePolicy(sizePolicy2)
        self.scrollArea.setVerticalScrollBarPolicy(Qt.ScrollBarAsNeeded)
        self.scrollArea.setWidgetResizable(True)
        self.scrollAreaWidgetContents_2 = QWidget()
        self.scrollAreaWidgetContents_2.setObjectName(u"scrollAreaWidgetContents_2")
        self.scrollAreaWidgetContents_2.setGeometry(QRect(0, 0, 365, 564))
        sizePolicy2.setHeightForWidth(self.scrollAreaWidgetContents_2.sizePolicy().hasHeightForWidth())
        self.scrollAreaWidgetContents_2.setSizePolicy(sizePolicy2)
        self.verticalLayout_2 = QVBoxLayout(self.scrollAreaWidgetContents_2)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3 = QVBoxLayout()
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.identifier_frame = QFrame(self.scrollAreaWidgetContents_2)
        self.identifier_frame.setObjectName(u"identifier_frame")
        self.identifier_frame.setMinimumSize(QSize(0, 0))
        self.identifier_frame.setFrameShape(QFrame.StyledPanel)
        self.identifier_frame.setFrameShadow(QFrame.Raised)
        self.verticalLayout_5 = QVBoxLayout(self.identifier_frame)
        self.verticalLayout_5.setObjectName(u"verticalLayout_5")
        self.verticalLayout_5.setContentsMargins(-1, 5, -1, 3)
        self.identifier_label = QLabel(self.identifier_frame)
        self.identifier_label.setObjectName(u"identifier_label")

        self.verticalLayout_5.addWidget(self.identifier_label)

        self.line = QFrame(self.identifier_frame)
        self.line.setObjectName(u"line")
        self.line.setFrameShape(QFrame.HLine)
        self.line.setFrameShadow(QFrame.Sunken)

        self.verticalLayout_5.addWidget(self.line)


        self.verticalLayout_3.addWidget(self.identifier_frame)

        self.mergeNodes_frame = QFrame(self.scrollAreaWidgetContents_2)
        self.mergeNodes_frame.setObjectName(u"mergeNodes_frame")
        self.mergeNodes_frame.setFrameShape(QFrame.StyledPanel)
        self.mergeNodes_frame.setFrameShadow(QFrame.Raised)
        self.verticalLayout_4 = QVBoxLayout(self.mergeNodes_frame)
        self.verticalLayout_4.setObjectName(u"verticalLayout_4")
        self.verticalLayout_4.setContentsMargins(-1, 3, -1, -1)
        self.mergeNodes_label = QLabel(self.mergeNodes_frame)
        self.mergeNodes_label.setObjectName(u"mergeNodes_label")

        self.verticalLayout_4.addWidget(self.mergeNodes_label)

        self.mergeNodesEntry_widget = QWidget(self.mergeNodes_frame)
        self.mergeNodesEntry_widget.setObjectName(u"mergeNodesEntry_widget")
        self.horizontalLayout_4 = QHBoxLayout(self.mergeNodesEntry_widget)
        self.horizontalLayout_4.setSpacing(3)
        self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
        self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.mergeNodesEntry_lineEdit = QLineEdit(self.mergeNodesEntry_widget)
        self.mergeNodesEntry_lineEdit.setObjectName(u"mergeNodesEntry_lineEdit")

        self.horizontalLayout_4.addWidget(self.mergeNodesEntry_lineEdit)

        self.mergeNodesDelete_pushButton = QPushButton(self.mergeNodesEntry_widget)
        self.mergeNodesDelete_pushButton.setObjectName(u"mergeNodesDelete_pushButton")

        self.horizontalLayout_4.addWidget(self.mergeNodesDelete_pushButton)

        self.mergeNodesApply_pushButton = QPushButton(self.mergeNodesEntry_widget)
        self.mergeNodesApply_pushButton.setObjectName(u"mergeNodesApply_pushButton")

        self.horizontalLayout_4.addWidget(self.mergeNodesApply_pushButton)


        self.verticalLayout_4.addWidget(self.mergeNodesEntry_widget)

        self.mergeNodesList_plainTextEdit = QPlainTextEdit(self.mergeNodes_frame)
        self.mergeNodesList_plainTextEdit.setObjectName(u"mergeNodesList_plainTextEdit")
        self.mergeNodesList_plainTextEdit.setReadOnly(False)

        self.verticalLayout_4.addWidget(self.mergeNodesList_plainTextEdit)


        self.verticalLayout_3.addWidget(self.mergeNodes_frame)

        self.mergeOptions_groupBox = QGroupBox(self.scrollAreaWidgetContents_2)
        self.mergeOptions_groupBox.setObjectName(u"mergeOptions_groupBox")
        self.gridLayout = QGridLayout(self.mergeOptions_groupBox)
        self.gridLayout.setObjectName(u"gridLayout")
        self.previewMerge_checkBox = QCheckBox(self.mergeOptions_groupBox)
        self.previewMerge_checkBox.setObjectName(u"previewMerge_checkBox")

        self.gridLayout.addWidget(self.previewMerge_checkBox, 0, 0, 1, 1)

        self.fit_frame = QFrame(self.mergeOptions_groupBox)
        self.fit_frame.setObjectName(u"fit_frame")
        self.fit_frame.setFrameShape(QFrame.StyledPanel)
        self.fit_frame.setFrameShadow(QFrame.Raised)
        self.horizontalLayout_6 = QHBoxLayout(self.fit_frame)
        self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")
        self.horizontalLayout_6.setContentsMargins(0, 0, 0, 0)
        self.fit_checkBox = QCheckBox(self.fit_frame)
        self.fit_checkBox.setObjectName(u"fit_checkBox")

        self.horizontalLayout_6.addWidget(self.fit_checkBox)

        self.previewFit_checkBox = QCheckBox(self.fit_frame)
        self.previewFit_checkBox.setObjectName(u"previewFit_checkBox")

        self.horizontalLayout_6.addWidget(self.previewFit_checkBox)


        self.gridLayout.addWidget(self.fit_frame, 1, 0, 1, 1)


        self.verticalLayout_3.addWidget(self.mergeOptions_groupBox)

        self.displayOptions_groupBox = QGroupBox(self.scrollAreaWidgetContents_2)
        self.displayOptions_groupBox.setObjectName(u"displayOptions_groupBox")
        sizePolicy.setHeightForWidth(self.displayOptions_groupBox.sizePolicy().hasHeightForWidth())
        self.displayOptions_groupBox.setSizePolicy(sizePolicy)
        self.verticalLayout_7 = QVBoxLayout(self.displayOptions_groupBox)
        self.verticalLayout_7.setObjectName(u"verticalLayout_7")
        self.displayAxes_checkBox = QCheckBox(self.displayOptions_groupBox)
        self.displayAxes_checkBox.setObjectName(u"displayAxes_checkBox")
        self.displayAxes_checkBox.setEnabled(True)

        self.verticalLayout_7.addWidget(self.displayAxes_checkBox)

        self.displayLines_checkBox = QCheckBox(self.displayOptions_groupBox)
        self.displayLines_checkBox.setObjectName(u"displayLines_checkBox")

        self.verticalLayout_7.addWidget(self.displayLines_checkBox)

        self.displaySurfaces_frame = QFrame(self.displayOptions_groupBox)
        self.displaySurfaces_frame.setObjectName(u"displaySurfaces_frame")
        self.displaySurfaces_frame.setFrameShape(QFrame.StyledPanel)
        self.displaySurfaces_frame.setFrameShadow(QFrame.Raised)
        self.horizontalLayout_5 = QHBoxLayout(self.displaySurfaces_frame)
        self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
        self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.displaySurfaces_checkBox = QCheckBox(self.displaySurfaces_frame)
        self.displaySurfaces_checkBox.setObjectName(u"displaySurfaces_checkBox")

        self.horizontalLayout_5.addWidget(self.displaySurfaces_checkBox)

        self.displaySurfacesExterior_checkBox = QCheckBox(self.displaySurfaces_frame)
        self.displaySurfacesExterior_checkBox.setObjectName(u"displaySurfacesExterior_checkBox")

        self.horizontalLayout_5.addWidget(self.displaySurfacesExterior_checkBox)

        self.displaySurfacesTranslucent_checkBox = QCheckBox(self.displaySurfaces_frame)
        self.displaySurfacesTranslucent_checkBox.setObjectName(u"displaySurfacesTranslucent_checkBox")

        self.horizontalLayout_5.addWidget(self.displaySurfacesTranslucent_checkBox)

        self.displaySurfacesWireframe_checkBox = QCheckBox(self.displaySurfaces_frame)
        self.displaySurfacesWireframe_checkBox.setObjectName(u"displaySurfacesWireframe_checkBox")

        self.horizontalLayout_5.addWidget(self.displaySurfacesWireframe_checkBox)


        self.verticalLayout_7.addWidget(self.displaySurfaces_frame)

        self.displayElementNumbers_checkBox = QCheckBox(self.displayOptions_groupBox)
        self.displayElementNumbers_checkBox.setObjectName(u"displayElementNumbers_checkBox")

        self.verticalLayout_7.addWidget(self.displayElementNumbers_checkBox)

        self.displayNodeNumbers_checkBox = QCheckBox(self.displayOptions_groupBox)
        self.displayNodeNumbers_checkBox.setObjectName(u"displayNodeNumbers_checkBox")

        self.verticalLayout_7.addWidget(self.displayNodeNumbers_checkBox)

        self.displayNodeDerivatives_checkBox = QCheckBox(self.displayOptions_groupBox)
        self.displayNodeDerivatives_checkBox.setObjectName(u"displayNodeDerivatives_checkBox")
        self.displayNodeDerivatives_checkBox.setEnabled(True)

        self.verticalLayout_7.addWidget(self.displayNodeDerivatives_checkBox)

        self.displayXiAxes_checkBox = QCheckBox(self.displayOptions_groupBox)
        self.displayXiAxes_checkBox.setObjectName(u"displayXiAxes_checkBox")
        self.displayXiAxes_checkBox.setEnabled(True)

        self.verticalLayout_7.addWidget(self.displayXiAxes_checkBox)


        self.verticalLayout_3.addWidget(self.displayOptions_groupBox)

        self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.verticalLayout_3.addItem(self.verticalSpacer)


        self.verticalLayout_2.addLayout(self.verticalLayout_3)

        self.scrollArea.setWidget(self.scrollAreaWidgetContents_2)

        self.verticalLayout.addWidget(self.scrollArea)

        self.frame = QFrame(self.dockWidgetContents)
        self.frame.setObjectName(u"frame")
        self.frame.setFrameShape(QFrame.StyledPanel)
        self.frame.setFrameShadow(QFrame.Raised)
        self.horizontalLayout_2 = QHBoxLayout(self.frame)
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.horizontalLayout_2.setContentsMargins(3, 3, 3, 3)
        self.viewAll_button = QPushButton(self.frame)
        self.viewAll_button.setObjectName(u"viewAll_button")

        self.horizontalLayout_2.addWidget(self.viewAll_button)

        self.done_button = QPushButton(self.frame)
        self.done_button.setObjectName(u"done_button")
        sizePolicy3 = QSizePolicy(QSizePolicy.Minimum, QSizePolicy.Fixed)
        sizePolicy3.setHorizontalStretch(0)
        sizePolicy3.setVerticalStretch(0)
        sizePolicy3.setHeightForWidth(self.done_button.sizePolicy().hasHeightForWidth())
        self.done_button.setSizePolicy(sizePolicy3)

        self.horizontalLayout_2.addWidget(self.done_button)


        self.verticalLayout.addWidget(self.frame)

        self.dockWidget.setWidget(self.dockWidgetContents)

        self.horizontalLayout.addWidget(self.dockWidget)

        self.sceneviewer_frame = QFrame(MeshMergerWidget)
        self.sceneviewer_frame.setObjectName(u"sceneviewer_frame")
        sizePolicy4 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy4.setHorizontalStretch(4)
        sizePolicy4.setVerticalStretch(0)
        sizePolicy4.setHeightForWidth(self.sceneviewer_frame.sizePolicy().hasHeightForWidth())
        self.sceneviewer_frame.setSizePolicy(sizePolicy4)
        self.sceneviewer_frame.setFrameShape(QFrame.NoFrame)
        self.sceneviewer_frame.setFrameShadow(QFrame.Raised)
        self.horizontalLayout_3 = QHBoxLayout(self.sceneviewer_frame)
        self.horizontalLayout_3.setSpacing(0)
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.splitter = QSplitter(self.sceneviewer_frame)
        self.splitter.setObjectName(u"splitter")
        self.splitter.setOrientation(Qt.Horizontal)
        self.master_sceneviewerWidget = SceneviewerWidget(self.splitter)
        self.master_sceneviewerWidget.setObjectName(u"master_sceneviewerWidget")
        sizePolicy5 = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Preferred)
        sizePolicy5.setHorizontalStretch(0)
        sizePolicy5.setVerticalStretch(0)
        sizePolicy5.setHeightForWidth(self.master_sceneviewerWidget.sizePolicy().hasHeightForWidth())
        self.master_sceneviewerWidget.setSizePolicy(sizePolicy5)
        self.splitter.addWidget(self.master_sceneviewerWidget)
        self.slave_sceneviewerWidget = SceneviewerWidget(self.splitter)
        self.slave_sceneviewerWidget.setObjectName(u"slave_sceneviewerWidget")
        sizePolicy5.setHeightForWidth(self.slave_sceneviewerWidget.sizePolicy().hasHeightForWidth())
        self.slave_sceneviewerWidget.setSizePolicy(sizePolicy5)
        self.splitter.addWidget(self.slave_sceneviewerWidget)

        self.horizontalLayout_3.addWidget(self.splitter)


        self.horizontalLayout.addWidget(self.sceneviewer_frame)


        self.retranslateUi(MeshMergerWidget)

        QMetaObject.connectSlotsByName(MeshMergerWidget)
    # setupUi

    def retranslateUi(self, MeshMergerWidget):
        MeshMergerWidget.setWindowTitle(QCoreApplication.translate("MeshMergerWidget", u"Form", None))
        self.dockWidget.setWindowTitle(QCoreApplication.translate("MeshMergerWidget", u"Mesh Merger Controls", None))
        self.identifier_label.setText(QCoreApplication.translate("MeshMergerWidget", u"Identifier", None))
        self.mergeNodes_label.setText(QCoreApplication.translate("MeshMergerWidget", u"Merge nodes master=slave (e.g. 1=55):", None))
#if QT_CONFIG(tooltip)
        self.mergeNodesEntry_lineEdit.setToolTip(QCoreApplication.translate("MeshMergerWidget", u"<html><head/><body><p>Enter a master node, or master=slave pair.</p><p>Or hold down S-key and click nodes in the 3D view.</p></body></html>", None))
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(tooltip)
        self.mergeNodesDelete_pushButton.setToolTip(QCoreApplication.translate("MeshMergerWidget", u"<html><head/><body><p>Delete map for currently selected node</p></body></html>", None))
#endif // QT_CONFIG(tooltip)
        self.mergeNodesDelete_pushButton.setText(QCoreApplication.translate("MeshMergerWidget", u"Delete", None))
#if QT_CONFIG(tooltip)
        self.mergeNodesApply_pushButton.setToolTip(QCoreApplication.translate("MeshMergerWidget", u"<html><head/><body><p>Apply edits in merge nodes list text edit</p></body></html>", None))
#endif // QT_CONFIG(tooltip)
        self.mergeNodesApply_pushButton.setText(QCoreApplication.translate("MeshMergerWidget", u"Apply", None))
#if QT_CONFIG(tooltip)
        self.mergeNodesList_plainTextEdit.setToolTip(QCoreApplication.translate("MeshMergerWidget", u"<html><head/><body><p>List of master=slave nodes to merge.</p><p>After editing click 'Apply' to apply them.</p></body></html>", None))
#endif // QT_CONFIG(tooltip)
        self.mergeOptions_groupBox.setTitle(QCoreApplication.translate("MeshMergerWidget", u"Merge options:", None))
        self.previewMerge_checkBox.setText(QCoreApplication.translate("MeshMergerWidget", u"Preview merge", None))
        self.fit_checkBox.setText(QCoreApplication.translate("MeshMergerWidget", u"Fit", None))
        self.previewFit_checkBox.setText(QCoreApplication.translate("MeshMergerWidget", u"Preview fit", None))
        self.displayOptions_groupBox.setTitle(QCoreApplication.translate("MeshMergerWidget", u"Display options:", None))
        self.displayAxes_checkBox.setText(QCoreApplication.translate("MeshMergerWidget", u"Axes", None))
        self.displayLines_checkBox.setText(QCoreApplication.translate("MeshMergerWidget", u"Lines", None))
        self.displaySurfaces_checkBox.setText(QCoreApplication.translate("MeshMergerWidget", u"Surfaces", None))
        self.displaySurfacesExterior_checkBox.setText(QCoreApplication.translate("MeshMergerWidget", u"Exterior", None))
        self.displaySurfacesTranslucent_checkBox.setText(QCoreApplication.translate("MeshMergerWidget", u"Transluc.", None))
        self.displaySurfacesWireframe_checkBox.setText(QCoreApplication.translate("MeshMergerWidget", u"Wireframe", None))
        self.displayElementNumbers_checkBox.setText(QCoreApplication.translate("MeshMergerWidget", u"Element numbers", None))
        self.displayNodeNumbers_checkBox.setText(QCoreApplication.translate("MeshMergerWidget", u"Node numbers", None))
        self.displayNodeDerivatives_checkBox.setText(QCoreApplication.translate("MeshMergerWidget", u"Node derivatives", None))
        self.displayXiAxes_checkBox.setText(QCoreApplication.translate("MeshMergerWidget", u"Xi axes", None))
        self.viewAll_button.setText(QCoreApplication.translate("MeshMergerWidget", u"View All", None))
        self.done_button.setText(QCoreApplication.translate("MeshMergerWidget", u"Done", None))
示例#6
0
class Ui_View(object):
    def setupUi(self, View):
        View.setObjectName("View")
        View.resize(1154, 899)
        font = QtGui.QFont()
        font.setPointSize(11)
        View.setFont(font)
        self.horizontalLayout = QtGui.QHBoxLayout(View)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.controlPanel_widget = QtGui.QWidget(View)
        self.controlPanel_widget.setMinimumSize(QtCore.QSize(270, 0))
        self.controlPanel_widget.setObjectName("controlPanel_widget")
        self.verticalLayout = QtGui.QVBoxLayout(self.controlPanel_widget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox_3 = QtGui.QGroupBox(self.controlPanel_widget)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_4 = QtGui.QGridLayout(self.groupBox_3)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.airwayIpnode_pushButton = QtGui.QPushButton(self.groupBox_3)
        self.airwayIpnode_pushButton.setObjectName("airwayIpnode_pushButton")
        self.gridLayout_4.addWidget(self.airwayIpnode_pushButton, 0, 1, 1, 1)
        self.airwayIpelem_pushButton = QtGui.QPushButton(self.groupBox_3)
        self.airwayIpelem_pushButton.setObjectName("airwayIpelem_pushButton")
        self.gridLayout_4.addWidget(self.airwayIpelem_pushButton, 1, 1, 1, 1)
        self.airwayIpelem_lineEdit = QtGui.QLineEdit(self.groupBox_3)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.airwayIpelem_lineEdit.setFont(font)
        self.airwayIpelem_lineEdit.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.airwayIpelem_lineEdit.setObjectName("airwayIpelem_lineEdit")
        self.gridLayout_4.addWidget(self.airwayIpelem_lineEdit, 1, 0, 1, 1)
        self.airwayIpnode_lineEdit = QtGui.QLineEdit(self.groupBox_3)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.airwayIpnode_lineEdit.setFont(font)
        self.airwayIpnode_lineEdit.setObjectName("airwayIpnode_lineEdit")
        self.gridLayout_4.addWidget(self.airwayIpnode_lineEdit, 0, 0, 1, 1)
        self.loadAirway_pushButton = QtGui.QPushButton(self.groupBox_3)
        self.loadAirway_pushButton.setMinimumSize(QtCore.QSize(0, 40))
        self.loadAirway_pushButton.setObjectName("loadAirway_pushButton")
        self.gridLayout_4.addWidget(self.loadAirway_pushButton, 2, 0, 1, 2)
        self.verticalLayout.addWidget(self.groupBox_3)
        self.groupBox_4 = QtGui.QGroupBox(self.controlPanel_widget)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_5 = QtGui.QGridLayout(self.groupBox_4)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.surfaceIpnode_lineEdit = QtGui.QLineEdit(self.groupBox_4)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.surfaceIpnode_lineEdit.setFont(font)
        self.surfaceIpnode_lineEdit.setObjectName("surfaceIpnode_lineEdit")
        self.gridLayout_5.addWidget(self.surfaceIpnode_lineEdit, 0, 0, 1, 1)
        self.surfaceIpnode_pushButton = QtGui.QPushButton(self.groupBox_4)
        self.surfaceIpnode_pushButton.setObjectName("surfaceIpnode_pushButton")
        self.gridLayout_5.addWidget(self.surfaceIpnode_pushButton, 0, 1, 1, 1)
        self.surfaceIpelem_lineEdit = QtGui.QLineEdit(self.groupBox_4)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.surfaceIpelem_lineEdit.setFont(font)
        self.surfaceIpelem_lineEdit.setObjectName("surfaceIpelem_lineEdit")
        self.gridLayout_5.addWidget(self.surfaceIpelem_lineEdit, 1, 0, 1, 1)
        self.surfaceIpelem_pushButton = QtGui.QPushButton(self.groupBox_4)
        self.surfaceIpelem_pushButton.setObjectName("surfaceIpelem_pushButton")
        self.gridLayout_5.addWidget(self.surfaceIpelem_pushButton, 1, 1, 1, 1)
        self.loadSurface_pushButton = QtGui.QPushButton(self.groupBox_4)
        self.loadSurface_pushButton.setMinimumSize(QtCore.QSize(0, 40))
        self.loadSurface_pushButton.setObjectName("loadSurface_pushButton")
        self.gridLayout_5.addWidget(self.loadSurface_pushButton, 2, 0, 1, 2)
        self.verticalLayout.addWidget(self.groupBox_4)
        self.groupBox_2 = QtGui.QGroupBox(self.controlPanel_widget)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout.setObjectName("gridLayout")
        self.label_4 = QtGui.QLabel(self.groupBox_2)
        self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
        self.gridSize_doubleSpinBox = QtGui.QDoubleSpinBox(self.groupBox_2)
        self.gridSize_doubleSpinBox.setDecimals(1)
        self.gridSize_doubleSpinBox.setMinimum(1.0)
        self.gridSize_doubleSpinBox.setMaximum(50.0)
        self.gridSize_doubleSpinBox.setProperty("value", 6.0)
        self.gridSize_doubleSpinBox.setObjectName("gridSize_doubleSpinBox")
        self.gridLayout.addWidget(self.gridSize_doubleSpinBox, 0, 1, 1, 1)
        self.label = QtGui.QLabel(self.groupBox_2)
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.label_2 = QtGui.QLabel(self.groupBox_2)
        self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.startNode_spinBox = QtGui.QSpinBox(self.groupBox_2)
        self.startNode_spinBox.setMinimum(1)
        self.startNode_spinBox.setMaximum(500)
        self.startNode_spinBox.setProperty("value", 12)
        self.startNode_spinBox.setObjectName("startNode_spinBox")
        self.gridLayout.addWidget(self.startNode_spinBox, 1, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.groupBox_2)
        self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 6, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox_2)
        self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox_2)
        self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 4, 0, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox_2)
        self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 5, 0, 1, 1)
        self.label_8 = QtGui.QLabel(self.groupBox_2)
        self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 7, 0, 1, 1)
        self.angleMax_doubleSpinBox = QtGui.QDoubleSpinBox(self.groupBox_2)
        self.angleMax_doubleSpinBox.setDecimals(1)
        self.angleMax_doubleSpinBox.setMaximum(180.0)
        self.angleMax_doubleSpinBox.setProperty("value", 60.0)
        self.angleMax_doubleSpinBox.setObjectName("angleMax_doubleSpinBox")
        self.gridLayout.addWidget(self.angleMax_doubleSpinBox, 2, 1, 1, 1)
        self.angleMin_doubleSpinBox = QtGui.QDoubleSpinBox(self.groupBox_2)
        self.angleMin_doubleSpinBox.setDecimals(1)
        self.angleMin_doubleSpinBox.setMaximum(180.0)
        self.angleMin_doubleSpinBox.setProperty("value", 20.0)
        self.angleMin_doubleSpinBox.setObjectName("angleMin_doubleSpinBox")
        self.gridLayout.addWidget(self.angleMin_doubleSpinBox, 3, 1, 1, 1)
        self.branchFraction_doubleSpinBox = QtGui.QDoubleSpinBox(self.groupBox_2)
        self.branchFraction_doubleSpinBox.setDecimals(1)
        self.branchFraction_doubleSpinBox.setMaximum(1.0)
        self.branchFraction_doubleSpinBox.setSingleStep(0.1)
        self.branchFraction_doubleSpinBox.setProperty("value", 0.4)
        self.branchFraction_doubleSpinBox.setObjectName("branchFraction_doubleSpinBox")
        self.gridLayout.addWidget(self.branchFraction_doubleSpinBox, 4, 1, 1, 1)
        self.lengthLimit_doubleSpinBox = QtGui.QDoubleSpinBox(self.groupBox_2)
        self.lengthLimit_doubleSpinBox.setDecimals(1)
        self.lengthLimit_doubleSpinBox.setMaximum(10.0)
        self.lengthLimit_doubleSpinBox.setSingleStep(0.1)
        self.lengthLimit_doubleSpinBox.setProperty("value", 1.5)
        self.lengthLimit_doubleSpinBox.setObjectName("lengthLimit_doubleSpinBox")
        self.gridLayout.addWidget(self.lengthLimit_doubleSpinBox, 5, 1, 1, 1)
        self.shortestLength_doubleSpinBox = QtGui.QDoubleSpinBox(self.groupBox_2)
        self.shortestLength_doubleSpinBox.setDecimals(1)
        self.shortestLength_doubleSpinBox.setMaximum(10.0)
        self.shortestLength_doubleSpinBox.setSingleStep(0.1)
        self.shortestLength_doubleSpinBox.setProperty("value", 1.5)
        self.shortestLength_doubleSpinBox.setObjectName("shortestLength_doubleSpinBox")
        self.gridLayout.addWidget(self.shortestLength_doubleSpinBox, 6, 1, 1, 1)
        self.rotationLimit_doubleSpinBox = QtGui.QDoubleSpinBox(self.groupBox_2)
        self.rotationLimit_doubleSpinBox.setDecimals(1)
        self.rotationLimit_doubleSpinBox.setMaximum(360.0)
        self.rotationLimit_doubleSpinBox.setSingleStep(10.0)
        self.rotationLimit_doubleSpinBox.setProperty("value", 180.0)
        self.rotationLimit_doubleSpinBox.setObjectName("rotationLimit_doubleSpinBox")
        self.gridLayout.addWidget(self.rotationLimit_doubleSpinBox, 7, 1, 1, 1)
        self.generate_pushButton = QtGui.QPushButton(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.generate_pushButton.sizePolicy().hasHeightForWidth())
        self.generate_pushButton.setSizePolicy(sizePolicy)
        self.generate_pushButton.setMinimumSize(QtCore.QSize(0, 40))
        self.generate_pushButton.setObjectName("generate_pushButton")
        self.gridLayout.addWidget(self.generate_pushButton, 9, 0, 1, 2)
        self.reset_checkBox = QtGui.QCheckBox(self.groupBox_2)
        self.reset_checkBox.setObjectName("reset_checkBox")
        self.gridLayout.addWidget(self.reset_checkBox, 8, 0, 1, 2)
        self.verticalLayout.addWidget(self.groupBox_2)
        spacerItem = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.groupBox = QtGui.QGroupBox(self.controlPanel_widget)
        self.groupBox.setFlat(False)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.outputExnode_lineEdit = QtGui.QLineEdit(self.groupBox)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.outputExnode_lineEdit.setFont(font)
        self.outputExnode_lineEdit.setObjectName("outputExnode_lineEdit")
        self.gridLayout_2.addWidget(self.outputExnode_lineEdit, 0, 0, 1, 1)
        self.outputExelem_lineEdit = QtGui.QLineEdit(self.groupBox)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.outputExelem_lineEdit.setFont(font)
        self.outputExelem_lineEdit.setObjectName("outputExelem_lineEdit")
        self.gridLayout_2.addWidget(self.outputExelem_lineEdit, 1, 0, 1, 1)
        self.outputExnode_pushButton = QtGui.QPushButton(self.groupBox)
        self.outputExnode_pushButton.setObjectName("outputExnode_pushButton")
        self.gridLayout_2.addWidget(self.outputExnode_pushButton, 0, 1, 1, 1)
        self.outputExelem_pushButton = QtGui.QPushButton(self.groupBox)
        self.outputExelem_pushButton.setObjectName("outputExelem_pushButton")
        self.gridLayout_2.addWidget(self.outputExelem_pushButton, 1, 1, 1, 1)
        self.save_pushButton = QtGui.QPushButton(self.groupBox)
        self.save_pushButton.setMinimumSize(QtCore.QSize(0, 40))
        self.save_pushButton.setObjectName("save_pushButton")
        self.gridLayout_2.addWidget(self.save_pushButton, 2, 0, 1, 2)
        self.verticalLayout.addWidget(self.groupBox)
        self.info_pushButton = QtGui.QPushButton(self.controlPanel_widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.info_pushButton.sizePolicy().hasHeightForWidth())
        self.info_pushButton.setSizePolicy(sizePolicy)
        self.info_pushButton.setFocusPolicy(QtCore.Qt.NoFocus)
        self.info_pushButton.setFlat(True)
        self.info_pushButton.setObjectName("info_pushButton")
        self.verticalLayout.addWidget(self.info_pushButton)
        self.horizontalLayout.addWidget(self.controlPanel_widget)
        self.sceneviewer_widget = SceneviewerWidget(View)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sceneviewer_widget.sizePolicy().hasHeightForWidth())
        self.sceneviewer_widget.setSizePolicy(sizePolicy)
        self.sceneviewer_widget.setObjectName("sceneviewer_widget")
        self.horizontalLayout.addWidget(self.sceneviewer_widget)

        self.retranslateUi(View)
        QtCore.QMetaObject.connectSlotsByName(View)

    def retranslateUi(self, View):
        View.setWindowTitle(QtGui.QApplication.translate("View", "Grow airway tree", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("View", "Airway tree input", None, QtGui.QApplication.UnicodeUTF8))
        self.airwayIpnode_pushButton.setText(QtGui.QApplication.translate("View", ".ipnode", None, QtGui.QApplication.UnicodeUTF8))
        self.airwayIpelem_pushButton.setText(QtGui.QApplication.translate("View", ".ipelem", None, QtGui.QApplication.UnicodeUTF8))
        self.loadAirway_pushButton.setText(QtGui.QApplication.translate("View", "Load", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_4.setTitle(QtGui.QApplication.translate("View", "Surface input", None, QtGui.QApplication.UnicodeUTF8))
        self.surfaceIpnode_pushButton.setText(QtGui.QApplication.translate("View", ".ipnode", None, QtGui.QApplication.UnicodeUTF8))
        self.surfaceIpelem_pushButton.setText(QtGui.QApplication.translate("View", ".ipelem", None, QtGui.QApplication.UnicodeUTF8))
        self.loadSurface_pushButton.setText(QtGui.QApplication.translate("View", "Load", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("View", "Generating", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("View", "Angle min:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("View", "Grid size:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("View", "Start node:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("View", "Shortest length:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("View", "Angle max:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("View", "Branch fraction:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("View", "Length limit:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("View", "Rotation limit:", None, QtGui.QApplication.UnicodeUTF8))
        self.generate_pushButton.setText(QtGui.QApplication.translate("View", "Generate", None, QtGui.QApplication.UnicodeUTF8))
        self.reset_checkBox.setText(QtGui.QApplication.translate("View", "Reset airway tree", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("View", "Saving", None, QtGui.QApplication.UnicodeUTF8))
        self.outputExnode_pushButton.setText(QtGui.QApplication.translate("View", ".exnode", None, QtGui.QApplication.UnicodeUTF8))
        self.outputExelem_pushButton.setText(QtGui.QApplication.translate("View", ".exelem", None, QtGui.QApplication.UnicodeUTF8))
        self.save_pushButton.setText(QtGui.QApplication.translate("View", "Save", None, QtGui.QApplication.UnicodeUTF8))
        self.info_pushButton.setText(QtGui.QApplication.translate("View", "Info", None, QtGui.QApplication.UnicodeUTF8))
示例#7
0
class Ui_ZincView(object):
    def setupUi(self, ZincView):
        ZincView.setObjectName("ZincView")
        ZincView.resize(900, 635)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(ZincView.sizePolicy().hasHeightForWidth())
        ZincView.setSizePolicy(sizePolicy)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("cmiss_icon.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        ZincView.setWindowIcon(icon)
        self.centralwidget = QtGui.QWidget(ZincView)
        self.centralwidget.setEnabled(True)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName("gridLayout")
        self.sceneviewerwidget = SceneviewerWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sceneviewerwidget.sizePolicy().hasHeightForWidth())
        self.sceneviewerwidget.setSizePolicy(sizePolicy)
        self.sceneviewerwidget.setObjectName("sceneviewerwidget")
        self.gridLayout.addWidget(self.sceneviewerwidget, 0, 0, 1, 1)
        ZincView.setCentralWidget(self.centralwidget)
        self.dockWidget = QtGui.QDockWidget(ZincView)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dockWidget.sizePolicy().hasHeightForWidth())
        self.dockWidget.setSizePolicy(sizePolicy)
        self.dockWidget.setMinimumSize(QtCore.QSize(230, 113))
        self.dockWidget.setStyleSheet("QToolBox::tab {\n"
"         background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n"
"                                     stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,\n"
"                                     stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);\n"
"         border-radius: 5px;\n"
"         color: black;\n"
"     }\n"
"\n"
"     QToolBox::tab:selected { /* italicize selected tabs */\n"
"         font: bold;\n"
"         color: black;\n"
"     }\n"
"QToolBox {\n"
"    padding : 0\n"
"}")
        self.dockWidget.setAllowedAreas(QtCore.Qt.LeftDockWidgetArea|QtCore.Qt.RightDockWidgetArea)
        self.dockWidget.setObjectName("dockWidget")
        self.dockWidgetContents = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dockWidgetContents.sizePolicy().hasHeightForWidth())
        self.dockWidgetContents.setSizePolicy(sizePolicy)
        self.dockWidgetContents.setObjectName("dockWidgetContents")
        self.verticalLayout = QtGui.QVBoxLayout(self.dockWidgetContents)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.scrollArea = QtGui.QScrollArea(self.dockWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
        self.scrollArea.setSizePolicy(sizePolicy)
        self.scrollArea.setMinimumSize(QtCore.QSize(0, 0))
        self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents_2 = QtGui.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 228, 607))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents_2.sizePolicy().hasHeightForWidth())
        self.scrollAreaWidgetContents_2.setSizePolicy(sizePolicy)
        self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents_2)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.toolBox = QtGui.QToolBox(self.scrollAreaWidgetContents_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolBox.sizePolicy().hasHeightForWidth())
        self.toolBox.setSizePolicy(sizePolicy)
        self.toolBox.setMinimumSize(QtCore.QSize(0, 0))
        self.toolBox.setAccessibleName("")
        self.toolBox.setFrameShape(QtGui.QFrame.NoFrame)
        self.toolBox.setFrameShadow(QtGui.QFrame.Plain)
        self.toolBox.setObjectName("toolBox")
        self.model = QtGui.QWidget()
        self.model.setGeometry(QtCore.QRect(0, 0, 228, 425))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.model.sizePolicy().hasHeightForWidth())
        self.model.setSizePolicy(sizePolicy)
        self.model.setAccessibleName("")
        self.model.setObjectName("model")
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.model)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.model_load_button = QtGui.QPushButton(self.model)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.model_load_button.sizePolicy().hasHeightForWidth())
        self.model_load_button.setSizePolicy(sizePolicy)
        self.model_load_button.setObjectName("model_load_button")
        self.verticalLayout_4.addWidget(self.model_load_button)
        self.model_clear_button = QtGui.QPushButton(self.model)
        self.model_clear_button.setObjectName("model_clear_button")
        self.verticalLayout_4.addWidget(self.model_clear_button)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem)
        self.toolBox.addItem(self.model, "")
        self.graphics = QtGui.QWidget()
        self.graphics.setGeometry(QtCore.QRect(0, 0, 228, 425))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.graphics.sizePolicy().hasHeightForWidth())
        self.graphics.setSizePolicy(sizePolicy)
        self.graphics.setObjectName("graphics")
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.graphics)
        self.verticalLayout_3.setSpacing(3)
        self.verticalLayout_3.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.region_widget = QtGui.QWidget(self.graphics)
        self.region_widget.setObjectName("region_widget")
        self.formLayout_5 = QtGui.QFormLayout(self.region_widget)
        self.formLayout_5.setContentsMargins(3, 3, 3, 3)
        self.formLayout_5.setContentsMargins(0, 0, 0, 0)
        self.formLayout_5.setSpacing(3)
        self.formLayout_5.setObjectName("formLayout_5")
        self.region_label = QtGui.QLabel(self.region_widget)
        self.region_label.setObjectName("region_label")
        self.formLayout_5.setWidget(0, QtGui.QFormLayout.LabelRole, self.region_label)
        self.region_chooser = RegionChooserWidget(self.region_widget)
        self.region_chooser.setObjectName("region_chooser")
        self.formLayout_5.setWidget(0, QtGui.QFormLayout.FieldRole, self.region_chooser)
        self.verticalLayout_3.addWidget(self.region_widget)
        self.scene_editor = SceneEditorWidget(self.graphics)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scene_editor.sizePolicy().hasHeightForWidth())
        self.scene_editor.setSizePolicy(sizePolicy)
        self.scene_editor.setObjectName("scene_editor")
        self.verticalLayout_3.addWidget(self.scene_editor)
        self.toolBox.addItem(self.graphics, "")
        self.view = QtGui.QWidget()
        self.view.setGeometry(QtCore.QRect(0, 0, 228, 425))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.view.sizePolicy().hasHeightForWidth())
        self.view.setSizePolicy(sizePolicy)
        self.view.setObjectName("view")
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.view)
        self.verticalLayout_5.setSpacing(3)
        self.verticalLayout_5.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.sceneviewer_editor_widget = SceneviewerEditorWidget(self.view)
        self.sceneviewer_editor_widget.setObjectName("sceneviewer_editor_widget")
        self.verticalLayout_5.addWidget(self.sceneviewer_editor_widget)
        self.toolBox.addItem(self.view, "")
        self.time = QtGui.QWidget()
        self.time.setGeometry(QtCore.QRect(0, 0, 228, 425))
        self.time.setObjectName("time")
        self.verticalLayout_8 = QtGui.QVBoxLayout(self.time)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.time_autorange_button = QtGui.QPushButton(self.time)
        self.time_autorange_button.setObjectName("time_autorange_button")
        self.verticalLayout_8.addWidget(self.time_autorange_button)
        self.frame_2 = QtGui.QFrame(self.time)
        self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.formLayout_4 = QtGui.QFormLayout(self.frame_2)
        self.formLayout_4.setObjectName("formLayout_4")
        self.time_minimum_label = QtGui.QLabel(self.frame_2)
        self.time_minimum_label.setObjectName("time_minimum_label")
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.LabelRole, self.time_minimum_label)
        self.time_minimum_lineedit = QtGui.QLineEdit(self.frame_2)
        self.time_minimum_lineedit.setObjectName("time_minimum_lineedit")
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.FieldRole, self.time_minimum_lineedit)
        self.time_maximum_label = QtGui.QLabel(self.frame_2)
        self.time_maximum_label.setObjectName("time_maximum_label")
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole, self.time_maximum_label)
        self.time_maximum_lineedit = QtGui.QLineEdit(self.frame_2)
        self.time_maximum_lineedit.setObjectName("time_maximum_lineedit")
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.FieldRole, self.time_maximum_lineedit)
        self.time_text_lineedit = QtGui.QLineEdit(self.frame_2)
        self.time_text_lineedit.setObjectName("time_text_lineedit")
        self.formLayout_4.setWidget(2, QtGui.QFormLayout.FieldRole, self.time_text_lineedit)
        self.time_text_label = QtGui.QLabel(self.frame_2)
        self.time_text_label.setObjectName("time_text_label")
        self.formLayout_4.setWidget(2, QtGui.QFormLayout.LabelRole, self.time_text_label)
        self.verticalLayout_8.addWidget(self.frame_2)
        self.time_slider = QtGui.QSlider(self.time)
        self.time_slider.setMaximum(10000)
        self.time_slider.setSingleStep(10)
        self.time_slider.setPageStep(100)
        self.time_slider.setOrientation(QtCore.Qt.Horizontal)
        self.time_slider.setObjectName("time_slider")
        self.verticalLayout_8.addWidget(self.time_slider)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_8.addItem(spacerItem1)
        self.toolBox.addItem(self.time, "")
        self.rendering = QtGui.QWidget()
        self.rendering.setGeometry(QtCore.QRect(0, 0, 228, 425))
        self.rendering.setObjectName("rendering")
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.rendering)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.tessellation_groupbox = QtGui.QGroupBox(self.rendering)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tessellation_groupbox.sizePolicy().hasHeightForWidth())
        self.tessellation_groupbox.setSizePolicy(sizePolicy)
        self.tessellation_groupbox.setObjectName("tessellation_groupbox")
        self.formLayout_2 = QtGui.QFormLayout(self.tessellation_groupbox)
        self.formLayout_2.setObjectName("formLayout_2")
        self.tessellation_minimum_divisions_label = QtGui.QLabel(self.tessellation_groupbox)
        self.tessellation_minimum_divisions_label.setObjectName("tessellation_minimum_divisions_label")
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.tessellation_minimum_divisions_label)
        self.tessellation_minimum_divisions_lineedit = QtGui.QLineEdit(self.tessellation_groupbox)
        self.tessellation_minimum_divisions_lineedit.setObjectName("tessellation_minimum_divisions_lineedit")
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.tessellation_minimum_divisions_lineedit)
        self.tessellation_refinement_factors_label = QtGui.QLabel(self.tessellation_groupbox)
        self.tessellation_refinement_factors_label.setObjectName("tessellation_refinement_factors_label")
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.tessellation_refinement_factors_label)
        self.tessellation_refinement_factors_lineedit = QtGui.QLineEdit(self.tessellation_groupbox)
        self.tessellation_refinement_factors_lineedit.setObjectName("tessellation_refinement_factors_lineedit")
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.tessellation_refinement_factors_lineedit)
        self.tessellation_circle_divisions_label = QtGui.QLabel(self.tessellation_groupbox)
        self.tessellation_circle_divisions_label.setObjectName("tessellation_circle_divisions_label")
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole, self.tessellation_circle_divisions_label)
        self.tessellation_circle_divisions_lineedit = QtGui.QLineEdit(self.tessellation_groupbox)
        self.tessellation_circle_divisions_lineedit.setObjectName("tessellation_circle_divisions_lineedit")
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole, self.tessellation_circle_divisions_lineedit)
        self.verticalLayout_7.addWidget(self.tessellation_groupbox)
        self.perturb_lines_checkbox = QtGui.QCheckBox(self.rendering)
        self.perturb_lines_checkbox.setObjectName("perturb_lines_checkbox")
        self.verticalLayout_7.addWidget(self.perturb_lines_checkbox)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_7.addItem(spacerItem2)
        self.toolBox.addItem(self.rendering, "")
        self.data_colouring = QtGui.QWidget()
        self.data_colouring.setGeometry(QtCore.QRect(0, 0, 228, 425))
        self.data_colouring.setObjectName("data_colouring")
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.data_colouring)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.spectrum_autorange_button = QtGui.QPushButton(self.data_colouring)
        self.spectrum_autorange_button.setObjectName("spectrum_autorange_button")
        self.verticalLayout_6.addWidget(self.spectrum_autorange_button)
        self.frame = QtGui.QFrame(self.data_colouring)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.formLayout_3 = QtGui.QFormLayout(self.frame)
        self.formLayout_3.setObjectName("formLayout_3")
        self.spectrum_minimum_label = QtGui.QLabel(self.frame)
        self.spectrum_minimum_label.setObjectName("spectrum_minimum_label")
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.spectrum_minimum_label)
        self.spectrum_minimum_lineedit = QtGui.QLineEdit(self.frame)
        self.spectrum_minimum_lineedit.setObjectName("spectrum_minimum_lineedit")
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.spectrum_minimum_lineedit)
        self.spectrum_maximum_lineedit = QtGui.QLineEdit(self.frame)
        self.spectrum_maximum_lineedit.setObjectName("spectrum_maximum_lineedit")
        self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole, self.spectrum_maximum_lineedit)
        self.spectrum_maximum_label = QtGui.QLabel(self.frame)
        self.spectrum_maximum_label.setObjectName("spectrum_maximum_label")
        self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole, self.spectrum_maximum_label)
        self.verticalLayout_6.addWidget(self.frame)
        self.spectrum_add_colour_bar_button = QtGui.QPushButton(self.data_colouring)
        self.spectrum_add_colour_bar_button.setObjectName("spectrum_add_colour_bar_button")
        self.verticalLayout_6.addWidget(self.spectrum_add_colour_bar_button)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_6.addItem(spacerItem3)
        self.toolBox.addItem(self.data_colouring, "")
        self.output = QtGui.QWidget()
        self.output.setGeometry(QtCore.QRect(0, 0, 228, 425))
        self.output.setObjectName("output")
        self.verticalLayout_9 = QtGui.QVBoxLayout(self.output)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.save_image_button = QtGui.QPushButton(self.output)
        self.save_image_button.setObjectName("save_image_button")
        self.verticalLayout_9.addWidget(self.save_image_button)
        self.save_webgl_button = QtGui.QPushButton(self.output)
        self.save_webgl_button.setObjectName("save_webgl_button")
        self.verticalLayout_9.addWidget(self.save_webgl_button)
        spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_9.addItem(spacerItem4)
        self.toolBox.addItem(self.output, "")
        self.verticalLayout_2.addWidget(self.toolBox)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents_2)
        self.verticalLayout.addWidget(self.scrollArea)
        self.dockWidget.setWidget(self.dockWidgetContents)
        ZincView.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dockWidget)
        self.actionOpen = QtGui.QAction(ZincView)
        self.actionOpen.setObjectName("actionOpen")
        self.actionQuit = QtGui.QAction(ZincView)
        self.actionQuit.setObjectName("actionQuit")
        self.actionView_All = QtGui.QAction(ZincView)
        self.actionView_All.setObjectName("actionView_All")

        self.retranslateUi(ZincView)
        self.toolBox.setCurrentIndex(1)
        self.toolBox.layout().setSpacing(2)
        QtCore.QObject.connect(self.model_load_button, QtCore.SIGNAL("clicked()"), ZincView.modelLoad)
        QtCore.QObject.connect(self.tessellation_minimum_divisions_lineedit, QtCore.SIGNAL("returnPressed()"), ZincView.tessellationMinimumDivisionsEntered)
        QtCore.QObject.connect(self.tessellation_refinement_factors_lineedit, QtCore.SIGNAL("returnPressed()"), ZincView.tessellationRefinementFactorsEntered)
        QtCore.QObject.connect(self.tessellation_circle_divisions_lineedit, QtCore.SIGNAL("returnPressed()"), ZincView.tessellationCircleDivisionsEntered)
        QtCore.QObject.connect(self.tessellation_minimum_divisions_lineedit, QtCore.SIGNAL("editingFinished()"), ZincView.tessellationMinimumDivisionsDisplay)
        QtCore.QObject.connect(self.tessellation_circle_divisions_lineedit, QtCore.SIGNAL("editingFinished()"), ZincView.tessellationCircleDivisionsDisplay)
        QtCore.QObject.connect(self.tessellation_refinement_factors_lineedit, QtCore.SIGNAL("editingFinished()"), ZincView.tessellationRefinementFactorsDisplay)
        QtCore.QObject.connect(self.perturb_lines_checkbox, QtCore.SIGNAL("clicked(bool)"), ZincView.perturbLinesStateChanged)
        QtCore.QObject.connect(self.model_clear_button, QtCore.SIGNAL("clicked()"), ZincView.modelClear)
        QtCore.QObject.connect(self.spectrum_autorange_button, QtCore.SIGNAL("clicked()"), ZincView.spectrumAutorangeClicked)
        QtCore.QObject.connect(self.spectrum_minimum_lineedit, QtCore.SIGNAL("editingFinished()"), ZincView.spectrumMinimumEntered)
        QtCore.QObject.connect(self.spectrum_maximum_lineedit, QtCore.SIGNAL("editingFinished()"), ZincView.spectrumMaximumEntered)
        QtCore.QObject.connect(self.spectrum_add_colour_bar_button, QtCore.SIGNAL("clicked()"), ZincView.spectrumAddColourBarClicked)
        QtCore.QObject.connect(self.time_autorange_button, QtCore.SIGNAL("clicked()"), ZincView.timeAutorangeClicked)
        QtCore.QObject.connect(self.time_minimum_lineedit, QtCore.SIGNAL("editingFinished()"), ZincView.timeMinimumEntered)
        QtCore.QObject.connect(self.time_maximum_lineedit, QtCore.SIGNAL("editingFinished()"), ZincView.timeMaximumEntered)
        QtCore.QObject.connect(self.time_text_lineedit, QtCore.SIGNAL("editingFinished()"), ZincView.timeTextEntered)
        QtCore.QObject.connect(self.time_slider, QtCore.SIGNAL("valueChanged(int)"), ZincView.timeSliderChanged)
        QtCore.QObject.connect(self.save_image_button, QtCore.SIGNAL("clicked()"), ZincView.saveImageClicked)
        QtCore.QObject.connect(self.save_webgl_button, QtCore.SIGNAL("clicked()"), ZincView.saveWebGLClicked)
        QtCore.QObject.connect(self.region_chooser, QtCore.SIGNAL("currentIndexChanged(int)"), ZincView.regionChanged)
        QtCore.QObject.connect(self.toolBox, QtCore.SIGNAL("currentChanged(int)"), ZincView.toolBoxPageChanged)
        QtCore.QMetaObject.connectSlotsByName(ZincView)

    def retranslateUi(self, ZincView):
        ZincView.setWindowTitle(QtGui.QApplication.translate("ZincView", "ZincView", None, QtGui.QApplication.UnicodeUTF8))
        self.dockWidget.setWindowTitle(QtGui.QApplication.translate("ZincView", "ZincView Tools", None, QtGui.QApplication.UnicodeUTF8))
        self.model_load_button.setText(QtGui.QApplication.translate("ZincView", "Load model...", None, QtGui.QApplication.UnicodeUTF8))
        self.model_clear_button.setText(QtGui.QApplication.translate("ZincView", "Clear model...", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.model), QtGui.QApplication.translate("ZincView", "Model", None, QtGui.QApplication.UnicodeUTF8))
        self.region_label.setText(QtGui.QApplication.translate("ZincView", "Region:", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.graphics), QtGui.QApplication.translate("ZincView", "Graphics", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.view), QtGui.QApplication.translate("ZincView", "View", None, QtGui.QApplication.UnicodeUTF8))
        self.time_autorange_button.setText(QtGui.QApplication.translate("ZincView", "Autorange time", None, QtGui.QApplication.UnicodeUTF8))
        self.time_minimum_label.setText(QtGui.QApplication.translate("ZincView", "Minimum:", None, QtGui.QApplication.UnicodeUTF8))
        self.time_maximum_label.setText(QtGui.QApplication.translate("ZincView", "Maximum:", None, QtGui.QApplication.UnicodeUTF8))
        self.time_text_label.setText(QtGui.QApplication.translate("ZincView", "Time:", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.time), QtGui.QApplication.translate("ZincView", "Time", None, QtGui.QApplication.UnicodeUTF8))
        self.tessellation_groupbox.setTitle(QtGui.QApplication.translate("ZincView", "Tessellation divisions:", None, QtGui.QApplication.UnicodeUTF8))
        self.tessellation_minimum_divisions_label.setText(QtGui.QApplication.translate("ZincView", "Minimum:", None, QtGui.QApplication.UnicodeUTF8))
        self.tessellation_refinement_factors_label.setText(QtGui.QApplication.translate("ZincView", "Refinement:", None, QtGui.QApplication.UnicodeUTF8))
        self.tessellation_circle_divisions_label.setText(QtGui.QApplication.translate("ZincView", "Circle:", None, QtGui.QApplication.UnicodeUTF8))
        self.perturb_lines_checkbox.setText(QtGui.QApplication.translate("ZincView", "Perturb lines", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.rendering), QtGui.QApplication.translate("ZincView", "Rendering", None, QtGui.QApplication.UnicodeUTF8))
        self.spectrum_autorange_button.setText(QtGui.QApplication.translate("ZincView", "Autorange spectrum", None, QtGui.QApplication.UnicodeUTF8))
        self.spectrum_minimum_label.setText(QtGui.QApplication.translate("ZincView", "Minimum:", None, QtGui.QApplication.UnicodeUTF8))
        self.spectrum_maximum_label.setText(QtGui.QApplication.translate("ZincView", "Maximum:", None, QtGui.QApplication.UnicodeUTF8))
        self.spectrum_add_colour_bar_button.setText(QtGui.QApplication.translate("ZincView", "Add colour bar", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.data_colouring), QtGui.QApplication.translate("ZincView", "Data Colouring", None, QtGui.QApplication.UnicodeUTF8))
        self.save_image_button.setText(QtGui.QApplication.translate("ZincView", "Save image...", None, QtGui.QApplication.UnicodeUTF8))
        self.save_webgl_button.setText(QtGui.QApplication.translate("ZincView", "Save WebGL...", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.output), QtGui.QApplication.translate("ZincView", "Output", None, QtGui.QApplication.UnicodeUTF8))
        self.actionOpen.setText(QtGui.QApplication.translate("ZincView", "Open", None, QtGui.QApplication.UnicodeUTF8))
        self.actionQuit.setText(QtGui.QApplication.translate("ZincView", "Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionView_All.setText(QtGui.QApplication.translate("ZincView", "View All", None, QtGui.QApplication.UnicodeUTF8))
示例#8
0
class Ui_SnapshotDialog(object):
    def setupUi(self, SnapshotDialog):
        if not SnapshotDialog.objectName():
            SnapshotDialog.setObjectName(u"SnapshotDialog")
        SnapshotDialog.resize(400, 300)
        self.verticalLayout = QVBoxLayout(SnapshotDialog)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.groupBox = QGroupBox(SnapshotDialog)
        self.groupBox.setObjectName(u"groupBox")
        self.gridLayout = QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(u"gridLayout")
        self.label_3 = QLabel(self.groupBox)
        self.label_3.setObjectName(u"label_3")

        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)

        self.spinBoxHeight = QSpinBox(self.groupBox)
        self.spinBoxHeight.setObjectName(u"spinBoxHeight")
        self.spinBoxHeight.setEnabled(False)
        self.spinBoxHeight.setMaximum(999999)

        self.gridLayout.addWidget(self.spinBoxHeight, 2, 1, 1, 1)

        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.label = QLabel(self.groupBox)
        self.label.setObjectName(u"label")

        self.horizontalLayout.addWidget(self.label)

        self.lineEditFilename = QLineEdit(self.groupBox)
        self.lineEditFilename.setObjectName(u"lineEditFilename")

        self.horizontalLayout.addWidget(self.lineEditFilename)

        self.pushButtonFilename = QPushButton(self.groupBox)
        self.pushButtonFilename.setObjectName(u"pushButtonFilename")

        self.horizontalLayout.addWidget(self.pushButtonFilename)


        self.gridLayout.addLayout(self.horizontalLayout, 4, 0, 1, 3)

        self.label_2 = QLabel(self.groupBox)
        self.label_2.setObjectName(u"label_2")

        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)

        self.spinBoxWidth = QSpinBox(self.groupBox)
        self.spinBoxWidth.setObjectName(u"spinBoxWidth")
        self.spinBoxWidth.setEnabled(False)
        self.spinBoxWidth.setMaximum(999999)

        self.gridLayout.addWidget(self.spinBoxWidth, 1, 1, 1, 1)

        self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.gridLayout.addItem(self.verticalSpacer, 3, 0, 1, 1)

        self.checkBoxWYSIWYG = QCheckBox(self.groupBox)
        self.checkBoxWYSIWYG.setObjectName(u"checkBoxWYSIWYG")
        self.checkBoxWYSIWYG.setChecked(True)

        self.gridLayout.addWidget(self.checkBoxWYSIWYG, 0, 0, 1, 1)

        self.groupBox_2 = QGroupBox(self.groupBox)
        self.groupBox_2.setObjectName(u"groupBox_2")
        self.horizontalLayout_2 = QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.horizontalLayout_2.setContentsMargins(1, 1, 1, 1)
        self.widgetPreview = SceneviewerWidget(self.groupBox_2)
        self.widgetPreview.setObjectName(u"widgetPreview")
        sizePolicy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.widgetPreview.sizePolicy().hasHeightForWidth())
        self.widgetPreview.setSizePolicy(sizePolicy)
        self.widgetPreview.setMinimumSize(QSize(50, 50))

        self.horizontalLayout_2.addWidget(self.widgetPreview)


        self.gridLayout.addWidget(self.groupBox_2, 0, 2, 4, 1)


        self.verticalLayout.addWidget(self.groupBox)

        self.buttonBox = QDialogButtonBox(SnapshotDialog)
        self.buttonBox.setObjectName(u"buttonBox")
        self.buttonBox.setOrientation(Qt.Horizontal)
        self.buttonBox.setStandardButtons(QDialogButtonBox.Cancel|QDialogButtonBox.Ok)

        self.verticalLayout.addWidget(self.buttonBox)


        self.retranslateUi(SnapshotDialog)
        self.buttonBox.accepted.connect(SnapshotDialog.accept)
        self.buttonBox.rejected.connect(SnapshotDialog.reject)

        QMetaObject.connectSlotsByName(SnapshotDialog)
    # setupUi

    def retranslateUi(self, SnapshotDialog):
        SnapshotDialog.setWindowTitle(QCoreApplication.translate("SnapshotDialog", u"Snapshot", None))
        self.groupBox.setTitle(QCoreApplication.translate("SnapshotDialog", u"Options", None))
        self.label_3.setText(QCoreApplication.translate("SnapshotDialog", u"Height (px):", None))
        self.label.setText(QCoreApplication.translate("SnapshotDialog", u"Filename:", None))
        self.pushButtonFilename.setText(QCoreApplication.translate("SnapshotDialog", u"...", None))
        self.label_2.setText(QCoreApplication.translate("SnapshotDialog", u"Width (px):", None))
#if QT_CONFIG(tooltip)
        self.checkBoxWYSIWYG.setToolTip(QCoreApplication.translate("SnapshotDialog", u"What you see is what you get!", None))
#endif // QT_CONFIG(tooltip)
        self.checkBoxWYSIWYG.setText(QCoreApplication.translate("SnapshotDialog", u"WYSIWYG", None))
        self.groupBox_2.setTitle(QCoreApplication.translate("SnapshotDialog", u"Preview", None))
示例#9
0
class Ui_View(object):
    def setupUi(self, View):
        View.setObjectName("View")
        View.resize(1024, 742)
        font = QtGui.QFont()
        font.setPointSize(11)
        View.setFont(font)
        self.horizontalLayout = QtWidgets.QHBoxLayout(View)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.controlPanel_widget = QtWidgets.QWidget(View)
        self.controlPanel_widget.setMinimumSize(QtCore.QSize(270, 0))
        self.controlPanel_widget.setObjectName("controlPanel_widget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.controlPanel_widget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.leftLung_groupBox = QtWidgets.QGroupBox(self.controlPanel_widget)
        self.leftLung_groupBox.setObjectName("leftLung_groupBox")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.leftLung_groupBox)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.datacloudIpdata_lineEdit = QtWidgets.QLineEdit(
            self.leftLung_groupBox)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.datacloudIpdata_lineEdit.setFont(font)
        self.datacloudIpdata_lineEdit.setObjectName("datacloudIpdata_lineEdit")
        self.gridLayout_4.addWidget(self.datacloudIpdata_lineEdit, 0, 0, 1, 1)
        self.surfaceIpnode_pushButton = QtWidgets.QPushButton(
            self.leftLung_groupBox)
        self.surfaceIpnode_pushButton.setObjectName("surfaceIpnode_pushButton")
        self.gridLayout_4.addWidget(self.surfaceIpnode_pushButton, 1, 1, 1, 1)
        self.datacloudIpdata_pushButton = QtWidgets.QPushButton(
            self.leftLung_groupBox)
        self.datacloudIpdata_pushButton.setObjectName(
            "datacloudIpdata_pushButton")
        self.gridLayout_4.addWidget(self.datacloudIpdata_pushButton, 0, 1, 1,
                                    1)
        self.surfaceIpnode_lineEdit = QtWidgets.QLineEdit(
            self.leftLung_groupBox)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.surfaceIpnode_lineEdit.setFont(font)
        self.surfaceIpnode_lineEdit.setObjectName("surfaceIpnode_lineEdit")
        self.gridLayout_4.addWidget(self.surfaceIpnode_lineEdit, 1, 0, 1, 1)
        self.surfaceIpelem_pushButton = QtWidgets.QPushButton(
            self.leftLung_groupBox)
        self.surfaceIpelem_pushButton.setObjectName("surfaceIpelem_pushButton")
        self.gridLayout_4.addWidget(self.surfaceIpelem_pushButton, 2, 1, 1, 1)
        self.surfaceIpelem_lineEdit = QtWidgets.QLineEdit(
            self.leftLung_groupBox)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.surfaceIpelem_lineEdit.setFont(font)
        self.surfaceIpelem_lineEdit.setObjectName("surfaceIpelem_lineEdit")
        self.gridLayout_4.addWidget(self.surfaceIpelem_lineEdit, 2, 0, 1, 1)
        self.showDatacloud_checkBox = QtWidgets.QCheckBox(
            self.leftLung_groupBox)
        self.showDatacloud_checkBox.setChecked(True)
        self.showDatacloud_checkBox.setObjectName("showDatacloud_checkBox")
        self.gridLayout_4.addWidget(self.showDatacloud_checkBox, 4, 0, 1, 2)
        self.showMesh_checkBox = QtWidgets.QCheckBox(self.leftLung_groupBox)
        self.showMesh_checkBox.setChecked(True)
        self.showMesh_checkBox.setObjectName("showMesh_checkBox")
        self.gridLayout_4.addWidget(self.showMesh_checkBox, 5, 0, 1, 2)
        self.load_pushButton = QtWidgets.QPushButton(self.leftLung_groupBox)
        self.load_pushButton.setMinimumSize(QtCore.QSize(0, 40))
        self.load_pushButton.setObjectName("load_pushButton")
        self.gridLayout_4.addWidget(self.load_pushButton, 3, 0, 1, 2)
        self.verticalLayout.addWidget(self.leftLung_groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(self.controlPanel_widget)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.iterations_spinBox = QtWidgets.QSpinBox(self.groupBox_2)
        self.iterations_spinBox.setMinimum(1)
        self.iterations_spinBox.setMaximum(20)
        self.iterations_spinBox.setProperty("value", 8)
        self.iterations_spinBox.setObjectName("iterations_spinBox")
        self.gridLayout_3.addWidget(self.iterations_spinBox, 2, 1, 1, 1)
        self.fit_pushButton = QtWidgets.QPushButton(self.groupBox_2)
        self.fit_pushButton.setMinimumSize(QtCore.QSize(0, 40))
        self.fit_pushButton.setObjectName("fit_pushButton")
        self.gridLayout_3.addWidget(self.fit_pushButton, 4, 0, 1, 2)
        self.label = QtWidgets.QLabel(self.groupBox_2)
        self.label.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
                                | QtCore.Qt.AlignVCenter)
        self.label.setObjectName("label")
        self.gridLayout_3.addWidget(self.label, 2, 0, 1, 1)
        self.landmarks_groupBox = QtWidgets.QGroupBox(self.groupBox_2)
        self.landmarks_groupBox.setObjectName("landmarks_groupBox")
        self.gridLayout = QtWidgets.QGridLayout(self.landmarks_groupBox)
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName("gridLayout")
        self.ventralNode_pushButton = QtWidgets.QPushButton(
            self.landmarks_groupBox)
        self.ventralNode_pushButton.setMinimumSize(QtCore.QSize(0, 50))
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.ventralNode_pushButton.setFont(font)
        self.ventralNode_pushButton.setFocusPolicy(QtCore.Qt.NoFocus)
        self.ventralNode_pushButton.setAutoFillBackground(False)
        self.ventralNode_pushButton.setStyleSheet("color:olive;")
        self.ventralNode_pushButton.setCheckable(True)
        self.ventralNode_pushButton.setObjectName("ventralNode_pushButton")
        self.gridLayout.addWidget(self.ventralNode_pushButton, 1, 0, 1, 1)
        self.apexNode_pushButton = QtWidgets.QPushButton(
            self.landmarks_groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.apexNode_pushButton.sizePolicy().hasHeightForWidth())
        self.apexNode_pushButton.setSizePolicy(sizePolicy)
        self.apexNode_pushButton.setMinimumSize(QtCore.QSize(0, 50))
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.apexNode_pushButton.setFont(font)
        self.apexNode_pushButton.setFocusPolicy(QtCore.Qt.NoFocus)
        self.apexNode_pushButton.setAutoFillBackground(False)
        self.apexNode_pushButton.setStyleSheet("color:green;")
        self.apexNode_pushButton.setCheckable(True)
        self.apexNode_pushButton.setObjectName("apexNode_pushButton")
        self.gridLayout.addWidget(self.apexNode_pushButton, 0, 0, 1, 1)
        self.basalNode_pushButton = QtWidgets.QPushButton(
            self.landmarks_groupBox)
        self.basalNode_pushButton.setMinimumSize(QtCore.QSize(0, 50))
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.basalNode_pushButton.setFont(font)
        self.basalNode_pushButton.setFocusPolicy(QtCore.Qt.NoFocus)
        self.basalNode_pushButton.setAutoFillBackground(False)
        self.basalNode_pushButton.setStyleSheet("color:maroon;")
        self.basalNode_pushButton.setCheckable(True)
        self.basalNode_pushButton.setObjectName("basalNode_pushButton")
        self.gridLayout.addWidget(self.basalNode_pushButton, 0, 1, 1, 1)
        self.lateralNode_pushButton = QtWidgets.QPushButton(
            self.landmarks_groupBox)
        self.lateralNode_pushButton.setMinimumSize(QtCore.QSize(0, 50))
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setWeight(75)
        font.setBold(True)
        self.lateralNode_pushButton.setFont(font)
        self.lateralNode_pushButton.setFocusPolicy(QtCore.Qt.NoFocus)
        self.lateralNode_pushButton.setAutoFillBackground(False)
        self.lateralNode_pushButton.setStyleSheet("color:navy;")
        self.lateralNode_pushButton.setCheckable(True)
        self.lateralNode_pushButton.setObjectName("lateralNode_pushButton")
        self.gridLayout.addWidget(self.lateralNode_pushButton, 1, 1, 1, 1)
        self.gridLayout_3.addWidget(self.landmarks_groupBox, 1, 0, 1, 2)
        self.verticalLayout.addWidget(self.groupBox_2)
        spacerItem = QtWidgets.QSpacerItem(20, 20,
                                           QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.groupBox = QtWidgets.QGroupBox(self.controlPanel_widget)
        self.groupBox.setFlat(False)
        self.groupBox.setCheckable(False)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.outputExnode_lineEdit = QtWidgets.QLineEdit(self.groupBox)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.outputExnode_lineEdit.setFont(font)
        self.outputExnode_lineEdit.setObjectName("outputExnode_lineEdit")
        self.gridLayout_2.addWidget(self.outputExnode_lineEdit, 0, 0, 1, 1)
        self.outputExelem_lineEdit = QtWidgets.QLineEdit(self.groupBox)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.outputExelem_lineEdit.setFont(font)
        self.outputExelem_lineEdit.setObjectName("outputExelem_lineEdit")
        self.gridLayout_2.addWidget(self.outputExelem_lineEdit, 1, 0, 1, 1)
        self.outputExnode_pushButton = QtWidgets.QPushButton(self.groupBox)
        self.outputExnode_pushButton.setObjectName("outputExnode_pushButton")
        self.gridLayout_2.addWidget(self.outputExnode_pushButton, 0, 1, 1, 1)
        self.outputExelem_pushButton = QtWidgets.QPushButton(self.groupBox)
        self.outputExelem_pushButton.setObjectName("outputExelem_pushButton")
        self.gridLayout_2.addWidget(self.outputExelem_pushButton, 1, 1, 1, 1)
        self.save_pushButton = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.save_pushButton.sizePolicy().hasHeightForWidth())
        self.save_pushButton.setSizePolicy(sizePolicy)
        self.save_pushButton.setMinimumSize(QtCore.QSize(0, 40))
        self.save_pushButton.setObjectName("save_pushButton")
        self.gridLayout_2.addWidget(self.save_pushButton, 2, 0, 1, 2)
        self.verticalLayout.addWidget(self.groupBox)
        self.info_pushButton = QtWidgets.QPushButton(self.controlPanel_widget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.info_pushButton.sizePolicy().hasHeightForWidth())
        self.info_pushButton.setSizePolicy(sizePolicy)
        self.info_pushButton.setFocusPolicy(QtCore.Qt.NoFocus)
        self.info_pushButton.setFlat(True)
        self.info_pushButton.setObjectName("info_pushButton")
        self.verticalLayout.addWidget(self.info_pushButton)
        self.horizontalLayout.addWidget(self.controlPanel_widget)
        self.sceneviewer_widget = SceneviewerWidget(View)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.sceneviewer_widget.sizePolicy().hasHeightForWidth())
        self.sceneviewer_widget.setSizePolicy(sizePolicy)
        self.sceneviewer_widget.setObjectName("sceneviewer_widget")
        self.horizontalLayout.addWidget(self.sceneviewer_widget)

        self.retranslateUi(View)
        QtCore.QMetaObject.connectSlotsByName(View)

    def retranslateUi(self, View):
        View.setWindowTitle(
            QtWidgets.QApplication.translate("View", "Lung fitting", None))
        self.leftLung_groupBox.setTitle(
            QtWidgets.QApplication.translate("View", "Inputs", None))
        self.surfaceIpnode_pushButton.setText(
            QtWidgets.QApplication.translate("View", ".ipnode", None))
        self.datacloudIpdata_pushButton.setText(
            QtWidgets.QApplication.translate("View", ".ipdata", None))
        self.surfaceIpelem_pushButton.setText(
            QtWidgets.QApplication.translate("View", ".ipelem", None))
        self.showDatacloud_checkBox.setText(
            QtWidgets.QApplication.translate("View", "Show data cloud", None))
        self.showMesh_checkBox.setText(
            QtWidgets.QApplication.translate("View", "Show surface mesh",
                                             None))
        self.load_pushButton.setText(
            QtWidgets.QApplication.translate("View", "Load", None))
        self.groupBox_2.setTitle(
            QtWidgets.QApplication.translate("View", "Fitting", None))
        self.fit_pushButton.setText(
            QtWidgets.QApplication.translate("View", "Fit", None))
        self.label.setText(
            QtWidgets.QApplication.translate("View", "Iterations:", None))
        self.landmarks_groupBox.setTitle(
            QtWidgets.QApplication.translate("View", "Choosing landmarks",
                                             None))
        self.ventralNode_pushButton.setAccessibleName(
            QtWidgets.QApplication.translate("View", "ventral", None))
        self.ventralNode_pushButton.setText(
            QtWidgets.QApplication.translate("View", "Ventral", None))
        self.apexNode_pushButton.setAccessibleName(
            QtWidgets.QApplication.translate("View", "apex", None))
        self.apexNode_pushButton.setText(
            QtWidgets.QApplication.translate("View", "Apex", None))
        self.basalNode_pushButton.setAccessibleName(
            QtWidgets.QApplication.translate("View", "basal", None))
        self.basalNode_pushButton.setText(
            QtWidgets.QApplication.translate("View", "Basal", None))
        self.lateralNode_pushButton.setAccessibleName(
            QtWidgets.QApplication.translate("View", "lateral", None))
        self.lateralNode_pushButton.setText(
            QtWidgets.QApplication.translate("View", "Lateral", None))
        self.groupBox.setTitle(
            QtWidgets.QApplication.translate("View", "Saving", None))
        self.outputExnode_pushButton.setText(
            QtWidgets.QApplication.translate("View", ".exnode", None))
        self.outputExelem_pushButton.setText(
            QtWidgets.QApplication.translate("View", ".exelem", None))
        self.save_pushButton.setText(
            QtWidgets.QApplication.translate("View", "Save", None))
        self.info_pushButton.setText(
            QtWidgets.QApplication.translate("View", "Info", None))
class Ui_LungModelWidget(object):
    def setupUi(self, LungModelWidget):
        LungModelWidget.setObjectName("LungModelWidget")
        LungModelWidget.resize(983, 802)
        self.horizontalLayout = QtGui.QHBoxLayout(LungModelWidget)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.controlPanel_groupBox = QtGui.QGroupBox(LungModelWidget)
        self.controlPanel_groupBox.setObjectName("controlPanel_groupBox")
        self.verticalLayout = QtGui.QVBoxLayout(self.controlPanel_groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        spacerItem = QtGui.QSpacerItem(20, 5, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        self.verticalLayout.addItem(spacerItem)
        self.lung_groupBox = QtGui.QGroupBox(self.controlPanel_groupBox)
        self.lung_groupBox.setObjectName("lung_groupBox")
        self.gridLayout_9 = QtGui.QGridLayout(self.lung_groupBox)
        self.gridLayout_9.setObjectName("gridLayout_9")
        self.leftLung = QtGui.QLabel(self.lung_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.leftLung.sizePolicy().hasHeightForWidth())
        self.leftLung.setSizePolicy(sizePolicy)
        self.leftLung.setObjectName("leftLung")
        self.gridLayout_9.addWidget(self.leftLung, 0, 0, 1, 1)
        self.rightLung = QtGui.QLabel(self.lung_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.rightLung.sizePolicy().hasHeightForWidth())
        self.rightLung.setSizePolicy(sizePolicy)
        self.rightLung.setObjectName("rightLung")
        self.gridLayout_9.addWidget(self.rightLung, 0, 2, 1, 1)
        self.rightLung_checkBox = QtGui.QCheckBox(self.lung_groupBox)
        self.rightLung_checkBox.setText("")
        self.rightLung_checkBox.setObjectName("rightLung_checkBox")
        self.gridLayout_9.addWidget(self.rightLung_checkBox, 0, 3, 1, 1)
        self.leftLung_checkBox = QtGui.QCheckBox(self.lung_groupBox)
        self.leftLung_checkBox.setText("")
        self.leftLung_checkBox.setObjectName("leftLung_checkBox")
        self.gridLayout_9.addWidget(self.leftLung_checkBox, 0, 1, 1, 1)
        self.verticalLayout.addWidget(self.lung_groupBox)
        self.line = QtGui.QFrame(self.controlPanel_groupBox)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.airway_groupBox = QtGui.QGroupBox(self.controlPanel_groupBox)
        self.airway_groupBox.setObjectName("airway_groupBox")
        self.gridLayout_6 = QtGui.QGridLayout(self.airway_groupBox)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.leftAirway = QtGui.QLabel(self.airway_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.leftAirway.sizePolicy().hasHeightForWidth())
        self.leftAirway.setSizePolicy(sizePolicy)
        self.leftAirway.setObjectName("leftAirway")
        self.gridLayout_6.addWidget(self.leftAirway, 0, 0, 1, 1)
        self.rightAirway = QtGui.QLabel(self.airway_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.rightAirway.sizePolicy().hasHeightForWidth())
        self.rightAirway.setSizePolicy(sizePolicy)
        self.rightAirway.setObjectName("rightAirway")
        self.gridLayout_6.addWidget(self.rightAirway, 0, 2, 1, 1)
        self.rightAirway_checkBox = QtGui.QCheckBox(self.airway_groupBox)
        self.rightAirway_checkBox.setText("")
        self.rightAirway_checkBox.setObjectName("rightAirway_checkBox")
        self.gridLayout_6.addWidget(self.rightAirway_checkBox, 0, 3, 1, 1)
        self.leftAirway_checkBox = QtGui.QCheckBox(self.airway_groupBox)
        self.leftAirway_checkBox.setText("")
        self.leftAirway_checkBox.setObjectName("leftAirway_checkBox")
        self.gridLayout_6.addWidget(self.leftAirway_checkBox, 0, 1, 1, 1)
        self.verticalLayout.addWidget(self.airway_groupBox)
        self.line_2 = QtGui.QFrame(self.controlPanel_groupBox)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.verticalLayout.addWidget(self.line_2)
        self.artery_groupBox = QtGui.QGroupBox(self.controlPanel_groupBox)
        self.artery_groupBox.setObjectName("artery_groupBox")
        self.gridLayout_7 = QtGui.QGridLayout(self.artery_groupBox)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.leftArtery = QtGui.QLabel(self.artery_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.leftArtery.sizePolicy().hasHeightForWidth())
        self.leftArtery.setSizePolicy(sizePolicy)
        self.leftArtery.setObjectName("leftArtery")
        self.gridLayout_7.addWidget(self.leftArtery, 0, 0, 1, 1)
        self.rightArtery = QtGui.QLabel(self.artery_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.rightArtery.sizePolicy().hasHeightForWidth())
        self.rightArtery.setSizePolicy(sizePolicy)
        self.rightArtery.setObjectName("rightArtery")
        self.gridLayout_7.addWidget(self.rightArtery, 0, 2, 1, 1)
        self.rightArtery_checkBox = QtGui.QCheckBox(self.artery_groupBox)
        self.rightArtery_checkBox.setText("")
        self.rightArtery_checkBox.setObjectName("rightArtery_checkBox")
        self.gridLayout_7.addWidget(self.rightArtery_checkBox, 0, 3, 1, 1)
        self.leftArtery_checkBox = QtGui.QCheckBox(self.artery_groupBox)
        self.leftArtery_checkBox.setText("")
        self.leftArtery_checkBox.setObjectName("leftArtery_checkBox")
        self.gridLayout_7.addWidget(self.leftArtery_checkBox, 0, 1, 1, 1)
        self.verticalLayout.addWidget(self.artery_groupBox)
        self.line_3 = QtGui.QFrame(self.controlPanel_groupBox)
        self.line_3.setFrameShape(QtGui.QFrame.HLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.verticalLayout.addWidget(self.line_3)
        self.vein_groupBox = QtGui.QGroupBox(self.controlPanel_groupBox)
        self.vein_groupBox.setObjectName("vein_groupBox")
        self.gridLayout_8 = QtGui.QGridLayout(self.vein_groupBox)
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.rightVein_checkBox = QtGui.QCheckBox(self.vein_groupBox)
        self.rightVein_checkBox.setText("")
        self.rightVein_checkBox.setObjectName("rightVein_checkBox")
        self.gridLayout_8.addWidget(self.rightVein_checkBox, 0, 3, 1, 1)
        self.rightVein = QtGui.QLabel(self.vein_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.rightVein.sizePolicy().hasHeightForWidth())
        self.rightVein.setSizePolicy(sizePolicy)
        self.rightVein.setObjectName("rightVein")
        self.gridLayout_8.addWidget(self.rightVein, 0, 2, 1, 1)
        self.leftVein_checkBox = QtGui.QCheckBox(self.vein_groupBox)
        self.leftVein_checkBox.setText("")
        self.leftVein_checkBox.setObjectName("leftVein_checkBox")
        self.gridLayout_8.addWidget(self.leftVein_checkBox, 0, 1, 1, 1)
        self.leftVein = QtGui.QLabel(self.vein_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.leftVein.sizePolicy().hasHeightForWidth())
        self.leftVein.setSizePolicy(sizePolicy)
        self.leftVein.setObjectName("leftVein")
        self.gridLayout_8.addWidget(self.leftVein, 0, 0, 1, 1)
        self.verticalLayout.addWidget(self.vein_groupBox)
        self.line_4 = QtGui.QFrame(self.controlPanel_groupBox)
        self.line_4.setFrameShape(QtGui.QFrame.HLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.verticalLayout.addWidget(self.line_4)
        self.morphing_groupBox = QtGui.QGroupBox(self.controlPanel_groupBox)
        self.morphing_groupBox.setObjectName("morphing_groupBox")
        self.gridLayout_2 = QtGui.QGridLayout(self.morphing_groupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.modeTwo_doubleSpinBox = QtGui.QDoubleSpinBox(
            self.morphing_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.modeTwo_doubleSpinBox.sizePolicy().hasHeightForWidth())
        self.modeTwo_doubleSpinBox.setSizePolicy(sizePolicy)
        self.modeTwo_doubleSpinBox.setMinimum(-3.0)
        self.modeTwo_doubleSpinBox.setMaximum(3.0)
        self.modeTwo_doubleSpinBox.setSingleStep(0.1)
        self.modeTwo_doubleSpinBox.setObjectName("modeTwo_doubleSpinBox")
        self.gridLayout_2.addWidget(self.modeTwo_doubleSpinBox, 0, 3, 1, 1)
        self.modeFour_label = QtGui.QLabel(self.morphing_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.modeFour_label.sizePolicy().hasHeightForWidth())
        self.modeFour_label.setSizePolicy(sizePolicy)
        self.modeFour_label.setObjectName("modeFour_label")
        self.gridLayout_2.addWidget(self.modeFour_label, 2, 2, 1, 1)
        self.modeThree_doubleSpinBox = QtGui.QDoubleSpinBox(
            self.morphing_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.modeThree_doubleSpinBox.sizePolicy().hasHeightForWidth())
        self.modeThree_doubleSpinBox.setSizePolicy(sizePolicy)
        self.modeThree_doubleSpinBox.setMinimum(-3.0)
        self.modeThree_doubleSpinBox.setMaximum(3.0)
        self.modeThree_doubleSpinBox.setSingleStep(0.1)
        self.modeThree_doubleSpinBox.setObjectName("modeThree_doubleSpinBox")
        self.gridLayout_2.addWidget(self.modeThree_doubleSpinBox, 2, 1, 1, 1)
        self.modeOne_label = QtGui.QLabel(self.morphing_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.modeOne_label.sizePolicy().hasHeightForWidth())
        self.modeOne_label.setSizePolicy(sizePolicy)
        self.modeOne_label.setObjectName("modeOne_label")
        self.gridLayout_2.addWidget(self.modeOne_label, 0, 0, 1, 1)
        self.modeSix_label = QtGui.QLabel(self.morphing_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.modeSix_label.sizePolicy().hasHeightForWidth())
        self.modeSix_label.setSizePolicy(sizePolicy)
        self.modeSix_label.setObjectName("modeSix_label")
        self.gridLayout_2.addWidget(self.modeSix_label, 4, 2, 1, 1)
        self.modeThree_label = QtGui.QLabel(self.morphing_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.modeThree_label.sizePolicy().hasHeightForWidth())
        self.modeThree_label.setSizePolicy(sizePolicy)
        self.modeThree_label.setObjectName("modeThree_label")
        self.gridLayout_2.addWidget(self.modeThree_label, 2, 0, 1, 1)
        self.modeSix_doubleSpinBox = QtGui.QDoubleSpinBox(
            self.morphing_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.modeSix_doubleSpinBox.sizePolicy().hasHeightForWidth())
        self.modeSix_doubleSpinBox.setSizePolicy(sizePolicy)
        self.modeSix_doubleSpinBox.setMinimum(-3.0)
        self.modeSix_doubleSpinBox.setMaximum(3.0)
        self.modeSix_doubleSpinBox.setSingleStep(0.1)
        self.modeSix_doubleSpinBox.setObjectName("modeSix_doubleSpinBox")
        self.gridLayout_2.addWidget(self.modeSix_doubleSpinBox, 4, 3, 1, 1)
        self.modeFive_label = QtGui.QLabel(self.morphing_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.modeFive_label.sizePolicy().hasHeightForWidth())
        self.modeFive_label.setSizePolicy(sizePolicy)
        self.modeFive_label.setObjectName("modeFive_label")
        self.gridLayout_2.addWidget(self.modeFive_label, 4, 0, 1, 1)
        self.modeOne_doubleSpinBox = QtGui.QDoubleSpinBox(
            self.morphing_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.modeOne_doubleSpinBox.sizePolicy().hasHeightForWidth())
        self.modeOne_doubleSpinBox.setSizePolicy(sizePolicy)
        self.modeOne_doubleSpinBox.setMinimum(-3.0)
        self.modeOne_doubleSpinBox.setMaximum(3.0)
        self.modeOne_doubleSpinBox.setSingleStep(0.1)
        self.modeOne_doubleSpinBox.setObjectName("modeOne_doubleSpinBox")
        self.gridLayout_2.addWidget(self.modeOne_doubleSpinBox, 0, 1, 1, 1)
        self.modeFive_doubleSpinBox = QtGui.QDoubleSpinBox(
            self.morphing_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.modeFive_doubleSpinBox.sizePolicy().hasHeightForWidth())
        self.modeFive_doubleSpinBox.setSizePolicy(sizePolicy)
        self.modeFive_doubleSpinBox.setMinimum(-3.0)
        self.modeFive_doubleSpinBox.setMaximum(3.0)
        self.modeFive_doubleSpinBox.setSingleStep(0.1)
        self.modeFive_doubleSpinBox.setObjectName("modeFive_doubleSpinBox")
        self.gridLayout_2.addWidget(self.modeFive_doubleSpinBox, 4, 1, 1, 1)
        self.modeTwo_label = QtGui.QLabel(self.morphing_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.modeTwo_label.sizePolicy().hasHeightForWidth())
        self.modeTwo_label.setSizePolicy(sizePolicy)
        self.modeTwo_label.setObjectName("modeTwo_label")
        self.gridLayout_2.addWidget(self.modeTwo_label, 0, 2, 1, 1)
        self.modeFour_doubleSpinBox = QtGui.QDoubleSpinBox(
            self.morphing_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.modeFour_doubleSpinBox.sizePolicy().hasHeightForWidth())
        self.modeFour_doubleSpinBox.setSizePolicy(sizePolicy)
        self.modeFour_doubleSpinBox.setMinimum(-3.0)
        self.modeFour_doubleSpinBox.setMaximum(3.0)
        self.modeFour_doubleSpinBox.setSingleStep(0.1)
        self.modeFour_doubleSpinBox.setObjectName("modeFour_doubleSpinBox")
        self.gridLayout_2.addWidget(self.modeFour_doubleSpinBox, 2, 3, 1, 1)
        self.verticalLayout.addWidget(self.morphing_groupBox)
        self.reset_pushButton = QtGui.QPushButton(self.controlPanel_groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.reset_pushButton.sizePolicy().hasHeightForWidth())
        self.reset_pushButton.setSizePolicy(sizePolicy)
        self.reset_pushButton.setObjectName("reset_pushButton")
        self.verticalLayout.addWidget(self.reset_pushButton)
        spacerItem1 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem1)
        self.groupBox = QtGui.QGroupBox(self.controlPanel_groupBox)
        self.groupBox.setTitle("")
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.groupBox)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.exit_pushButton = QtGui.QPushButton(self.groupBox)
        self.exit_pushButton.setObjectName("exit_pushButton")
        self.horizontalLayout_3.addWidget(self.exit_pushButton)
        self.frame = QtGui.QFrame(self.groupBox)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frame)
        self.horizontalLayout_2.setContentsMargins(1, 1, 1, 1)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem2 = QtGui.QSpacerItem(200, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.horizontalLayout_3.addWidget(self.frame)
        self.verticalLayout.addWidget(self.groupBox)
        self.horizontalLayout.addWidget(self.controlPanel_groupBox)
        self.sceneviewer_widget = SceneviewerWidget(LungModelWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.sceneviewer_widget.sizePolicy().hasHeightForWidth())
        self.sceneviewer_widget.setSizePolicy(sizePolicy)
        self.sceneviewer_widget.setObjectName("sceneviewer_widget")
        self.horizontalLayout.addWidget(self.sceneviewer_widget)

        self.retranslateUi(LungModelWidget)
        QtCore.QMetaObject.connectSlotsByName(LungModelWidget)

    def retranslateUi(self, LungModelWidget):
        LungModelWidget.setWindowTitle(
            QtGui.QApplication.translate("LungModelWidget", "lungmodel", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.controlPanel_groupBox.setTitle(
            QtGui.QApplication.translate("LungModelWidget", "Control Panel",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lung_groupBox.setTitle(
            QtGui.QApplication.translate("LungModelWidget", "Lung surface",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.leftLung.setText(
            QtGui.QApplication.translate("LungModelWidget", "Left lung", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.rightLung.setText(
            QtGui.QApplication.translate("LungModelWidget", "Right lung", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.airway_groupBox.setTitle(
            QtGui.QApplication.translate("LungModelWidget",
                                         "Grow airway tree!", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.leftAirway.setText(
            QtGui.QApplication.translate("LungModelWidget", "Left lung", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.rightAirway.setText(
            QtGui.QApplication.translate("LungModelWidget", "Right lung", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.artery_groupBox.setTitle(
            QtGui.QApplication.translate("LungModelWidget",
                                         "Grow arterial vessels tree!", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.leftArtery.setText(
            QtGui.QApplication.translate("LungModelWidget", "Left lung", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.rightArtery.setText(
            QtGui.QApplication.translate("LungModelWidget", "Right lung", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.vein_groupBox.setTitle(
            QtGui.QApplication.translate("LungModelWidget",
                                         "Grow venous vessels tree!", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.rightVein.setText(
            QtGui.QApplication.translate("LungModelWidget", "Right lung", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.leftVein.setText(
            QtGui.QApplication.translate("LungModelWidget", "Left lung", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.morphing_groupBox.setTitle(
            QtGui.QApplication.translate("LungModelWidget", "Morph the lung! ",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.modeFour_label.setText(
            QtGui.QApplication.translate("LungModelWidget", "Four", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.modeOne_label.setText(
            QtGui.QApplication.translate("LungModelWidget", "One", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.modeSix_label.setText(
            QtGui.QApplication.translate("LungModelWidget", "Six", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.modeThree_label.setText(
            QtGui.QApplication.translate("LungModelWidget", "Three", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.modeFive_label.setText(
            QtGui.QApplication.translate("LungModelWidget", "Five", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.modeTwo_label.setText(
            QtGui.QApplication.translate("LungModelWidget", "Two", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.reset_pushButton.setText(
            QtGui.QApplication.translate("LungModelWidget",
                                         "Reset to Average model", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.exit_pushButton.setText(
            QtGui.QApplication.translate("LungModelWidget", "Exit", None,
                                         QtGui.QApplication.UnicodeUTF8))
示例#11
0
class Ui_SpectrumEditorWidget(object):
    def setupUi(self, SpectrumEditorWidget):
        if not SpectrumEditorWidget.objectName():
            SpectrumEditorWidget.setObjectName(u"SpectrumEditorWidget")
        SpectrumEditorWidget.resize(300, 875)
        self.verticalLayout = QVBoxLayout(SpectrumEditorWidget)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.scrollArea = QScrollArea(SpectrumEditorWidget)
        self.scrollArea.setObjectName(u"scrollArea")
        self.scrollArea.setWidgetResizable(True)
        self.scrollAreaWidgetContents = QWidget()
        self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
        self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 298, 873))
        self.verticalLayout_2 = QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_2.setSpacing(2)
        self.verticalLayout_2.setContentsMargins(2, 2, 2, 2)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.groupBox = QGroupBox(self.scrollAreaWidgetContents)
        self.groupBox.setObjectName(u"groupBox")
        sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.horizontalLayout_2 = QHBoxLayout(self.groupBox)
        self.horizontalLayout_2.setContentsMargins(7, 7, 7, 7)
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.widget_2 = QWidget(self.groupBox)
        self.widget_2.setObjectName(u"widget_2")
        self.verticalLayout_3 = QVBoxLayout(self.widget_2)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.pushButtonAddSpectrum = QPushButton(self.widget_2)
        self.pushButtonAddSpectrum.setObjectName(u"pushButtonAddSpectrum")
        icon = QIcon()
        icon.addFile(u":/zincwidgets/images/icons/list-add-icon.png", QSize(), QIcon.Normal, QIcon.Off)
        self.pushButtonAddSpectrum.setIcon(icon)

        self.verticalLayout_3.addWidget(self.pushButtonAddSpectrum)

        self.pushButtonDeleteSpectrum = QPushButton(self.widget_2)
        self.pushButtonDeleteSpectrum.setObjectName(u"pushButtonDeleteSpectrum")
        icon1 = QIcon()
        icon1.addFile(u":/zincwidgets/images/icons/list-remove-icon.png", QSize(), QIcon.Normal, QIcon.Off)
        self.pushButtonDeleteSpectrum.setIcon(icon1)

        self.verticalLayout_3.addWidget(self.pushButtonDeleteSpectrum)

        self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.verticalLayout_3.addItem(self.verticalSpacer)


        self.horizontalLayout_2.addWidget(self.widget_2)

        self.listWidgetSpectrums = QListWidget(self.groupBox)
        self.listWidgetSpectrums.setObjectName(u"listWidgetSpectrums")

        self.horizontalLayout_2.addWidget(self.listWidgetSpectrums)


        self.verticalLayout_2.addWidget(self.groupBox)

        self.sceneviewerWidgetPreview = SceneviewerWidget(self.scrollAreaWidgetContents)
        self.sceneviewerWidgetPreview.setObjectName(u"sceneviewerWidgetPreview")
        sizePolicy1 = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
        sizePolicy1.setHorizontalStretch(1)
        sizePolicy1.setVerticalStretch(1)
        sizePolicy1.setHeightForWidth(self.sceneviewerWidgetPreview.sizePolicy().hasHeightForWidth())
        self.sceneviewerWidgetPreview.setSizePolicy(sizePolicy1)
        self.sceneviewerWidgetPreview.setMinimumSize(QSize(0, 40))

        self.verticalLayout_2.addWidget(self.sceneviewerWidgetPreview)

        self.groupBoxSpectrumProperties = QGroupBox(self.scrollAreaWidgetContents)
        self.groupBoxSpectrumProperties.setObjectName(u"groupBoxSpectrumProperties")
        self.horizontalLayout_4 = QHBoxLayout(self.groupBoxSpectrumProperties)
        self.horizontalLayout_4.setContentsMargins(7, 7, 7, 7)
        self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
        self.checkBoxDefault = QCheckBox(self.groupBoxSpectrumProperties)
        self.checkBoxDefault.setObjectName(u"checkBoxDefault")

        self.horizontalLayout_4.addWidget(self.checkBoxDefault)

        self.checkBoxOverwrite = QCheckBox(self.groupBoxSpectrumProperties)
        self.checkBoxOverwrite.setObjectName(u"checkBoxOverwrite")

        self.horizontalLayout_4.addWidget(self.checkBoxOverwrite)

        self.pushButtonAutorange = QPushButton(self.groupBoxSpectrumProperties)
        self.pushButtonAutorange.setObjectName(u"pushButtonAutorange")

        self.horizontalLayout_4.addWidget(self.pushButtonAutorange)


        self.verticalLayout_2.addWidget(self.groupBoxSpectrumProperties)

        self.groupBoxComponents = QGroupBox(self.scrollAreaWidgetContents)
        self.groupBoxComponents.setObjectName(u"groupBoxComponents")
        sizePolicy.setHeightForWidth(self.groupBoxComponents.sizePolicy().hasHeightForWidth())
        self.groupBoxComponents.setSizePolicy(sizePolicy)
        self.horizontalLayout_3 = QHBoxLayout(self.groupBoxComponents)
        self.horizontalLayout_3.setContentsMargins(7, 7, 7, 7)
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.widget_4 = QWidget(self.groupBoxComponents)
        self.widget_4.setObjectName(u"widget_4")
        self.verticalLayout_5 = QVBoxLayout(self.widget_4)
        self.verticalLayout_5.setSpacing(0)
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_5.setObjectName(u"verticalLayout_5")
        self.pushButtonAddSpectrumComponent = QPushButton(self.widget_4)
        self.pushButtonAddSpectrumComponent.setObjectName(u"pushButtonAddSpectrumComponent")
        self.pushButtonAddSpectrumComponent.setIcon(icon)

        self.verticalLayout_5.addWidget(self.pushButtonAddSpectrumComponent)

        self.pushButtonDeleteSpectrumComponent = QPushButton(self.widget_4)
        self.pushButtonDeleteSpectrumComponent.setObjectName(u"pushButtonDeleteSpectrumComponent")
        self.pushButtonDeleteSpectrumComponent.setIcon(icon1)

        self.verticalLayout_5.addWidget(self.pushButtonDeleteSpectrumComponent)

        self.pushButtonMoveUpSpectrumComponent = QPushButton(self.widget_4)
        self.pushButtonMoveUpSpectrumComponent.setObjectName(u"pushButtonMoveUpSpectrumComponent")
        icon2 = QIcon()
        icon2.addFile(u":/zincwidgets/images/icons/go-up-icon.png", QSize(), QIcon.Normal, QIcon.Off)
        self.pushButtonMoveUpSpectrumComponent.setIcon(icon2)

        self.verticalLayout_5.addWidget(self.pushButtonMoveUpSpectrumComponent)

        self.pushButtonMoveDownSpectrumComponent = QPushButton(self.widget_4)
        self.pushButtonMoveDownSpectrumComponent.setObjectName(u"pushButtonMoveDownSpectrumComponent")
        icon3 = QIcon()
        icon3.addFile(u":/zincwidgets/images/icons/go-down-icon.png", QSize(), QIcon.Normal, QIcon.Off)
        self.pushButtonMoveDownSpectrumComponent.setIcon(icon3)

        self.verticalLayout_5.addWidget(self.pushButtonMoveDownSpectrumComponent)


        self.horizontalLayout_3.addWidget(self.widget_4)

        self.listWidgetSpectrumComponents = QListWidget(self.groupBoxComponents)
        self.listWidgetSpectrumComponents.setObjectName(u"listWidgetSpectrumComponents")
        self.listWidgetSpectrumComponents.setDragDropMode(QAbstractItemView.InternalMove)
        self.listWidgetSpectrumComponents.setMovement(QListView.Free)

        self.horizontalLayout_3.addWidget(self.listWidgetSpectrumComponents)


        self.verticalLayout_2.addWidget(self.groupBoxComponents)

        self.groupBoxComponentProperties = QGroupBox(self.scrollAreaWidgetContents)
        self.groupBoxComponentProperties.setObjectName(u"groupBoxComponentProperties")
        self.formLayout_2 = QFormLayout(self.groupBoxComponentProperties)
        self.formLayout_2.setContentsMargins(7, 7, 7, 7)
        self.formLayout_2.setObjectName(u"formLayout_2")
        self.formLayout_2.setFieldGrowthPolicy(QFormLayout.AllNonFixedFieldsGrow)
        self.labelFieldComponent = QLabel(self.groupBoxComponentProperties)
        self.labelFieldComponent.setObjectName(u"labelFieldComponent")

        self.formLayout_2.setWidget(1, QFormLayout.LabelRole, self.labelFieldComponent)

        self.spinBoxDataFieldComponent = QSpinBox(self.groupBoxComponentProperties)
        self.spinBoxDataFieldComponent.setObjectName(u"spinBoxDataFieldComponent")
        self.spinBoxDataFieldComponent.setValue(1)

        self.formLayout_2.setWidget(1, QFormLayout.FieldRole, self.spinBoxDataFieldComponent)

        self.labelColourMap = QLabel(self.groupBoxComponentProperties)
        self.labelColourMap.setObjectName(u"labelColourMap")

        self.formLayout_2.setWidget(2, QFormLayout.LabelRole, self.labelColourMap)

        self.comboBoxColourMap = QComboBox(self.groupBoxComponentProperties)
        self.comboBoxColourMap.setObjectName(u"comboBoxColourMap")

        self.formLayout_2.setWidget(2, QFormLayout.FieldRole, self.comboBoxColourMap)

        self.groupBox_3 = QGroupBox(self.groupBoxComponentProperties)
        self.groupBox_3.setObjectName(u"groupBox_3")
        self.gridLayout = QGridLayout(self.groupBox_3)
        self.gridLayout.setContentsMargins(7, 7, 7, 7)
        self.gridLayout.setObjectName(u"gridLayout")
        self.checkBoxFixMinimum = QCheckBox(self.groupBox_3)
        self.checkBoxFixMinimum.setObjectName(u"checkBoxFixMinimum")

        self.gridLayout.addWidget(self.checkBoxFixMinimum, 1, 1, 1, 1)

        self.checkBoxExtendBelow = QCheckBox(self.groupBox_3)
        self.checkBoxExtendBelow.setObjectName(u"checkBoxExtendBelow")

        self.gridLayout.addWidget(self.checkBoxExtendBelow, 1, 4, 1, 1)

        self.lineEditDataRangeMax = QLineEdit(self.groupBox_3)
        self.lineEditDataRangeMax.setObjectName(u"lineEditDataRangeMax")
        sizePolicy2 = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Fixed)
        sizePolicy2.setHorizontalStretch(2)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(self.lineEditDataRangeMax.sizePolicy().hasHeightForWidth())
        self.lineEditDataRangeMax.setSizePolicy(sizePolicy2)

        self.gridLayout.addWidget(self.lineEditDataRangeMax, 2, 2, 1, 1)

        self.labelRangeMaximum = QLabel(self.groupBox_3)
        self.labelRangeMaximum.setObjectName(u"labelRangeMaximum")

        self.gridLayout.addWidget(self.labelRangeMaximum, 2, 0, 1, 1)

        self.labelRangeColour = QLabel(self.groupBox_3)
        self.labelRangeColour.setObjectName(u"labelRangeColour")

        self.gridLayout.addWidget(self.labelRangeColour, 0, 3, 1, 1)

        self.labelRangeMinimum = QLabel(self.groupBox_3)
        self.labelRangeMinimum.setObjectName(u"labelRangeMinimum")

        self.gridLayout.addWidget(self.labelRangeMinimum, 1, 0, 1, 1)

        self.lineEditDataRangeMin = QLineEdit(self.groupBox_3)
        self.lineEditDataRangeMin.setObjectName(u"lineEditDataRangeMin")
        sizePolicy2.setHeightForWidth(self.lineEditDataRangeMin.sizePolicy().hasHeightForWidth())
        self.lineEditDataRangeMin.setSizePolicy(sizePolicy2)

        self.gridLayout.addWidget(self.lineEditDataRangeMin, 1, 2, 1, 1)

        self.checkBoxFixMaximum = QCheckBox(self.groupBox_3)
        self.checkBoxFixMaximum.setObjectName(u"checkBoxFixMaximum")

        self.gridLayout.addWidget(self.checkBoxFixMaximum, 2, 1, 1, 1)

        self.lineEditColourRangeMax = QLineEdit(self.groupBox_3)
        self.lineEditColourRangeMax.setObjectName(u"lineEditColourRangeMax")
        sizePolicy3 = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Fixed)
        sizePolicy3.setHorizontalStretch(1)
        sizePolicy3.setVerticalStretch(0)
        sizePolicy3.setHeightForWidth(self.lineEditColourRangeMax.sizePolicy().hasHeightForWidth())
        self.lineEditColourRangeMax.setSizePolicy(sizePolicy3)

        self.gridLayout.addWidget(self.lineEditColourRangeMax, 2, 3, 1, 1)

        self.checkBoxExtendAbove = QCheckBox(self.groupBox_3)
        self.checkBoxExtendAbove.setObjectName(u"checkBoxExtendAbove")

        self.gridLayout.addWidget(self.checkBoxExtendAbove, 2, 4, 1, 1)

        self.labelRangeExtend = QLabel(self.groupBox_3)
        self.labelRangeExtend.setObjectName(u"labelRangeExtend")

        self.gridLayout.addWidget(self.labelRangeExtend, 0, 4, 1, 1)

        self.lineEditColourRangeMin = QLineEdit(self.groupBox_3)
        self.lineEditColourRangeMin.setObjectName(u"lineEditColourRangeMin")
        sizePolicy3.setHeightForWidth(self.lineEditColourRangeMin.sizePolicy().hasHeightForWidth())
        self.lineEditColourRangeMin.setSizePolicy(sizePolicy3)

        self.gridLayout.addWidget(self.lineEditColourRangeMin, 1, 3, 1, 1)

        self.labelRangeData = QLabel(self.groupBox_3)
        self.labelRangeData.setObjectName(u"labelRangeData")

        self.gridLayout.addWidget(self.labelRangeData, 0, 2, 1, 1)

        self.labelRangeFix = QLabel(self.groupBox_3)
        self.labelRangeFix.setObjectName(u"labelRangeFix")

        self.gridLayout.addWidget(self.labelRangeFix, 0, 1, 1, 1)


        self.formLayout_2.setWidget(6, QFormLayout.SpanningRole, self.groupBox_3)

        self.labelScaleType = QLabel(self.groupBoxComponentProperties)
        self.labelScaleType.setObjectName(u"labelScaleType")

        self.formLayout_2.setWidget(8, QFormLayout.LabelRole, self.labelScaleType)

        self.comboBoxScale = QComboBox(self.groupBoxComponentProperties)
        self.comboBoxScale.setObjectName(u"comboBoxScale")

        self.formLayout_2.setWidget(8, QFormLayout.FieldRole, self.comboBoxScale)

        self.labelExaggeration = QLabel(self.groupBoxComponentProperties)
        self.labelExaggeration.setObjectName(u"labelExaggeration")

        self.formLayout_2.setWidget(9, QFormLayout.LabelRole, self.labelExaggeration)

        self.lineEditExaggeration = QLineEdit(self.groupBoxComponentProperties)
        self.lineEditExaggeration.setObjectName(u"lineEditExaggeration")

        self.formLayout_2.setWidget(9, QFormLayout.FieldRole, self.lineEditExaggeration)

        self.pushButtonReverseColours = QPushButton(self.groupBoxComponentProperties)
        self.pushButtonReverseColours.setObjectName(u"pushButtonReverseColours")

        self.formLayout_2.setWidget(7, QFormLayout.FieldRole, self.pushButtonReverseColours)


        self.verticalLayout_2.addWidget(self.groupBoxComponentProperties)

        self.scrollArea.setWidget(self.scrollAreaWidgetContents)

        self.verticalLayout.addWidget(self.scrollArea)


        self.retranslateUi(SpectrumEditorWidget)

        QMetaObject.connectSlotsByName(SpectrumEditorWidget)
    # setupUi

    def retranslateUi(self, SpectrumEditorWidget):
        SpectrumEditorWidget.setWindowTitle(QCoreApplication.translate("SpectrumEditorWidget", u"Spectrum Editor", None))
        self.groupBox.setTitle(QCoreApplication.translate("SpectrumEditorWidget", u"Spectrums", None))
#if QT_CONFIG(tooltip)
        self.pushButtonAddSpectrum.setToolTip(QCoreApplication.translate("SpectrumEditorWidget", u"Add spectrum", None))
#endif // QT_CONFIG(tooltip)
        self.pushButtonAddSpectrum.setText("")
#if QT_CONFIG(tooltip)
        self.pushButtonDeleteSpectrum.setToolTip(QCoreApplication.translate("SpectrumEditorWidget", u"Remove spectrum", None))
#endif // QT_CONFIG(tooltip)
        self.pushButtonDeleteSpectrum.setText("")
        self.groupBoxSpectrumProperties.setTitle("")
        self.checkBoxDefault.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Default", None))
#if QT_CONFIG(tooltip)
        self.checkBoxOverwrite.setToolTip(QCoreApplication.translate("SpectrumEditorWidget", u"Overwrite graphics material colour with spectrum colour", None))
#endif // QT_CONFIG(tooltip)
        self.checkBoxOverwrite.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Overwrite", None))
        self.pushButtonAutorange.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Autorange", None))
        self.groupBoxComponents.setTitle(QCoreApplication.translate("SpectrumEditorWidget", u"Components", None))
#if QT_CONFIG(tooltip)
        self.pushButtonAddSpectrumComponent.setToolTip(QCoreApplication.translate("SpectrumEditorWidget", u"Add component", None))
#endif // QT_CONFIG(tooltip)
        self.pushButtonAddSpectrumComponent.setText("")
#if QT_CONFIG(tooltip)
        self.pushButtonDeleteSpectrumComponent.setToolTip(QCoreApplication.translate("SpectrumEditorWidget", u"Remove component", None))
#endif // QT_CONFIG(tooltip)
        self.pushButtonDeleteSpectrumComponent.setText("")
#if QT_CONFIG(tooltip)
        self.pushButtonMoveUpSpectrumComponent.setToolTip(QCoreApplication.translate("SpectrumEditorWidget", u"Move component up", None))
#endif // QT_CONFIG(tooltip)
        self.pushButtonMoveUpSpectrumComponent.setText("")
#if QT_CONFIG(tooltip)
        self.pushButtonMoveDownSpectrumComponent.setToolTip(QCoreApplication.translate("SpectrumEditorWidget", u"Move component down", None))
#endif // QT_CONFIG(tooltip)
        self.pushButtonMoveDownSpectrumComponent.setText("")
        self.groupBoxComponentProperties.setTitle(QCoreApplication.translate("SpectrumEditorWidget", u"Component Properties", None))
#if QT_CONFIG(tooltip)
        self.labelFieldComponent.setToolTip(QCoreApplication.translate("SpectrumEditorWidget", u"Index of component to use from data field", None))
#endif // QT_CONFIG(tooltip)
        self.labelFieldComponent.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Field component:", None))
#if QT_CONFIG(tooltip)
        self.spinBoxDataFieldComponent.setToolTip(QCoreApplication.translate("SpectrumEditorWidget", u"Index of component to use from data field", None))
#endif // QT_CONFIG(tooltip)
        self.labelColourMap.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Colour map:", None))
        self.groupBox_3.setTitle(QCoreApplication.translate("SpectrumEditorWidget", u"Range", None))
        self.checkBoxFixMinimum.setText("")
        self.checkBoxExtendBelow.setText("")
        self.lineEditDataRangeMax.setText(QCoreApplication.translate("SpectrumEditorWidget", u"1", None))
#if QT_CONFIG(tooltip)
        self.labelRangeMaximum.setToolTip(QCoreApplication.translate("SpectrumEditorWidget", u"Component to use from data field", None))
#endif // QT_CONFIG(tooltip)
        self.labelRangeMaximum.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Max:", None))
        self.labelRangeColour.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Colour:", None))
#if QT_CONFIG(tooltip)
        self.labelRangeMinimum.setToolTip(QCoreApplication.translate("SpectrumEditorWidget", u"Component to use from data field", None))
#endif // QT_CONFIG(tooltip)
        self.labelRangeMinimum.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Min:", None))
        self.lineEditDataRangeMin.setText(QCoreApplication.translate("SpectrumEditorWidget", u"0", None))
        self.checkBoxFixMaximum.setText("")
        self.lineEditColourRangeMax.setText(QCoreApplication.translate("SpectrumEditorWidget", u"1", None))
        self.checkBoxExtendAbove.setText("")
        self.labelRangeExtend.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Ext", None))
        self.lineEditColourRangeMin.setText(QCoreApplication.translate("SpectrumEditorWidget", u"0", None))
#if QT_CONFIG(tooltip)
        self.labelRangeData.setToolTip(QCoreApplication.translate("SpectrumEditorWidget", u"Component to use from data field", None))
#endif // QT_CONFIG(tooltip)
        self.labelRangeData.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Data:", None))
        self.labelRangeFix.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Fix", None))
        self.labelScaleType.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Scale type:", None))
        self.labelExaggeration.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Exaggeration:", None))
        self.pushButtonReverseColours.setText(QCoreApplication.translate("SpectrumEditorWidget", u"Reverse colours", None))
class Ui_SimpleVizWidget(object):
    def setupUi(self, SimpleVizWidget):
        if not SimpleVizWidget.objectName():
            SimpleVizWidget.setObjectName(u"SimpleVizWidget")
        SimpleVizWidget.resize(580, 616)
        sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            SimpleVizWidget.sizePolicy().hasHeightForWidth())
        SimpleVizWidget.setSizePolicy(sizePolicy)
        self.horizontalLayout = QHBoxLayout(SimpleVizWidget)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.dockWidget = QDockWidget(SimpleVizWidget)
        self.dockWidget.setObjectName(u"dockWidget")
        sizePolicy1 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Expanding)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(
            self.dockWidget.sizePolicy().hasHeightForWidth())
        self.dockWidget.setSizePolicy(sizePolicy1)
        self.dockWidget.setMinimumSize(QSize(230, 178))
        self.dockWidget.setFeatures(QDockWidget.DockWidgetFloatable
                                    | QDockWidget.DockWidgetMovable)
        self.dockWidget.setAllowedAreas(Qt.AllDockWidgetAreas)
        self.dockWidgetContents = QWidget()
        self.dockWidgetContents.setObjectName(u"dockWidgetContents")
        sizePolicy1.setHeightForWidth(
            self.dockWidgetContents.sizePolicy().hasHeightForWidth())
        self.dockWidgetContents.setSizePolicy(sizePolicy1)
        self.verticalLayout = QVBoxLayout(self.dockWidgetContents)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.scrollArea = QScrollArea(self.dockWidgetContents)
        self.scrollArea.setObjectName(u"scrollArea")
        sizePolicy1.setHeightForWidth(
            self.scrollArea.sizePolicy().hasHeightForWidth())
        self.scrollArea.setSizePolicy(sizePolicy1)
        self.scrollArea.setMinimumSize(QSize(0, 0))
        self.scrollArea.setVerticalScrollBarPolicy(Qt.ScrollBarAsNeeded)
        self.scrollArea.setWidgetResizable(True)
        self.scrollAreaWidgetContents_2 = QWidget()
        self.scrollAreaWidgetContents_2.setObjectName(
            u"scrollAreaWidgetContents_2")
        self.scrollAreaWidgetContents_2.setGeometry(QRect(0, 0, 250, 552))
        sizePolicy1.setHeightForWidth(
            self.scrollAreaWidgetContents_2.sizePolicy().hasHeightForWidth())
        self.scrollAreaWidgetContents_2.setSizePolicy(sizePolicy1)
        self.verticalLayout_2 = QVBoxLayout(self.scrollAreaWidgetContents_2)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.toolBox = QToolBox(self.scrollAreaWidgetContents_2)
        self.toolBox.setObjectName(u"toolBox")
        sizePolicy1.setHeightForWidth(
            self.toolBox.sizePolicy().hasHeightForWidth())
        self.toolBox.setSizePolicy(sizePolicy1)
        self.toolBox.setMinimumSize(QSize(0, 0))
        self.toolBox.setStyleSheet(
            u"QToolBox::tab {\n"
            "         background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n"
            "                                     stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,\n"
            "                                     stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);\n"
            "         border-radius: 5px;\n"
            "         color: black;\n"
            "     }\n"
            "\n"
            "     QToolBox::tab:selected { /* italicize selected tabs */\n"
            "         font: bold;\n"
            "         color: black;\n"
            "     }\n"
            "QToolBox {\n"
            "    padding : 0\n"
            "}")
        self.toolBox.setFrameShape(QFrame.NoFrame)
        self.toolBox.setFrameShadow(QFrame.Plain)
        self.graphics = QWidget()
        self.graphics.setObjectName(u"graphics")
        self.graphics.setGeometry(QRect(0, 0, 250, 396))
        sizePolicy1.setHeightForWidth(
            self.graphics.sizePolicy().hasHeightForWidth())
        self.graphics.setSizePolicy(sizePolicy1)
        self.verticalLayout_3 = QVBoxLayout(self.graphics)
        self.verticalLayout_3.setSpacing(3)
        self.verticalLayout_3.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.region_widget = QWidget(self.graphics)
        self.region_widget.setObjectName(u"region_widget")
        self.formLayout_5 = QFormLayout(self.region_widget)
        self.formLayout_5.setContentsMargins(3, 3, 3, 3)
        self.formLayout_5.setObjectName(u"formLayout_5")
        self.formLayout_5.setHorizontalSpacing(3)
        self.formLayout_5.setVerticalSpacing(3)
        self.region_label = QLabel(self.region_widget)
        self.region_label.setObjectName(u"region_label")

        self.formLayout_5.setWidget(0, QFormLayout.LabelRole,
                                    self.region_label)

        self.region_chooser = RegionChooserWidget(self.region_widget)
        self.region_chooser.setObjectName(u"region_chooser")

        self.formLayout_5.setWidget(0, QFormLayout.FieldRole,
                                    self.region_chooser)

        self.verticalLayout_3.addWidget(self.region_widget)

        self.scene_editor = SceneEditorWidget(self.graphics)
        self.scene_editor.setObjectName(u"scene_editor")
        sizePolicy1.setHeightForWidth(
            self.scene_editor.sizePolicy().hasHeightForWidth())
        self.scene_editor.setSizePolicy(sizePolicy1)

        self.verticalLayout_3.addWidget(self.scene_editor)

        self.toolBox.addItem(self.graphics, u"Graphics")
        self.view = QWidget()
        self.view.setObjectName(u"view")
        self.view.setGeometry(QRect(0, 0, 250, 396))
        sizePolicy1.setHeightForWidth(
            self.view.sizePolicy().hasHeightForWidth())
        self.view.setSizePolicy(sizePolicy1)
        self.verticalLayout_5 = QVBoxLayout(self.view)
        self.verticalLayout_5.setSpacing(3)
        self.verticalLayout_5.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout_5.setObjectName(u"verticalLayout_5")
        self.sceneviewer_editor_widget = SceneviewerEditorWidget(self.view)
        self.sceneviewer_editor_widget.setObjectName(
            u"sceneviewer_editor_widget")

        self.verticalLayout_5.addWidget(self.sceneviewer_editor_widget)

        self.toolBox.addItem(self.view, u"View")
        self.time = QWidget()
        self.time.setObjectName(u"time")
        self.time.setGeometry(QRect(0, 0, 250, 396))
        self.verticalLayout_8 = QVBoxLayout(self.time)
        self.verticalLayout_8.setObjectName(u"verticalLayout_8")
        self.time_autorange_button = QPushButton(self.time)
        self.time_autorange_button.setObjectName(u"time_autorange_button")

        self.verticalLayout_8.addWidget(self.time_autorange_button)

        self.frame_2 = QFrame(self.time)
        self.frame_2.setObjectName(u"frame_2")
        self.frame_2.setFrameShape(QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QFrame.Raised)
        self.formLayout_4 = QFormLayout(self.frame_2)
        self.formLayout_4.setObjectName(u"formLayout_4")
        self.time_minimum_label = QLabel(self.frame_2)
        self.time_minimum_label.setObjectName(u"time_minimum_label")

        self.formLayout_4.setWidget(0, QFormLayout.LabelRole,
                                    self.time_minimum_label)

        self.time_minimum_lineedit = QLineEdit(self.frame_2)
        self.time_minimum_lineedit.setObjectName(u"time_minimum_lineedit")

        self.formLayout_4.setWidget(0, QFormLayout.FieldRole,
                                    self.time_minimum_lineedit)

        self.time_maximum_label = QLabel(self.frame_2)
        self.time_maximum_label.setObjectName(u"time_maximum_label")

        self.formLayout_4.setWidget(1, QFormLayout.LabelRole,
                                    self.time_maximum_label)

        self.time_maximum_lineedit = QLineEdit(self.frame_2)
        self.time_maximum_lineedit.setObjectName(u"time_maximum_lineedit")

        self.formLayout_4.setWidget(1, QFormLayout.FieldRole,
                                    self.time_maximum_lineedit)

        self.time_lineedit = QLineEdit(self.frame_2)
        self.time_lineedit.setObjectName(u"time_lineedit")

        self.formLayout_4.setWidget(2, QFormLayout.FieldRole,
                                    self.time_lineedit)

        self.time_label = QLabel(self.frame_2)
        self.time_label.setObjectName(u"time_label")

        self.formLayout_4.setWidget(2, QFormLayout.LabelRole, self.time_label)

        self.verticalLayout_8.addWidget(self.frame_2)

        self.time_slider = QSlider(self.time)
        self.time_slider.setObjectName(u"time_slider")
        self.time_slider.setMaximum(10000)
        self.time_slider.setSingleStep(10)
        self.time_slider.setPageStep(100)
        self.time_slider.setOrientation(Qt.Horizontal)

        self.verticalLayout_8.addWidget(self.time_slider)

        self.verticalSpacer_5 = QSpacerItem(20, 40, QSizePolicy.Minimum,
                                            QSizePolicy.Expanding)

        self.verticalLayout_8.addItem(self.verticalSpacer_5)

        self.toolBox.addItem(self.time, u"Time")
        self.rendering = QWidget()
        self.rendering.setObjectName(u"rendering")
        self.rendering.setGeometry(QRect(0, 0, 250, 396))
        self.verticalLayout_7 = QVBoxLayout(self.rendering)
        self.verticalLayout_7.setObjectName(u"verticalLayout_7")
        self.tessellation_groupbox = QGroupBox(self.rendering)
        self.tessellation_groupbox.setObjectName(u"tessellation_groupbox")
        sizePolicy.setHeightForWidth(
            self.tessellation_groupbox.sizePolicy().hasHeightForWidth())
        self.tessellation_groupbox.setSizePolicy(sizePolicy)
        self.formLayout_2 = QFormLayout(self.tessellation_groupbox)
        self.formLayout_2.setObjectName(u"formLayout_2")
        self.tessellation_minimum_divisions_label = QLabel(
            self.tessellation_groupbox)
        self.tessellation_minimum_divisions_label.setObjectName(
            u"tessellation_minimum_divisions_label")

        self.formLayout_2.setWidget(1, QFormLayout.LabelRole,
                                    self.tessellation_minimum_divisions_label)

        self.tessellation_minimum_divisions_lineedit = QLineEdit(
            self.tessellation_groupbox)
        self.tessellation_minimum_divisions_lineedit.setObjectName(
            u"tessellation_minimum_divisions_lineedit")

        self.formLayout_2.setWidget(
            1, QFormLayout.FieldRole,
            self.tessellation_minimum_divisions_lineedit)

        self.tessellation_refinement_factors_label = QLabel(
            self.tessellation_groupbox)
        self.tessellation_refinement_factors_label.setObjectName(
            u"tessellation_refinement_factors_label")

        self.formLayout_2.setWidget(2, QFormLayout.LabelRole,
                                    self.tessellation_refinement_factors_label)

        self.tessellation_refinement_factors_lineedit = QLineEdit(
            self.tessellation_groupbox)
        self.tessellation_refinement_factors_lineedit.setObjectName(
            u"tessellation_refinement_factors_lineedit")

        self.formLayout_2.setWidget(
            2, QFormLayout.FieldRole,
            self.tessellation_refinement_factors_lineedit)

        self.tessellation_circle_divisions_label = QLabel(
            self.tessellation_groupbox)
        self.tessellation_circle_divisions_label.setObjectName(
            u"tessellation_circle_divisions_label")

        self.formLayout_2.setWidget(3, QFormLayout.LabelRole,
                                    self.tessellation_circle_divisions_label)

        self.tessellation_circle_divisions_lineedit = QLineEdit(
            self.tessellation_groupbox)
        self.tessellation_circle_divisions_lineedit.setObjectName(
            u"tessellation_circle_divisions_lineedit")

        self.formLayout_2.setWidget(
            3, QFormLayout.FieldRole,
            self.tessellation_circle_divisions_lineedit)

        self.verticalLayout_7.addWidget(self.tessellation_groupbox)

        self.perturb_lines_checkbox = QCheckBox(self.rendering)
        self.perturb_lines_checkbox.setObjectName(u"perturb_lines_checkbox")

        self.verticalLayout_7.addWidget(self.perturb_lines_checkbox)

        self.verticalSpacer_3 = QSpacerItem(20, 40, QSizePolicy.Minimum,
                                            QSizePolicy.Expanding)

        self.verticalLayout_7.addItem(self.verticalSpacer_3)

        self.toolBox.addItem(self.rendering, u"Rendering")
        self.data_colouring = QWidget()
        self.data_colouring.setObjectName(u"data_colouring")
        self.data_colouring.setGeometry(QRect(0, 0, 250, 396))
        self.verticalLayout_6 = QVBoxLayout(self.data_colouring)
        self.verticalLayout_6.setObjectName(u"verticalLayout_6")
        self.spectrum_autorange_button = QPushButton(self.data_colouring)
        self.spectrum_autorange_button.setObjectName(
            u"spectrum_autorange_button")

        self.verticalLayout_6.addWidget(self.spectrum_autorange_button)

        self.frame_3 = QFrame(self.data_colouring)
        self.frame_3.setObjectName(u"frame_3")
        self.frame_3.setFrameShape(QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QFrame.Raised)
        self.formLayout_3 = QFormLayout(self.frame_3)
        self.formLayout_3.setObjectName(u"formLayout_3")
        self.spectrum_minimum_label = QLabel(self.frame_3)
        self.spectrum_minimum_label.setObjectName(u"spectrum_minimum_label")

        self.formLayout_3.setWidget(0, QFormLayout.LabelRole,
                                    self.spectrum_minimum_label)

        self.spectrum_minimum_lineedit = QLineEdit(self.frame_3)
        self.spectrum_minimum_lineedit.setObjectName(
            u"spectrum_minimum_lineedit")

        self.formLayout_3.setWidget(0, QFormLayout.FieldRole,
                                    self.spectrum_minimum_lineedit)

        self.spectrum_maximum_lineedit = QLineEdit(self.frame_3)
        self.spectrum_maximum_lineedit.setObjectName(
            u"spectrum_maximum_lineedit")

        self.formLayout_3.setWidget(2, QFormLayout.FieldRole,
                                    self.spectrum_maximum_lineedit)

        self.spectrum_maximum_label = QLabel(self.frame_3)
        self.spectrum_maximum_label.setObjectName(u"spectrum_maximum_label")

        self.formLayout_3.setWidget(2, QFormLayout.LabelRole,
                                    self.spectrum_maximum_label)

        self.verticalLayout_6.addWidget(self.frame_3)

        self.spectrum_add_colour_bar_button = QPushButton(self.data_colouring)
        self.spectrum_add_colour_bar_button.setObjectName(
            u"spectrum_add_colour_bar_button")

        self.verticalLayout_6.addWidget(self.spectrum_add_colour_bar_button)

        self.verticalSpacer_4 = QSpacerItem(20, 40, QSizePolicy.Minimum,
                                            QSizePolicy.Expanding)

        self.verticalLayout_6.addItem(self.verticalSpacer_4)

        self.toolBox.addItem(self.data_colouring, u"Data Colouring")
        self.output = QWidget()
        self.output.setObjectName(u"output")
        self.output.setGeometry(QRect(0, 0, 250, 396))
        self.verticalLayout_9 = QVBoxLayout(self.output)
        self.verticalLayout_9.setObjectName(u"verticalLayout_9")
        self.save_image_button = QPushButton(self.output)
        self.save_image_button.setObjectName(u"save_image_button")

        self.verticalLayout_9.addWidget(self.save_image_button)

        self.save_webgl_button = QPushButton(self.output)
        self.save_webgl_button.setObjectName(u"save_webgl_button")

        self.verticalLayout_9.addWidget(self.save_webgl_button)

        self.verticalSpacer_6 = QSpacerItem(20, 40, QSizePolicy.Minimum,
                                            QSizePolicy.Expanding)

        self.verticalLayout_9.addItem(self.verticalSpacer_6)

        self.toolBox.addItem(self.output, u"Output")

        self.verticalLayout_2.addWidget(self.toolBox)

        self.scrollArea.setWidget(self.scrollAreaWidgetContents_2)

        self.verticalLayout.addWidget(self.scrollArea)

        self.frame = QFrame(self.dockWidgetContents)
        self.frame.setObjectName(u"frame")
        self.frame.setFrameShape(QFrame.StyledPanel)
        self.frame.setFrameShadow(QFrame.Raised)
        self.horizontalLayout_2 = QHBoxLayout(self.frame)
        self.horizontalLayout_2.setContentsMargins(3, 3, 3, 3)
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.view_all_button = QPushButton(self.frame)
        self.view_all_button.setObjectName(u"view_all_button")

        self.horizontalLayout_2.addWidget(self.view_all_button)

        self.done_button = QPushButton(self.frame)
        self.done_button.setObjectName(u"done_button")
        sizePolicy2 = QSizePolicy(QSizePolicy.Minimum, QSizePolicy.Fixed)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(
            self.done_button.sizePolicy().hasHeightForWidth())
        self.done_button.setSizePolicy(sizePolicy2)

        self.horizontalLayout_2.addWidget(self.done_button)

        self.verticalLayout.addWidget(self.frame)

        self.dockWidget.setWidget(self.dockWidgetContents)

        self.horizontalLayout.addWidget(self.dockWidget)

        self.sceneviewer_widget = SceneviewerWidget(SimpleVizWidget)
        self.sceneviewer_widget.setObjectName(u"sceneviewer_widget")
        sizePolicy3 = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Preferred)
        sizePolicy3.setHorizontalStretch(1)
        sizePolicy3.setVerticalStretch(0)
        sizePolicy3.setHeightForWidth(
            self.sceneviewer_widget.sizePolicy().hasHeightForWidth())
        self.sceneviewer_widget.setSizePolicy(sizePolicy3)

        self.horizontalLayout.addWidget(self.sceneviewer_widget)

        self.retranslateUi(SimpleVizWidget)

        self.toolBox.setCurrentIndex(5)
        self.toolBox.layout().setSpacing(2)

        QMetaObject.connectSlotsByName(SimpleVizWidget)

    # setupUi

    def retranslateUi(self, SimpleVizWidget):
        SimpleVizWidget.setWindowTitle(
            QCoreApplication.translate("SimpleVizWidget", u"Form", None))
        self.dockWidget.setWindowTitle(
            QCoreApplication.translate("SimpleVizWidget", u"SimpleViz Tools",
                                       None))
        #if QT_CONFIG(accessibility)
        self.toolBox.setAccessibleName("")
        #endif // QT_CONFIG(accessibility)
        self.region_label.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Region:", None))
        self.toolBox.setItemText(
            self.toolBox.indexOf(self.graphics),
            QCoreApplication.translate("SimpleVizWidget", u"Graphics", None))
        self.toolBox.setItemText(
            self.toolBox.indexOf(self.view),
            QCoreApplication.translate("SimpleVizWidget", u"View", None))
        self.time_autorange_button.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Autorange time",
                                       None))
        self.time_minimum_label.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Minimum:", None))
        self.time_maximum_label.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Maximum:", None))
        self.time_label.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Time:", None))
        self.toolBox.setItemText(
            self.toolBox.indexOf(self.time),
            QCoreApplication.translate("SimpleVizWidget", u"Time", None))
        self.tessellation_groupbox.setTitle(
            QCoreApplication.translate("SimpleVizWidget",
                                       u"Tessellation divisions:", None))
        self.tessellation_minimum_divisions_label.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Minimum:", None))
        self.tessellation_refinement_factors_label.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Refinement:",
                                       None))
        self.tessellation_circle_divisions_label.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Circle:", None))
        self.perturb_lines_checkbox.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Perturb lines",
                                       None))
        self.toolBox.setItemText(
            self.toolBox.indexOf(self.rendering),
            QCoreApplication.translate("SimpleVizWidget", u"Rendering", None))
        self.spectrum_autorange_button.setText(
            QCoreApplication.translate("SimpleVizWidget",
                                       u"Autorange spectrum", None))
        self.spectrum_minimum_label.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Minimum:", None))
        self.spectrum_maximum_label.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Maximum:", None))
        self.spectrum_add_colour_bar_button.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Add colour bar",
                                       None))
        self.toolBox.setItemText(
            self.toolBox.indexOf(self.data_colouring),
            QCoreApplication.translate("SimpleVizWidget", u"Data Colouring",
                                       None))
        self.save_image_button.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Save image...",
                                       None))
        self.save_webgl_button.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Save WebGL...",
                                       None))
        self.toolBox.setItemText(
            self.toolBox.indexOf(self.output),
            QCoreApplication.translate("SimpleVizWidget", u"Output", None))
        self.view_all_button.setText(
            QCoreApplication.translate("SimpleVizWidget", u"View All", None))
        self.done_button.setText(
            QCoreApplication.translate("SimpleVizWidget", u"Done", None))
class Ui_SimpleVizWidget(object):
    def setupUi(self, SimpleVizWidget):
        SimpleVizWidget.setObjectName("SimpleVizWidget")
        SimpleVizWidget.resize(580, 616)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(SimpleVizWidget.sizePolicy().hasHeightForWidth())
        SimpleVizWidget.setSizePolicy(sizePolicy)
        self.horizontalLayout = QtGui.QHBoxLayout(SimpleVizWidget)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.dockWidget = QtGui.QDockWidget(SimpleVizWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dockWidget.sizePolicy().hasHeightForWidth())
        self.dockWidget.setSizePolicy(sizePolicy)
        self.dockWidget.setMinimumSize(QtCore.QSize(230, 178))
        self.dockWidget.setFeatures(QtGui.QDockWidget.DockWidgetFloatable|QtGui.QDockWidget.DockWidgetMovable)
        self.dockWidget.setAllowedAreas(QtCore.Qt.AllDockWidgetAreas)
        self.dockWidget.setObjectName("dockWidget")
        self.dockWidgetContents = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dockWidgetContents.sizePolicy().hasHeightForWidth())
        self.dockWidgetContents.setSizePolicy(sizePolicy)
        self.dockWidgetContents.setObjectName("dockWidgetContents")
        self.verticalLayout = QtGui.QVBoxLayout(self.dockWidgetContents)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.scrollArea = QtGui.QScrollArea(self.dockWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
        self.scrollArea.setSizePolicy(sizePolicy)
        self.scrollArea.setMinimumSize(QtCore.QSize(0, 0))
        self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents_2 = QtGui.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 250, 552))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents_2.sizePolicy().hasHeightForWidth())
        self.scrollAreaWidgetContents_2.setSizePolicy(sizePolicy)
        self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents_2)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.toolBox = QtGui.QToolBox(self.scrollAreaWidgetContents_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolBox.sizePolicy().hasHeightForWidth())
        self.toolBox.setSizePolicy(sizePolicy)
        self.toolBox.setMinimumSize(QtCore.QSize(0, 0))
        self.toolBox.setAccessibleName("")
        self.toolBox.setStyleSheet("QToolBox::tab {\n"
"         background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n"
"                                     stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,\n"
"                                     stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);\n"
"         border-radius: 5px;\n"
"         color: black;\n"
"     }\n"
"\n"
"     QToolBox::tab:selected { /* italicize selected tabs */\n"
"         font: bold;\n"
"         color: black;\n"
"     }\n"
"QToolBox {\n"
"    padding : 0\n"
"}")
        self.toolBox.setFrameShape(QtGui.QFrame.NoFrame)
        self.toolBox.setFrameShadow(QtGui.QFrame.Plain)
        self.toolBox.setObjectName("toolBox")
        self.graphics = QtGui.QWidget()
        self.graphics.setGeometry(QtCore.QRect(0, 0, 250, 396))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.graphics.sizePolicy().hasHeightForWidth())
        self.graphics.setSizePolicy(sizePolicy)
        self.graphics.setObjectName("graphics")
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.graphics)
        self.verticalLayout_3.setSpacing(3)
        self.verticalLayout_3.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.region_widget = QtGui.QWidget(self.graphics)
        self.region_widget.setObjectName("region_widget")
        self.formLayout_5 = QtGui.QFormLayout(self.region_widget)
        self.formLayout_5.setContentsMargins(3, 3, 3, 3)
        self.formLayout_5.setContentsMargins(0, 0, 0, 0)
        self.formLayout_5.setSpacing(3)
        self.formLayout_5.setObjectName("formLayout_5")
        self.region_label = QtGui.QLabel(self.region_widget)
        self.region_label.setObjectName("region_label")
        self.formLayout_5.setWidget(0, QtGui.QFormLayout.LabelRole, self.region_label)
        self.region_chooser = RegionChooserWidget(self.region_widget)
        self.region_chooser.setObjectName("region_chooser")
        self.formLayout_5.setWidget(0, QtGui.QFormLayout.FieldRole, self.region_chooser)
        self.verticalLayout_3.addWidget(self.region_widget)
        self.scene_editor = SceneEditorWidget(self.graphics)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scene_editor.sizePolicy().hasHeightForWidth())
        self.scene_editor.setSizePolicy(sizePolicy)
        self.scene_editor.setObjectName("scene_editor")
        self.verticalLayout_3.addWidget(self.scene_editor)
        self.toolBox.addItem(self.graphics, "")
        self.view = QtGui.QWidget()
        self.view.setGeometry(QtCore.QRect(0, 0, 250, 396))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.view.sizePolicy().hasHeightForWidth())
        self.view.setSizePolicy(sizePolicy)
        self.view.setObjectName("view")
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.view)
        self.verticalLayout_5.setSpacing(3)
        self.verticalLayout_5.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.sceneviewer_editor_widget = SceneviewerEditorWidget(self.view)
        self.sceneviewer_editor_widget.setObjectName("sceneviewer_editor_widget")
        self.verticalLayout_5.addWidget(self.sceneviewer_editor_widget)
        self.toolBox.addItem(self.view, "")
        self.time = QtGui.QWidget()
        self.time.setGeometry(QtCore.QRect(0, 0, 250, 396))
        self.time.setObjectName("time")
        self.verticalLayout_8 = QtGui.QVBoxLayout(self.time)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.time_autorange_button = QtGui.QPushButton(self.time)
        self.time_autorange_button.setObjectName("time_autorange_button")
        self.verticalLayout_8.addWidget(self.time_autorange_button)
        self.frame_2 = QtGui.QFrame(self.time)
        self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_2.setObjectName("frame_2")
        self.formLayout_4 = QtGui.QFormLayout(self.frame_2)
        self.formLayout_4.setObjectName("formLayout_4")
        self.time_minimum_label = QtGui.QLabel(self.frame_2)
        self.time_minimum_label.setObjectName("time_minimum_label")
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.LabelRole, self.time_minimum_label)
        self.time_minimum_lineedit = QtGui.QLineEdit(self.frame_2)
        self.time_minimum_lineedit.setObjectName("time_minimum_lineedit")
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.FieldRole, self.time_minimum_lineedit)
        self.time_maximum_label = QtGui.QLabel(self.frame_2)
        self.time_maximum_label.setObjectName("time_maximum_label")
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole, self.time_maximum_label)
        self.time_maximum_lineedit = QtGui.QLineEdit(self.frame_2)
        self.time_maximum_lineedit.setObjectName("time_maximum_lineedit")
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.FieldRole, self.time_maximum_lineedit)
        self.time_lineedit = QtGui.QLineEdit(self.frame_2)
        self.time_lineedit.setObjectName("time_lineedit")
        self.formLayout_4.setWidget(2, QtGui.QFormLayout.FieldRole, self.time_lineedit)
        self.time_label = QtGui.QLabel(self.frame_2)
        self.time_label.setObjectName("time_label")
        self.formLayout_4.setWidget(2, QtGui.QFormLayout.LabelRole, self.time_label)
        self.verticalLayout_8.addWidget(self.frame_2)
        self.time_slider = QtGui.QSlider(self.time)
        self.time_slider.setMaximum(10000)
        self.time_slider.setSingleStep(10)
        self.time_slider.setPageStep(100)
        self.time_slider.setOrientation(QtCore.Qt.Horizontal)
        self.time_slider.setObjectName("time_slider")
        self.verticalLayout_8.addWidget(self.time_slider)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_8.addItem(spacerItem)
        self.toolBox.addItem(self.time, "")
        self.rendering = QtGui.QWidget()
        self.rendering.setGeometry(QtCore.QRect(0, 0, 250, 396))
        self.rendering.setObjectName("rendering")
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.rendering)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.tessellation_groupbox = QtGui.QGroupBox(self.rendering)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tessellation_groupbox.sizePolicy().hasHeightForWidth())
        self.tessellation_groupbox.setSizePolicy(sizePolicy)
        self.tessellation_groupbox.setObjectName("tessellation_groupbox")
        self.formLayout_2 = QtGui.QFormLayout(self.tessellation_groupbox)
        self.formLayout_2.setObjectName("formLayout_2")
        self.tessellation_minimum_divisions_label = QtGui.QLabel(self.tessellation_groupbox)
        self.tessellation_minimum_divisions_label.setObjectName("tessellation_minimum_divisions_label")
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.tessellation_minimum_divisions_label)
        self.tessellation_minimum_divisions_lineedit = QtGui.QLineEdit(self.tessellation_groupbox)
        self.tessellation_minimum_divisions_lineedit.setObjectName("tessellation_minimum_divisions_lineedit")
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.tessellation_minimum_divisions_lineedit)
        self.tessellation_refinement_factors_label = QtGui.QLabel(self.tessellation_groupbox)
        self.tessellation_refinement_factors_label.setObjectName("tessellation_refinement_factors_label")
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.tessellation_refinement_factors_label)
        self.tessellation_refinement_factors_lineedit = QtGui.QLineEdit(self.tessellation_groupbox)
        self.tessellation_refinement_factors_lineedit.setObjectName("tessellation_refinement_factors_lineedit")
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.tessellation_refinement_factors_lineedit)
        self.tessellation_circle_divisions_label = QtGui.QLabel(self.tessellation_groupbox)
        self.tessellation_circle_divisions_label.setObjectName("tessellation_circle_divisions_label")
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole, self.tessellation_circle_divisions_label)
        self.tessellation_circle_divisions_lineedit = QtGui.QLineEdit(self.tessellation_groupbox)
        self.tessellation_circle_divisions_lineedit.setObjectName("tessellation_circle_divisions_lineedit")
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole, self.tessellation_circle_divisions_lineedit)
        self.verticalLayout_7.addWidget(self.tessellation_groupbox)
        self.perturb_lines_checkbox = QtGui.QCheckBox(self.rendering)
        self.perturb_lines_checkbox.setObjectName("perturb_lines_checkbox")
        self.verticalLayout_7.addWidget(self.perturb_lines_checkbox)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_7.addItem(spacerItem1)
        self.toolBox.addItem(self.rendering, "")
        self.data_colouring = QtGui.QWidget()
        self.data_colouring.setGeometry(QtCore.QRect(0, 0, 250, 396))
        self.data_colouring.setObjectName("data_colouring")
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.data_colouring)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.spectrum_autorange_button = QtGui.QPushButton(self.data_colouring)
        self.spectrum_autorange_button.setObjectName("spectrum_autorange_button")
        self.verticalLayout_6.addWidget(self.spectrum_autorange_button)
        self.frame_3 = QtGui.QFrame(self.data_colouring)
        self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_3.setObjectName("frame_3")
        self.formLayout_3 = QtGui.QFormLayout(self.frame_3)
        self.formLayout_3.setObjectName("formLayout_3")
        self.spectrum_minimum_label = QtGui.QLabel(self.frame_3)
        self.spectrum_minimum_label.setObjectName("spectrum_minimum_label")
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.spectrum_minimum_label)
        self.spectrum_minimum_lineedit = QtGui.QLineEdit(self.frame_3)
        self.spectrum_minimum_lineedit.setObjectName("spectrum_minimum_lineedit")
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.spectrum_minimum_lineedit)
        self.spectrum_maximum_lineedit = QtGui.QLineEdit(self.frame_3)
        self.spectrum_maximum_lineedit.setObjectName("spectrum_maximum_lineedit")
        self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole, self.spectrum_maximum_lineedit)
        self.spectrum_maximum_label = QtGui.QLabel(self.frame_3)
        self.spectrum_maximum_label.setObjectName("spectrum_maximum_label")
        self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole, self.spectrum_maximum_label)
        self.verticalLayout_6.addWidget(self.frame_3)
        self.spectrum_add_colour_bar_button = QtGui.QPushButton(self.data_colouring)
        self.spectrum_add_colour_bar_button.setObjectName("spectrum_add_colour_bar_button")
        self.verticalLayout_6.addWidget(self.spectrum_add_colour_bar_button)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_6.addItem(spacerItem2)
        self.toolBox.addItem(self.data_colouring, "")
        self.output = QtGui.QWidget()
        self.output.setGeometry(QtCore.QRect(0, 0, 250, 396))
        self.output.setObjectName("output")
        self.verticalLayout_9 = QtGui.QVBoxLayout(self.output)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.save_image_button = QtGui.QPushButton(self.output)
        self.save_image_button.setObjectName("save_image_button")
        self.verticalLayout_9.addWidget(self.save_image_button)
        self.save_webgl_button = QtGui.QPushButton(self.output)
        self.save_webgl_button.setObjectName("save_webgl_button")
        self.verticalLayout_9.addWidget(self.save_webgl_button)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_9.addItem(spacerItem3)
        self.toolBox.addItem(self.output, "")
        self.verticalLayout_2.addWidget(self.toolBox)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents_2)
        self.verticalLayout.addWidget(self.scrollArea)
        self.frame = QtGui.QFrame(self.dockWidgetContents)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frame)
        self.horizontalLayout_2.setContentsMargins(3, 3, 3, 3)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.view_all_button = QtGui.QPushButton(self.frame)
        self.view_all_button.setObjectName("view_all_button")
        self.horizontalLayout_2.addWidget(self.view_all_button)
        self.done_button = QtGui.QPushButton(self.frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.done_button.sizePolicy().hasHeightForWidth())
        self.done_button.setSizePolicy(sizePolicy)
        self.done_button.setObjectName("done_button")
        self.horizontalLayout_2.addWidget(self.done_button)
        self.verticalLayout.addWidget(self.frame)
        self.dockWidget.setWidget(self.dockWidgetContents)
        self.horizontalLayout.addWidget(self.dockWidget)
        self.sceneviewer_widget = SceneviewerWidget(SimpleVizWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sceneviewer_widget.sizePolicy().hasHeightForWidth())
        self.sceneviewer_widget.setSizePolicy(sizePolicy)
        self.sceneviewer_widget.setObjectName("sceneviewer_widget")
        self.horizontalLayout.addWidget(self.sceneviewer_widget)

        self.retranslateUi(SimpleVizWidget)
        self.toolBox.setCurrentIndex(5)
        self.toolBox.layout().setSpacing(2)
        QtCore.QMetaObject.connectSlotsByName(SimpleVizWidget)

    def retranslateUi(self, SimpleVizWidget):
        SimpleVizWidget.setWindowTitle(QtGui.QApplication.translate("SimpleVizWidget", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.dockWidget.setWindowTitle(QtGui.QApplication.translate("SimpleVizWidget", "SimpleViz Tools", None, QtGui.QApplication.UnicodeUTF8))
        self.region_label.setText(QtGui.QApplication.translate("SimpleVizWidget", "Region:", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.graphics), QtGui.QApplication.translate("SimpleVizWidget", "Graphics", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.view), QtGui.QApplication.translate("SimpleVizWidget", "View", None, QtGui.QApplication.UnicodeUTF8))
        self.time_autorange_button.setText(QtGui.QApplication.translate("SimpleVizWidget", "Autorange time", None, QtGui.QApplication.UnicodeUTF8))
        self.time_minimum_label.setText(QtGui.QApplication.translate("SimpleVizWidget", "Minimum:", None, QtGui.QApplication.UnicodeUTF8))
        self.time_maximum_label.setText(QtGui.QApplication.translate("SimpleVizWidget", "Maximum:", None, QtGui.QApplication.UnicodeUTF8))
        self.time_label.setText(QtGui.QApplication.translate("SimpleVizWidget", "Time:", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.time), QtGui.QApplication.translate("SimpleVizWidget", "Time", None, QtGui.QApplication.UnicodeUTF8))
        self.tessellation_groupbox.setTitle(QtGui.QApplication.translate("SimpleVizWidget", "Tessellation divisions:", None, QtGui.QApplication.UnicodeUTF8))
        self.tessellation_minimum_divisions_label.setText(QtGui.QApplication.translate("SimpleVizWidget", "Minimum:", None, QtGui.QApplication.UnicodeUTF8))
        self.tessellation_refinement_factors_label.setText(QtGui.QApplication.translate("SimpleVizWidget", "Refinement:", None, QtGui.QApplication.UnicodeUTF8))
        self.tessellation_circle_divisions_label.setText(QtGui.QApplication.translate("SimpleVizWidget", "Circle:", None, QtGui.QApplication.UnicodeUTF8))
        self.perturb_lines_checkbox.setText(QtGui.QApplication.translate("SimpleVizWidget", "Perturb lines", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.rendering), QtGui.QApplication.translate("SimpleVizWidget", "Rendering", None, QtGui.QApplication.UnicodeUTF8))
        self.spectrum_autorange_button.setText(QtGui.QApplication.translate("SimpleVizWidget", "Autorange spectrum", None, QtGui.QApplication.UnicodeUTF8))
        self.spectrum_minimum_label.setText(QtGui.QApplication.translate("SimpleVizWidget", "Minimum:", None, QtGui.QApplication.UnicodeUTF8))
        self.spectrum_maximum_label.setText(QtGui.QApplication.translate("SimpleVizWidget", "Maximum:", None, QtGui.QApplication.UnicodeUTF8))
        self.spectrum_add_colour_bar_button.setText(QtGui.QApplication.translate("SimpleVizWidget", "Add colour bar", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.data_colouring), QtGui.QApplication.translate("SimpleVizWidget", "Data Colouring", None, QtGui.QApplication.UnicodeUTF8))
        self.save_image_button.setText(QtGui.QApplication.translate("SimpleVizWidget", "Save image...", None, QtGui.QApplication.UnicodeUTF8))
        self.save_webgl_button.setText(QtGui.QApplication.translate("SimpleVizWidget", "Save WebGL...", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.output), QtGui.QApplication.translate("SimpleVizWidget", "Output", None, QtGui.QApplication.UnicodeUTF8))
        self.view_all_button.setText(QtGui.QApplication.translate("SimpleVizWidget", "View All", None, QtGui.QApplication.UnicodeUTF8))
        self.done_button.setText(QtGui.QApplication.translate("SimpleVizWidget", "Done", None, QtGui.QApplication.UnicodeUTF8))