# -*- coding: utf-8 -*-
"""
Created on Mon Oct 15 15:56:48 2018

@author: Admin
"""

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(1746, 1043)
        MainWindow.setFocusPolicy(QtCore.Qt.NoFocus)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_33 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_33.setObjectName(_fromUtf8("horizontalLayout_33"))
        self.dockWidget = QtGui.QDockWidget(self.centralwidget)
        self.dockWidget.setMinimumSize(QtCore.QSize(170, 219))
        self.dockWidget.setMaximumSize(QtCore.QSize(170, 524287))
        self.dockWidget.setObjectName(_fromUtf8("dockWidget"))
        self.dockWidgetContents = QtGui.QWidget()
        self.dockWidgetContents.setObjectName(_fromUtf8("dockWidgetContents"))
        self.horizontalLayout_20 = QtGui.QHBoxLayout(self.dockWidgetContents)
        self.horizontalLayout_20.setObjectName(_fromUtf8("horizontalLayout_20"))
        self.toolBox = QtGui.QToolBox(self.dockWidgetContents)
        self.toolBox.setMinimumSize(QtCore.QSize(100, 0))
        self.toolBox.setObjectName(_fromUtf8("toolBox"))
        self.page = QtGui.QWidget()
        self.page.setGeometry(QtCore.QRect(0, 0, 148, 835))
        self.page.setObjectName(_fromUtf8("page"))
        self.toolBox.addItem(self.page, _fromUtf8(""))
        self.page_2 = QtGui.QWidget()
        self.page_2.setGeometry(QtCore.QRect(0, 0, 148, 835))
        self.page_2.setObjectName(_fromUtf8("page_2"))
        self.toolBox.addItem(self.page_2, _fromUtf8(""))
        self.page_3 = QtGui.QWidget()
        self.page_3.setGeometry(QtCore.QRect(0, 0, 148, 835))
        self.page_3.setObjectName(_fromUtf8("page_3"))
        self.toolBox.addItem(self.page_3, _fromUtf8(""))
        self.horizontalLayout_20.addWidget(self.toolBox)
        self.dockWidget.setWidget(self.dockWidgetContents)
        self.horizontalLayout_33.addWidget(self.dockWidget)
        self.stackedWidget = QtGui.QStackedWidget(self.centralwidget)
        self.stackedWidget.setFrameShape(QtGui.QFrame.Box)
        self.stackedWidget.setFrameShadow(QtGui.QFrame.Raised)
        self.stackedWidget.setObjectName(_fromUtf8("stackedWidget"))
        self.page_4 = QtGui.QWidget()
        self.page_4.setObjectName(_fromUtf8("page_4"))
        self.horizontalLayout_65 = QtGui.QHBoxLayout(self.page_4)
        self.horizontalLayout_65.setObjectName(_fromUtf8("horizontalLayout_65"))
        self.verticalLayout_13 = QtGui.QVBoxLayout()
        self.verticalLayout_13.setObjectName(_fromUtf8("verticalLayout_13"))
        self.groupBox_6 = QtGui.QGroupBox(self.page_4)
        self.groupBox_6.setMinimumSize(QtCore.QSize(0, 70))
        self.groupBox_6.setMaximumSize(QtCore.QSize(16777215, 70))
        self.groupBox_6.setObjectName(_fromUtf8("groupBox_6"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.groupBox_6)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.doecombobox = QtGui.QComboBox(self.groupBox_6)
        self.doecombobox.setMinimumSize(QtCore.QSize(140, 26))
        self.doecombobox.setObjectName(_fromUtf8("doecombobox"))
        self.doecombobox.addItem(_fromUtf8(""))
        self.doecombobox.addItem(_fromUtf8(""))
        self.doecombobox.addItem(_fromUtf8(""))
        self.doecombobox.addItem(_fromUtf8(""))
        self.horizontalLayout_2.addWidget(self.doecombobox)
        spacerItem=QtGui.QSpacerItem(1070,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.verticalLayout_13.addWidget(self.groupBox_6)
        self.line_14 = QtGui.QFrame(self.page_4)
        self.line_14.setFrameShape(QtGui.QFrame.HLine)
        self.line_14.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_14.setObjectName(_fromUtf8("line_14"))
        self.verticalLayout_13.addWidget(self.line_14)
        self.stackedWidget_2 = QtGui.QStackedWidget(self.page_4)
        self.stackedWidget_2.setMinimumSize(QtCore.QSize(700, 0))
        self.stackedWidget_2.setFrameShape(QtGui.QFrame.Box)
        self.stackedWidget_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.stackedWidget_2.setObjectName(_fromUtf8("stackedWidget_2"))
        self.page_9 = QtGui.QWidget()
        self.page_9.setObjectName(_fromUtf8("page_9"))
        self.horizontalLayout_46 = QtGui.QHBoxLayout(self.page_9)
        self.horizontalLayout_46.setObjectName(_fromUtf8("horizontalLayout_46"))
        self.horizontalLayout_45 = QtGui.QHBoxLayout()
        self.horizontalLayout_45.setObjectName(_fromUtf8("horizontalLayout_45"))
        self.verticalLayout_10 = QtGui.QVBoxLayout()
        self.verticalLayout_10.setObjectName(_fromUtf8("verticalLayout_10"))
        self.groupBox = QtGui.QGroupBox(self.page_9)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.groupBox)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.verticalLayout_11 = QtGui.QVBoxLayout()
        self.verticalLayout_11.setObjectName(_fromUtf8("verticalLayout_11"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setMaximumSize(QtCore.QSize(200, 16777215))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.verticalLayout_8 = QtGui.QVBoxLayout()
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.spinBox = QtGui.QSpinBox(self.groupBox)
        self.spinBox.setMinimumSize(QtCore.QSize(0, 25))
        self.spinBox.setMinimum(1)
        self.spinBox.setMaximum(10)
        self.spinBox.setProperty("value", 10)
        self.spinBox.setObjectName(_fromUtf8("spinBox"))
        self.verticalLayout_8.addWidget(self.spinBox)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.lhsNSbox = QtGui.QComboBox(self.groupBox)
        self.lhsNSbox.setMinimumSize(QtCore.QSize(0, 25))
        self.lhsNSbox.setObjectName(_fromUtf8("lhsNSbox"))
        self.lhsNSbox.addItem(_fromUtf8(""))
        self.lhsNSbox.addItem(_fromUtf8(""))
        self.lhsNSbox.addItem(_fromUtf8(""))
        self.lhsNSbox.addItem(_fromUtf8(""))
        self.lhsNSbox.addItem(_fromUtf8(""))
        self.horizontalLayout_3.addWidget(self.lhsNSbox)
        self.spinBox_2 = QtGui.QSpinBox(self.groupBox)
        self.spinBox_2.setEnabled(False)
        self.spinBox_2.setMaximumSize(QtCore.QSize(60, 16777215))
        self.spinBox_2.setMinimum(1)
        self.spinBox_2.setMaximum(500)
        self.spinBox_2.setProperty("value", 1)
        self.spinBox_2.setObjectName(_fromUtf8("spinBox_2"))
        self.horizontalLayout_3.addWidget(self.spinBox_2)
        self.verticalLayout_8.addLayout(self.horizontalLayout_3)
        self.lhstpyebox = QtGui.QComboBox(self.groupBox)
        self.lhstpyebox.setMinimumSize(QtCore.QSize(0, 25))
        self.lhstpyebox.setObjectName(_fromUtf8("lhstpyebox"))
        self.lhstpyebox.addItem(_fromUtf8(""))
        self.lhstpyebox.addItem(_fromUtf8(""))
        self.lhstpyebox.addItem(_fromUtf8(""))
        self.lhstpyebox.addItem(_fromUtf8(""))
        self.lhstpyebox.addItem(_fromUtf8(""))
        self.verticalLayout_8.addWidget(self.lhstpyebox)
        self.gridLayout.addLayout(self.verticalLayout_8, 0, 1, 3, 1)
        self.label_33 = QtGui.QLabel(self.groupBox)
        self.label_33.setMaximumSize(QtCore.QSize(150, 16777215))
        self.label_33.setObjectName(_fromUtf8("label_33"))
        self.gridLayout.addWidget(self.label_33, 1, 0, 1, 1)
        self.label_34 = QtGui.QLabel(self.groupBox)
        self.label_34.setMaximumSize(QtCore.QSize(100, 16777215))
        self.label_34.setObjectName(_fromUtf8("label_34"))
        self.gridLayout.addWidget(self.label_34, 2, 0, 1, 1)
        self.verticalLayout_11.addLayout(self.gridLayout)
        self.line_4 = QtGui.QFrame(self.groupBox)
        self.line_4.setFrameShape(QtGui.QFrame.HLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName(_fromUtf8("line_4"))
        self.verticalLayout_11.addWidget(self.line_4)
        self.groupBox_9 = QtGui.QGroupBox(self.groupBox)
        self.groupBox_9.setMaximumSize(QtCore.QSize(16777215, 100))
        self.groupBox_9.setObjectName(_fromUtf8("groupBox_9"))
        self.horizontalLayout_52 = QtGui.QHBoxLayout(self.groupBox_9)
        self.horizontalLayout_52.setObjectName(_fromUtf8("horizontalLayout_52"))
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.label_18 = QtGui.QLabel(self.groupBox_9)
        self.label_18.setMinimumSize(QtCore.QSize(55, 0))
        self.label_18.setMaximumSize(QtCore.QSize(50, 16777215))
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.horizontalLayout_7.addWidget(self.label_18)
        self.lineedit1 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit1.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit1.setObjectName(_fromUtf8("lineedit1"))
        self.horizontalLayout_7.addWidget(self.lineedit1)
        self.lineedit2 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit2.setObjectName(_fromUtf8("lineedit2"))
        self.horizontalLayout_7.addWidget(self.lineedit2)
        self.lineedit3 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit3.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit3.setObjectName(_fromUtf8("lineedit3"))
        self.horizontalLayout_7.addWidget(self.lineedit3)
        self.lineedit4 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit4.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit4.setObjectName(_fromUtf8("lineedit4"))
        self.horizontalLayout_7.addWidget(self.lineedit4)
        self.lineedit5 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit5.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit5.setObjectName(_fromUtf8("lineedit5"))
        self.horizontalLayout_7.addWidget(self.lineedit5)
        self.lineedit6 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit6.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit6.setObjectName(_fromUtf8("lineedit6"))
        self.horizontalLayout_7.addWidget(self.lineedit6)
        self.lineedit7 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit7.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit7.setObjectName(_fromUtf8("lineedit7"))
        self.horizontalLayout_7.addWidget(self.lineedit7)
        self.lineedit8 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit8.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit8.setObjectName(_fromUtf8("lineedit8"))
        self.horizontalLayout_7.addWidget(self.lineedit8)
        self.lineedit9 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit9.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit9.setObjectName(_fromUtf8("lineedit9"))
        self.horizontalLayout_7.addWidget(self.lineedit9)
        self.lineedit10 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit10.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit10.setDragEnabled(False)
        self.lineedit10.setObjectName(_fromUtf8("lineedit10"))
        self.horizontalLayout_7.addWidget(self.lineedit10)
        self.verticalLayout_5.addLayout(self.horizontalLayout_7)
        self.line_7 = QtGui.QFrame(self.groupBox_9)
        self.line_7.setFrameShape(QtGui.QFrame.HLine)
        self.line_7.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_7.setObjectName(_fromUtf8("line_7"))
        self.verticalLayout_5.addWidget(self.line_7)
        self.horizontalLayout_51 = QtGui.QHBoxLayout()
        self.horizontalLayout_51.setObjectName(_fromUtf8("horizontalLayout_51"))
        self.label_19 = QtGui.QLabel(self.groupBox_9)
        self.label_19.setMinimumSize(QtCore.QSize(55, 0))
        self.label_19.setMaximumSize(QtCore.QSize(50, 16777215))
        self.label_19.setObjectName(_fromUtf8("label_19"))
        self.horizontalLayout_51.addWidget(self.label_19)
        self.lineedit11 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit11.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit11.setObjectName(_fromUtf8("lineedit11"))
        self.horizontalLayout_51.addWidget(self.lineedit11)
        self.lineedit12 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit12.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit12.setObjectName(_fromUtf8("lineedit12"))
        self.horizontalLayout_51.addWidget(self.lineedit12)
        self.lineedit13 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit13.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit13.setObjectName(_fromUtf8("lineedit13"))
        self.horizontalLayout_51.addWidget(self.lineedit13)
        self.lineedit14 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit14.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit14.setObjectName(_fromUtf8("lineedit14"))
        self.horizontalLayout_51.addWidget(self.lineedit14)
        self.lineedit15 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit15.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit15.setObjectName(_fromUtf8("lineedit15"))
        self.horizontalLayout_51.addWidget(self.lineedit15)
        self.lineedit16 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit16.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit16.setObjectName(_fromUtf8("lineedit16"))
        self.horizontalLayout_51.addWidget(self.lineedit16)
        self.lineedit17 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit17.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit17.setObjectName(_fromUtf8("lineedit17"))
        self.horizontalLayout_51.addWidget(self.lineedit17)
        self.lineedit18 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit18.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit18.setObjectName(_fromUtf8("lineedit18"))
        self.horizontalLayout_51.addWidget(self.lineedit18)
        self.lineedit19 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit19.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit19.setObjectName(_fromUtf8("lineedit19"))
        self.horizontalLayout_51.addWidget(self.lineedit19)
        self.lineedit20 = QtGui.QLineEdit(self.groupBox_9)
        self.lineedit20.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lineedit20.setObjectName(_fromUtf8("lineedit20"))
        self.horizontalLayout_51.addWidget(self.lineedit20)
        self.verticalLayout_5.addLayout(self.horizontalLayout_51)
        self.horizontalLayout_52.addLayout(self.verticalLayout_5)
        self.verticalLayout_11.addWidget(self.groupBox_9)
        self.horizontalLayout_6.addLayout(self.verticalLayout_11)
        self.verticalLayout_10.addWidget(self.groupBox)
        self.line_5 = QtGui.QFrame(self.page_9)
        self.line_5.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.line_5.setFrameShape(QtGui.QFrame.HLine)
        self.line_5.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_5.setObjectName(_fromUtf8("line_5"))
        self.verticalLayout_10.addWidget(self.line_5)
        self.groupBox_2 = QtGui.QGroupBox(self.page_9)
        self.groupBox_2.setTitle(_fromUtf8(""))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.horizontalLayout_19 = QtGui.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_19.setObjectName(_fromUtf8("horizontalLayout_19"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.Selectpoint = QtGui.QPushButton(self.groupBox_2)
        self.Selectpoint.setObjectName(_fromUtf8("Selectpoint"))
        self.verticalLayout_3.addWidget(self.Selectpoint)
        self.clearbutton = QtGui.QPushButton(self.groupBox_2)
        self.clearbutton.setObjectName(_fromUtf8("clearbutton"))
        self.verticalLayout_3.addWidget(self.clearbutton)
        self.horizontalLayout_19.addLayout(self.verticalLayout_3)
        self.verticalLayout_10.addWidget(self.groupBox_2)
        self.line_8 = QtGui.QFrame(self.page_9)
        self.line_8.setFrameShape(QtGui.QFrame.HLine)
        self.line_8.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_8.setObjectName(_fromUtf8("line_8"))
        self.verticalLayout_10.addWidget(self.line_8)
        self.groupBox_7 = QtGui.QGroupBox(self.page_9)
        self.groupBox_7.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.groupBox_7.setTitle(_fromUtf8(""))
        self.groupBox_7.setObjectName(_fromUtf8("groupBox_7"))
        self.horizontalLayout_49 = QtGui.QHBoxLayout(self.groupBox_7)
        self.horizontalLayout_49.setObjectName(_fromUtf8("horizontalLayout_49"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.verticalLayout.setMargin(6)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(self.groupBox_7)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setFrameShape(QtGui.QFrame.Box)
        self.label.setFrameShadow(QtGui.QFrame.Sunken)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.tableWidget = QtGui.QTableWidget(self.groupBox_7)
        self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
        self.tableWidget.setColumnCount(0)
        self.tableWidget.setRowCount(0)
        self.verticalLayout.addWidget(self.tableWidget)
        self.horizontalLayout_49.addLayout(self.verticalLayout)
        self.verticalLayout_10.addWidget(self.groupBox_7)
        self.horizontalLayout_45.addLayout(self.verticalLayout_10)
        self.line_6 = QtGui.QFrame(self.page_9)
        self.line_6.setFrameShape(QtGui.QFrame.VLine)
        self.line_6.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_6.setObjectName(_fromUtf8("line_6"))
        self.horizontalLayout_45.addWidget(self.line_6)
        self.verticalLayout_6 = QtGui.QVBoxLayout()
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.groupBox_5 = QtGui.QGroupBox(self.page_9)
        self.groupBox_5.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_5.setMaximumSize(QtCore.QSize(16777215, 80))
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.horizontalLayout_44 = QtGui.QHBoxLayout(self.groupBox_5)
        self.horizontalLayout_44.setObjectName(_fromUtf8("horizontalLayout_44"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.checkBox = QtGui.QCheckBox(self.groupBox_5)
        self.checkBox.setObjectName(_fromUtf8("checkBox"))
        self.horizontalLayout.addWidget(self.checkBox)
        self.checkBox_2 = QtGui.QCheckBox(self.groupBox_5)
        self.checkBox_2.setObjectName(_fromUtf8("checkBox_2"))
        self.horizontalLayout.addWidget(self.checkBox_2)
        self.checkBox_3 = QtGui.QCheckBox(self.groupBox_5)
        self.checkBox_3.setObjectName(_fromUtf8("checkBox_3"))
        self.horizontalLayout.addWidget(self.checkBox_3)
        self.checkBox_4 = QtGui.QCheckBox(self.groupBox_5)
        self.checkBox_4.setObjectName(_fromUtf8("checkBox_4"))
        self.horizontalLayout.addWidget(self.checkBox_4)
        self.checkBox_5 = QtGui.QCheckBox(self.groupBox_5)
        self.checkBox_5.setObjectName(_fromUtf8("checkBox_5"))
        self.horizontalLayout.addWidget(self.checkBox_5)
        self.checkBox_6 = QtGui.QCheckBox(self.groupBox_5)
        self.checkBox_6.setObjectName(_fromUtf8("checkBox_6"))
        self.horizontalLayout.addWidget(self.checkBox_6)
        self.checkBox_7 = QtGui.QCheckBox(self.groupBox_5)
        self.checkBox_7.setObjectName(_fromUtf8("checkBox_7"))
        self.horizontalLayout.addWidget(self.checkBox_7)
        self.checkBox_8 = QtGui.QCheckBox(self.groupBox_5)
        self.checkBox_8.setObjectName(_fromUtf8("checkBox_8"))
        self.horizontalLayout.addWidget(self.checkBox_8)
        self.checkBox_9 = QtGui.QCheckBox(self.groupBox_5)
        self.checkBox_9.setObjectName(_fromUtf8("checkBox_9"))
        self.horizontalLayout.addWidget(self.checkBox_9)
        self.checkBox_10 = QtGui.QCheckBox(self.groupBox_5)
        self.checkBox_10.setObjectName(_fromUtf8("checkBox_10"))
        self.horizontalLayout.addWidget(self.checkBox_10)
        self.horizontalLayout_44.addLayout(self.horizontalLayout)
        self.verticalLayout_6.addWidget(self.groupBox_5)
        self.groupBox_4 = QtGui.QGroupBox(self.page_9)
        self.groupBox_4.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_4.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.horizontalLayout_47 = QtGui.QHBoxLayout(self.groupBox_4)
        self.horizontalLayout_47.setObjectName(_fromUtf8("horizontalLayout_47"))
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.label_5 = QtGui.QLabel(self.groupBox_4)
        self.label_5.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_5.setFont(font)
        self.label_5.setFrameShape(QtGui.QFrame.Box)
        self.label_5.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.verticalLayout_4.addWidget(self.label_5)
        self.mplwidget = MatplotlibWidget(self.groupBox_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mplwidget.sizePolicy().hasHeightForWidth())
        self.mplwidget.setSizePolicy(sizePolicy)
        self.mplwidget.setMinimumSize(QtCore.QSize(700, 0))
        self.mplwidget.setMaximumSize(QtCore.QSize(700, 16777215))
        self.mplwidget.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.mplwidget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.mplwidget.setAutoFillBackground(True)
        self.mplwidget.setInputMethodHints(QtCore.Qt.ImhNone)
        self.mplwidget.setObjectName(_fromUtf8("mplwidget"))
        self.verticalLayout_4.addWidget(self.mplwidget)
        self.horizontalLayout_47.addLayout(self.verticalLayout_4)
        self.verticalLayout_6.addWidget(self.groupBox_4)
        self.horizontalLayout_45.addLayout(self.verticalLayout_6)
        self.horizontalLayout_46.addLayout(self.horizontalLayout_45)
        self.stackedWidget_2.addWidget(self.page_9)
        self.page_6 = QtGui.QWidget()
        self.page_6.setObjectName(_fromUtf8("page_6"))
        self.horizontalLayout_58 = QtGui.QHBoxLayout(self.page_6)
        self.horizontalLayout_58.setObjectName(_fromUtf8("horizontalLayout_58"))
        self.horizontalLayout_57 = QtGui.QHBoxLayout()
        self.horizontalLayout_57.setObjectName(_fromUtf8("horizontalLayout_57"))
        self.verticalLayout_32 = QtGui.QVBoxLayout()
        self.verticalLayout_32.setObjectName(_fromUtf8("verticalLayout_32"))
        self.verticalLayout_21 = QtGui.QVBoxLayout()
        self.verticalLayout_21.setObjectName(_fromUtf8("verticalLayout_21"))
        self.groupBox_14 = QtGui.QGroupBox(self.page_6)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.groupBox_14.sizePolicy().hasHeightForWidth())
        self.groupBox_14.setSizePolicy(sizePolicy)
        self.groupBox_14.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_14.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.groupBox_14.setObjectName(_fromUtf8("groupBox_14"))
        self.horizontalLayout_53 = QtGui.QHBoxLayout(self.groupBox_14)
        self.horizontalLayout_53.setObjectName(_fromUtf8("horizontalLayout_53"))
        self.verticalLayout_9 = QtGui.QVBoxLayout()
        self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_8 = QtGui.QLabel(self.groupBox_14)
        self.label_8.setMaximumSize(QtCore.QSize(190, 16777215))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_2.addWidget(self.label_8, 0, 0, 1, 1)
        self.verticalLayout_7 = QtGui.QVBoxLayout()
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.ccdspinbox = QtGui.QSpinBox(self.groupBox_14)
        self.ccdspinbox.setMinimumSize(QtCore.QSize(0, 25))
        self.ccdspinbox.setMaximumSize(QtCore.QSize(16777215, 25))
        self.ccdspinbox.setMinimum(2)
        self.ccdspinbox.setMaximum(10)
        self.ccdspinbox.setProperty("value", 10)
        self.ccdspinbox.setObjectName(_fromUtf8("ccdspinbox"))
        self.verticalLayout_7.addWidget(self.ccdspinbox)
        self.ccdalphabox = QtGui.QComboBox(self.groupBox_14)
        self.ccdalphabox.setMinimumSize(QtCore.QSize(0, 25))
        self.ccdalphabox.setMaximumSize(QtCore.QSize(16777215, 25))
        self.ccdalphabox.setObjectName(_fromUtf8("ccdalphabox"))
        self.ccdalphabox.addItem(_fromUtf8(""))
        self.ccdalphabox.addItem(_fromUtf8(""))
        self.ccdalphabox.addItem(_fromUtf8(""))
        self.verticalLayout_7.addWidget(self.ccdalphabox)
        self.ccdtypebox = QtGui.QComboBox(self.groupBox_14)
        self.ccdtypebox.setMinimumSize(QtCore.QSize(0, 25))
        self.ccdtypebox.setMaximumSize(QtCore.QSize(16777215, 25))
        self.ccdtypebox.setObjectName(_fromUtf8("ccdtypebox"))
        self.ccdtypebox.addItem(_fromUtf8(""))
        self.ccdtypebox.addItem(_fromUtf8(""))
        self.ccdtypebox.addItem(_fromUtf8(""))
        self.ccdtypebox.addItem(_fromUtf8(""))
        self.verticalLayout_7.addWidget(self.ccdtypebox)
        self.gridLayout_2.addLayout(self.verticalLayout_7, 0, 1, 3, 1)
        self.label_36 = QtGui.QLabel(self.groupBox_14)
        self.label_36.setMaximumSize(QtCore.QSize(55, 16777215))
        self.label_36.setObjectName(_fromUtf8("label_36"))
        self.gridLayout_2.addWidget(self.label_36, 1, 0, 1, 1)
        self.label_35 = QtGui.QLabel(self.groupBox_14)
        self.label_35.setMinimumSize(QtCore.QSize(85, 0))
        self.label_35.setMaximumSize(QtCore.QSize(85, 16777215))
        self.label_35.setObjectName(_fromUtf8("label_35"))
        self.gridLayout_2.addWidget(self.label_35, 2, 0, 1, 1)
        self.verticalLayout_9.addLayout(self.gridLayout_2)
        self.line_2 = QtGui.QFrame(self.groupBox_14)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.verticalLayout_9.addWidget(self.line_2)
        self.groupBox_20 = QtGui.QGroupBox(self.groupBox_14)
        self.groupBox_20.setObjectName(_fromUtf8("groupBox_20"))
        self.horizontalLayout_25 = QtGui.QHBoxLayout(self.groupBox_20)
        self.horizontalLayout_25.setObjectName(_fromUtf8("horizontalLayout_25"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_13 = QtGui.QHBoxLayout()
        self.horizontalLayout_13.setObjectName(_fromUtf8("horizontalLayout_13"))
        self.label_9 = QtGui.QLabel(self.groupBox_20)
        self.label_9.setMaximumSize(QtCore.QSize(75, 16777215))
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.horizontalLayout_13.addWidget(self.label_9)
        self.ccdspinbox3 = QtGui.QSpinBox(self.groupBox_20)
        self.ccdspinbox3.setMinimum(-500)
        self.ccdspinbox3.setMaximum(500)
        self.ccdspinbox3.setObjectName(_fromUtf8("ccdspinbox3"))
        self.horizontalLayout_13.addWidget(self.ccdspinbox3)
        self.label_12 = QtGui.QLabel(self.groupBox_20)
        self.label_12.setMaximumSize(QtCore.QSize(65, 16777215))
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.horizontalLayout_13.addWidget(self.label_12)
        self.spinBox_3 = QtGui.QSpinBox(self.groupBox_20)
        self.spinBox_3.setMinimum(-500)
        self.spinBox_3.setMaximum(500)
        self.spinBox_3.setObjectName(_fromUtf8("spinBox_3"))
        self.horizontalLayout_13.addWidget(self.spinBox_3)
        self.verticalLayout_2.addLayout(self.horizontalLayout_13)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        spacerItem1 = QtGui.QSpacerItem(10, 20, QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem1)
        self.ccdnoneradio = QtGui.QRadioButton(self.groupBox_20)
        self.ccdnoneradio.setObjectName(_fromUtf8("ccdnoneradio"))
        self.horizontalLayout_4.addWidget(self.ccdnoneradio)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_25.addLayout(self.verticalLayout_2)
        self.verticalLayout_9.addWidget(self.groupBox_20)
        self.groupBox_15 = QtGui.QGroupBox(self.groupBox_14)
        self.groupBox_15.setMaximumSize(QtCore.QSize(16777215, 120))
        self.groupBox_15.setObjectName(_fromUtf8("groupBox_15"))
        self.horizontalLayout_15 = QtGui.QHBoxLayout(self.groupBox_15)
        self.horizontalLayout_15.setObjectName(_fromUtf8("horizontalLayout_15"))
        self.verticalLayout_24 = QtGui.QVBoxLayout()
        self.verticalLayout_24.setObjectName(_fromUtf8("verticalLayout_24"))
        self.horizontalLayout_12 = QtGui.QHBoxLayout()
        self.horizontalLayout_12.setObjectName(_fromUtf8("horizontalLayout_12"))
        self.label_22 = QtGui.QLabel(self.groupBox_15)
        self.label_22.setMinimumSize(QtCore.QSize(45, 0))
        self.label_22.setMaximumSize(QtCore.QSize(45, 16777215))
        self.label_22.setObjectName(_fromUtf8("label_22"))
        self.horizontalLayout_12.addWidget(self.label_22)
        self.ccdlineedit1 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit1.setMinimumSize(QtCore.QSize(0, 0))
        self.ccdlineedit1.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit1.setObjectName(_fromUtf8("ccdlineedit1"))
        self.horizontalLayout_12.addWidget(self.ccdlineedit1)
        self.ccdlineedit2 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit2.setObjectName(_fromUtf8("ccdlineedit2"))
        self.horizontalLayout_12.addWidget(self.ccdlineedit2)
        self.ccdlineedit3 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit3.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit3.setObjectName(_fromUtf8("ccdlineedit3"))
        self.horizontalLayout_12.addWidget(self.ccdlineedit3)
        self.ccdlineedit4 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit4.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit4.setObjectName(_fromUtf8("ccdlineedit4"))
        self.horizontalLayout_12.addWidget(self.ccdlineedit4)
        self.ccdlineedit5 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit5.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit5.setObjectName(_fromUtf8("ccdlineedit5"))
        self.horizontalLayout_12.addWidget(self.ccdlineedit5)
        self.ccdlineedit6 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit6.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit6.setObjectName(_fromUtf8("ccdlineedit6"))
        self.horizontalLayout_12.addWidget(self.ccdlineedit6)
        self.ccdlineedit7 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit7.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit7.setObjectName(_fromUtf8("ccdlineedit7"))
        self.horizontalLayout_12.addWidget(self.ccdlineedit7)
        self.ccdlineedit8 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit8.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit8.setObjectName(_fromUtf8("ccdlineedit8"))
        self.horizontalLayout_12.addWidget(self.ccdlineedit8)
        self.ccdlineedit9 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit9.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit9.setObjectName(_fromUtf8("ccdlineedit9"))
        self.horizontalLayout_12.addWidget(self.ccdlineedit9)
        self.ccdlineedit10 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit10.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit10.setDragEnabled(False)
        self.ccdlineedit10.setObjectName(_fromUtf8("ccdlineedit10"))
        self.horizontalLayout_12.addWidget(self.ccdlineedit10)
        self.verticalLayout_24.addLayout(self.horizontalLayout_12)
        self.line_3 = QtGui.QFrame(self.groupBox_15)
        self.line_3.setFrameShape(QtGui.QFrame.HLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName(_fromUtf8("line_3"))
        self.verticalLayout_24.addWidget(self.line_3)
        self.horizontalLayout_14 = QtGui.QHBoxLayout()
        self.horizontalLayout_14.setObjectName(_fromUtf8("horizontalLayout_14"))
        self.label_23 = QtGui.QLabel(self.groupBox_15)
        self.label_23.setMinimumSize(QtCore.QSize(45, 0))
        self.label_23.setMaximumSize(QtCore.QSize(45, 16777215))
        self.label_23.setObjectName(_fromUtf8("label_23"))
        self.horizontalLayout_14.addWidget(self.label_23)
        self.ccdlineedit11 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit11.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit11.setObjectName(_fromUtf8("ccdlineedit11"))
        self.horizontalLayout_14.addWidget(self.ccdlineedit11)
        self.ccdlineedit12 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit12.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit12.setObjectName(_fromUtf8("ccdlineedit12"))
        self.horizontalLayout_14.addWidget(self.ccdlineedit12)
        self.ccdlineedit13 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit13.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit13.setObjectName(_fromUtf8("ccdlineedit13"))
        self.horizontalLayout_14.addWidget(self.ccdlineedit13)
        self.ccdlineedit14 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit14.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit14.setObjectName(_fromUtf8("ccdlineedit14"))
        self.horizontalLayout_14.addWidget(self.ccdlineedit14)
        self.ccdlineedit15 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit15.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit15.setObjectName(_fromUtf8("ccdlineedit15"))
        self.horizontalLayout_14.addWidget(self.ccdlineedit15)
        self.ccdlineedit16 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit16.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit16.setObjectName(_fromUtf8("ccdlineedit16"))
        self.horizontalLayout_14.addWidget(self.ccdlineedit16)
        self.ccdlineedit17 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit17.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit17.setObjectName(_fromUtf8("ccdlineedit17"))
        self.horizontalLayout_14.addWidget(self.ccdlineedit17)
        self.ccdlineedit18 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit18.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit18.setObjectName(_fromUtf8("ccdlineedit18"))
        self.horizontalLayout_14.addWidget(self.ccdlineedit18)
        self.ccdlineedit19 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit19.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit19.setObjectName(_fromUtf8("ccdlineedit19"))
        self.horizontalLayout_14.addWidget(self.ccdlineedit19)
        self.ccdlineedit20 = QtGui.QLineEdit(self.groupBox_15)
        self.ccdlineedit20.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdlineedit20.setObjectName(_fromUtf8("ccdlineedit20"))
        self.horizontalLayout_14.addWidget(self.ccdlineedit20)
        self.verticalLayout_24.addLayout(self.horizontalLayout_14)
        self.horizontalLayout_15.addLayout(self.verticalLayout_24)
        self.verticalLayout_9.addWidget(self.groupBox_15)
        self.horizontalLayout_53.addLayout(self.verticalLayout_9)
        self.verticalLayout_21.addWidget(self.groupBox_14)
        self.line_9 = QtGui.QFrame(self.page_6)
        self.line_9.setFrameShape(QtGui.QFrame.HLine)
        self.line_9.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_9.setObjectName(_fromUtf8("line_9"))
        self.verticalLayout_21.addWidget(self.line_9)
        self.groupBox_18 = QtGui.QGroupBox(self.page_6)
        self.groupBox_18.setMinimumSize(QtCore.QSize(200, 100))
        self.groupBox_18.setMaximumSize(QtCore.QSize(16777215, 300))
        self.groupBox_18.setTitle(_fromUtf8(""))
        self.groupBox_18.setObjectName(_fromUtf8("groupBox_18"))
        self.verticalLayout_30 = QtGui.QVBoxLayout(self.groupBox_18)
        self.verticalLayout_30.setObjectName(_fromUtf8("verticalLayout_30"))
        self.verticalLayout_31 = QtGui.QVBoxLayout()
        self.verticalLayout_31.setObjectName(_fromUtf8("verticalLayout_31"))
        self.ccdselectpoint = QtGui.QPushButton(self.groupBox_18)
        self.ccdselectpoint.setObjectName(_fromUtf8("ccdselectpoint"))
        self.verticalLayout_31.addWidget(self.ccdselectpoint)
        self.ccdclearbutton = QtGui.QPushButton(self.groupBox_18)
        self.ccdclearbutton.setObjectName(_fromUtf8("ccdclearbutton"))
        self.verticalLayout_31.addWidget(self.ccdclearbutton)
        self.verticalLayout_30.addLayout(self.verticalLayout_31)
        self.verticalLayout_21.addWidget(self.groupBox_18)
        self.verticalLayout_32.addLayout(self.verticalLayout_21)
        self.groupBox_17 = QtGui.QGroupBox(self.page_6)
        self.groupBox_17.setTitle(_fromUtf8(""))
        self.groupBox_17.setObjectName(_fromUtf8("groupBox_17"))
        self.verticalLayout_28 = QtGui.QVBoxLayout(self.groupBox_17)
        self.verticalLayout_28.setObjectName(_fromUtf8("verticalLayout_28"))
        self.verticalLayout_29 = QtGui.QVBoxLayout()
        self.verticalLayout_29.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.verticalLayout_29.setMargin(6)
        self.verticalLayout_29.setObjectName(_fromUtf8("verticalLayout_29"))
        self.label_11 = QtGui.QLabel(self.groupBox_17)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_11.setFont(font)
        self.label_11.setFrameShape(QtGui.QFrame.Box)
        self.label_11.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.verticalLayout_29.addWidget(self.label_11)
        self.ccdtable = QtGui.QTableWidget(self.groupBox_17)
        self.ccdtable.setObjectName(_fromUtf8("ccdtable"))
        self.ccdtable.setColumnCount(0)
        self.ccdtable.setRowCount(0)
        self.verticalLayout_29.addWidget(self.ccdtable)
        self.verticalLayout_28.addLayout(self.verticalLayout_29)
        self.verticalLayout_32.addWidget(self.groupBox_17)
        self.horizontalLayout_57.addLayout(self.verticalLayout_32)
        self.line_10 = QtGui.QFrame(self.page_6)
        self.line_10.setFrameShape(QtGui.QFrame.VLine)
        self.line_10.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_10.setObjectName(_fromUtf8("line_10"))
        self.horizontalLayout_57.addWidget(self.line_10)
        self.verticalLayout_26 = QtGui.QVBoxLayout()
        self.verticalLayout_26.setObjectName(_fromUtf8("verticalLayout_26"))
        self.ccdfactor = QtGui.QGroupBox(self.page_6)
        self.ccdfactor.setMinimumSize(QtCore.QSize(0, 80))
        self.ccdfactor.setMaximumSize(QtCore.QSize(16777215, 70))
        self.ccdfactor.setObjectName(_fromUtf8("ccdfactor"))
        self.horizontalLayout_55 = QtGui.QHBoxLayout(self.ccdfactor)
        self.horizontalLayout_55.setObjectName(_fromUtf8("horizontalLayout_55"))
        self.horizontalLayout_54 = QtGui.QHBoxLayout()
        self.horizontalLayout_54.setObjectName(_fromUtf8("horizontalLayout_54"))
        self.ccdcheck1 = QtGui.QCheckBox(self.ccdfactor)
        self.ccdcheck1.setObjectName(_fromUtf8("ccdcheck1"))
        self.horizontalLayout_54.addWidget(self.ccdcheck1)
        self.ccdcheck2 = QtGui.QCheckBox(self.ccdfactor)
        self.ccdcheck2.setObjectName(_fromUtf8("ccdcheck2"))
        self.horizontalLayout_54.addWidget(self.ccdcheck2)
        self.ccdcheck3 = QtGui.QCheckBox(self.ccdfactor)
        self.ccdcheck3.setObjectName(_fromUtf8("ccdcheck3"))
        self.horizontalLayout_54.addWidget(self.ccdcheck3)
        self.ccdcheck4 = QtGui.QCheckBox(self.ccdfactor)
        self.ccdcheck4.setObjectName(_fromUtf8("ccdcheck4"))
        self.horizontalLayout_54.addWidget(self.ccdcheck4)
        self.ccdcheck5 = QtGui.QCheckBox(self.ccdfactor)
        self.ccdcheck5.setObjectName(_fromUtf8("ccdcheck5"))
        self.horizontalLayout_54.addWidget(self.ccdcheck5)
        self.ccdcheck6 = QtGui.QCheckBox(self.ccdfactor)
        self.ccdcheck6.setObjectName(_fromUtf8("ccdcheck6"))
        self.horizontalLayout_54.addWidget(self.ccdcheck6)
        self.ccdcheck7 = QtGui.QCheckBox(self.ccdfactor)
        self.ccdcheck7.setObjectName(_fromUtf8("ccdcheck7"))
        self.horizontalLayout_54.addWidget(self.ccdcheck7)
        self.ccdcheck8 = QtGui.QCheckBox(self.ccdfactor)
        self.ccdcheck8.setObjectName(_fromUtf8("ccdcheck8"))
        self.horizontalLayout_54.addWidget(self.ccdcheck8)
        self.ccdcheck9 = QtGui.QCheckBox(self.ccdfactor)
        self.ccdcheck9.setObjectName(_fromUtf8("ccdcheck9"))
        self.horizontalLayout_54.addWidget(self.ccdcheck9)
        self.ccdcheck10 = QtGui.QCheckBox(self.ccdfactor)
        self.ccdcheck10.setObjectName(_fromUtf8("ccdcheck10"))
        self.horizontalLayout_54.addWidget(self.ccdcheck10)
        self.horizontalLayout_55.addLayout(self.horizontalLayout_54)
        self.verticalLayout_26.addWidget(self.ccdfactor)
        self.ccdfigure = QtGui.QGroupBox(self.page_6)
        self.ccdfigure.setMinimumSize(QtCore.QSize(0, 0))
        self.ccdfigure.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ccdfigure.setObjectName(_fromUtf8("ccdfigure"))
        self.horizontalLayout_56 = QtGui.QHBoxLayout(self.ccdfigure)
        self.horizontalLayout_56.setObjectName(_fromUtf8("horizontalLayout_56"))
        self.verticalLayout_25 = QtGui.QVBoxLayout()
        self.verticalLayout_25.setObjectName(_fromUtf8("verticalLayout_25"))
        self.label_10 = QtGui.QLabel(self.ccdfigure)
        self.label_10.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_10.setFont(font)
        self.label_10.setFrameShape(QtGui.QFrame.Box)
        self.label_10.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.verticalLayout_25.addWidget(self.label_10)
        self.ccdmplwidget = MatplotlibWidget(self.ccdfigure)
        self.ccdmplwidget.setMinimumSize(QtCore.QSize(700, 0))
        self.ccdmplwidget.setMaximumSize(QtCore.QSize(700, 16777215))
        self.ccdmplwidget.setObjectName(_fromUtf8("ccdmplwidget"))
        self.verticalLayout_25.addWidget(self.ccdmplwidget)
        self.horizontalLayout_56.addLayout(self.verticalLayout_25)
        self.verticalLayout_26.addWidget(self.ccdfigure)
        self.horizontalLayout_57.addLayout(self.verticalLayout_26)
        self.horizontalLayout_58.addLayout(self.horizontalLayout_57)
        self.stackedWidget_2.addWidget(self.page_6)
        self.page_10 = QtGui.QWidget()
        self.page_10.setObjectName(_fromUtf8("page_10"))
        self.horizontalLayout_64 = QtGui.QHBoxLayout(self.page_10)
        self.horizontalLayout_64.setObjectName(_fromUtf8("horizontalLayout_64"))
        self.horizontalLayout_63 = QtGui.QHBoxLayout()
        self.horizontalLayout_63.setObjectName(_fromUtf8("horizontalLayout_63"))
        self.verticalLayout_17 = QtGui.QVBoxLayout()
        self.verticalLayout_17.setObjectName(_fromUtf8("verticalLayout_17"))
        self.groupBox_10 = QtGui.QGroupBox(self.page_10)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.groupBox_10.sizePolicy().hasHeightForWidth())
        self.groupBox_10.setSizePolicy(sizePolicy)
        self.groupBox_10.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_10.setMaximumSize(QtCore.QSize(16777215, 220))
        self.groupBox_10.setObjectName(_fromUtf8("groupBox_10"))
        self.horizontalLayout_9 = QtGui.QHBoxLayout(self.groupBox_10)
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.verticalLayout_12 = QtGui.QVBoxLayout()
        self.verticalLayout_12.setObjectName(_fromUtf8("verticalLayout_12"))
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_3 = QtGui.QLabel(self.groupBox_10)
        self.label_3.setMaximumSize(QtCore.QSize(190, 50))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_4.addWidget(self.label_3, 0, 0, 1, 1)
        self.bbdspinbox = QtGui.QSpinBox(self.groupBox_10)
        self.bbdspinbox.setMinimum(3)
        self.bbdspinbox.setMaximum(10)
        self.bbdspinbox.setProperty("value", 10)
        self.bbdspinbox.setObjectName(_fromUtf8("bbdspinbox"))
        self.gridLayout_4.addWidget(self.bbdspinbox, 0, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.groupBox_10)
        self.label_7.setMaximumSize(QtCore.QSize(70, 50))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_4.addWidget(self.label_7, 1, 0, 1, 1)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.bbdspinbox3 = QtGui.QSpinBox(self.groupBox_10)
        self.bbdspinbox3.setMinimum(-500)
        self.bbdspinbox3.setMaximum(500)
        self.bbdspinbox3.setObjectName(_fromUtf8("bbdspinbox3"))
        self.horizontalLayout_8.addWidget(self.bbdspinbox3)
        self.bbdradio = QtGui.QRadioButton(self.groupBox_10)
        self.bbdradio.setMaximumSize(QtCore.QSize(75, 16777215))
        self.bbdradio.setObjectName(_fromUtf8("bbdradio"))
        self.horizontalLayout_8.addWidget(self.bbdradio)
        self.gridLayout_4.addLayout(self.horizontalLayout_8, 1, 1, 1, 1)
        self.verticalLayout_12.addLayout(self.gridLayout_4)
        self.line_16 = QtGui.QFrame(self.groupBox_10)
        self.line_16.setFrameShape(QtGui.QFrame.HLine)
        self.line_16.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_16.setObjectName(_fromUtf8("line_16"))
        self.verticalLayout_12.addWidget(self.line_16)
        self.groupBox_12 = QtGui.QGroupBox(self.groupBox_10)
        self.groupBox_12.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.groupBox_12.setObjectName(_fromUtf8("groupBox_12"))
        self.horizontalLayout_61 = QtGui.QHBoxLayout(self.groupBox_12)
        self.horizontalLayout_61.setObjectName(_fromUtf8("horizontalLayout_61"))
        self.verticalLayout_14 = QtGui.QVBoxLayout()
        self.verticalLayout_14.setObjectName(_fromUtf8("verticalLayout_14"))
        self.horizontalLayout_50 = QtGui.QHBoxLayout()
        self.horizontalLayout_50.setObjectName(_fromUtf8("horizontalLayout_50"))
        self.label_20 = QtGui.QLabel(self.groupBox_12)
        self.label_20.setMinimumSize(QtCore.QSize(45, 0))
        self.label_20.setMaximumSize(QtCore.QSize(55, 16777215))
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.horizontalLayout_50.addWidget(self.label_20)
        self.bbdlineedit1 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit1.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit1.setObjectName(_fromUtf8("bbdlineedit1"))
        self.horizontalLayout_50.addWidget(self.bbdlineedit1)
        self.bbdlineedit2 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit2.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.bbdlineedit2.setObjectName(_fromUtf8("bbdlineedit2"))
        self.horizontalLayout_50.addWidget(self.bbdlineedit2)
        self.bbdlineedit3 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit3.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit3.setObjectName(_fromUtf8("bbdlineedit3"))
        self.horizontalLayout_50.addWidget(self.bbdlineedit3)
        self.bbdlineedit4 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit4.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit4.setObjectName(_fromUtf8("bbdlineedit4"))
        self.horizontalLayout_50.addWidget(self.bbdlineedit4)
        self.bbdlineedit5 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit5.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit5.setObjectName(_fromUtf8("bbdlineedit5"))
        self.horizontalLayout_50.addWidget(self.bbdlineedit5)
        self.bbdlineedit6 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit6.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit6.setObjectName(_fromUtf8("bbdlineedit6"))
        self.horizontalLayout_50.addWidget(self.bbdlineedit6)
        self.bbdlineedit7 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit7.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit7.setObjectName(_fromUtf8("bbdlineedit7"))
        self.horizontalLayout_50.addWidget(self.bbdlineedit7)
        self.bbdlineedit8 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit8.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit8.setObjectName(_fromUtf8("bbdlineedit8"))
        self.horizontalLayout_50.addWidget(self.bbdlineedit8)
        self.bbdlineedit9 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit9.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit9.setObjectName(_fromUtf8("bbdlineedit9"))
        self.horizontalLayout_50.addWidget(self.bbdlineedit9)
        self.bbdlineedit10 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit10.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit10.setDragEnabled(False)
        self.bbdlineedit10.setObjectName(_fromUtf8("bbdlineedit10"))
        self.horizontalLayout_50.addWidget(self.bbdlineedit10)
        self.verticalLayout_14.addLayout(self.horizontalLayout_50)
        self.line_17 = QtGui.QFrame(self.groupBox_12)
        self.line_17.setFrameShape(QtGui.QFrame.HLine)
        self.line_17.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_17.setObjectName(_fromUtf8("line_17"))
        self.verticalLayout_14.addWidget(self.line_17)
        self.horizontalLayout_60 = QtGui.QHBoxLayout()
        self.horizontalLayout_60.setObjectName(_fromUtf8("horizontalLayout_60"))
        self.label_21 = QtGui.QLabel(self.groupBox_12)
        self.label_21.setMinimumSize(QtCore.QSize(45, 0))
        self.label_21.setMaximumSize(QtCore.QSize(55, 16777215))
        self.label_21.setObjectName(_fromUtf8("label_21"))
        self.horizontalLayout_60.addWidget(self.label_21)
        self.bbdlineedit11 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit11.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit11.setObjectName(_fromUtf8("bbdlineedit11"))
        self.horizontalLayout_60.addWidget(self.bbdlineedit11)
        self.bbdlineedit12 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit12.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit12.setObjectName(_fromUtf8("bbdlineedit12"))
        self.horizontalLayout_60.addWidget(self.bbdlineedit12)
        self.bbdlineedit13 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit13.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit13.setObjectName(_fromUtf8("bbdlineedit13"))
        self.horizontalLayout_60.addWidget(self.bbdlineedit13)
        self.bbdlineedit14 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit14.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit14.setObjectName(_fromUtf8("bbdlineedit14"))
        self.horizontalLayout_60.addWidget(self.bbdlineedit14)
        self.bbdlineedit15 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit15.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit15.setObjectName(_fromUtf8("bbdlineedit15"))
        self.horizontalLayout_60.addWidget(self.bbdlineedit15)
        self.bbdlineedit16 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit16.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit16.setObjectName(_fromUtf8("bbdlineedit16"))
        self.horizontalLayout_60.addWidget(self.bbdlineedit16)
        self.bbdlineedit17 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit17.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit17.setObjectName(_fromUtf8("bbdlineedit17"))
        self.horizontalLayout_60.addWidget(self.bbdlineedit17)
        self.bbdlineedit18 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit18.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit18.setObjectName(_fromUtf8("bbdlineedit18"))
        self.horizontalLayout_60.addWidget(self.bbdlineedit18)
        self.bbdlineedit19 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit19.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit19.setObjectName(_fromUtf8("bbdlineedit19"))
        self.horizontalLayout_60.addWidget(self.bbdlineedit19)
        self.bbdlineedit20 = QtGui.QLineEdit(self.groupBox_12)
        self.bbdlineedit20.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdlineedit20.setObjectName(_fromUtf8("bbdlineedit20"))
        self.horizontalLayout_60.addWidget(self.bbdlineedit20)
        self.verticalLayout_14.addLayout(self.horizontalLayout_60)
        self.horizontalLayout_61.addLayout(self.verticalLayout_14)
        self.verticalLayout_12.addWidget(self.groupBox_12)
        self.horizontalLayout_9.addLayout(self.verticalLayout_12)
        self.verticalLayout_17.addWidget(self.groupBox_10)
        self.line_18 = QtGui.QFrame(self.page_10)
        self.line_18.setFrameShape(QtGui.QFrame.HLine)
        self.line_18.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_18.setObjectName(_fromUtf8("line_18"))
        self.verticalLayout_17.addWidget(self.line_18)
        self.groupBox_8 = QtGui.QGroupBox(self.page_10)
        self.groupBox_8.setTitle(_fromUtf8(""))
        self.groupBox_8.setObjectName(_fromUtf8("groupBox_8"))
        self.horizontalLayout_62 = QtGui.QHBoxLayout(self.groupBox_8)
        self.horizontalLayout_62.setObjectName(_fromUtf8("horizontalLayout_62"))
        self.verticalLayout_27 = QtGui.QVBoxLayout()
        self.verticalLayout_27.setObjectName(_fromUtf8("verticalLayout_27"))
        self.bbdselectpoint = QtGui.QPushButton(self.groupBox_8)
        self.bbdselectpoint.setObjectName(_fromUtf8("bbdselectpoint"))
        self.verticalLayout_27.addWidget(self.bbdselectpoint)
        self.bbdclearbutton = QtGui.QPushButton(self.groupBox_8)
        self.bbdclearbutton.setObjectName(_fromUtf8("bbdclearbutton"))
        self.verticalLayout_27.addWidget(self.bbdclearbutton)
        self.horizontalLayout_62.addLayout(self.verticalLayout_27)
        self.verticalLayout_17.addWidget(self.groupBox_8)
        self.line_19 = QtGui.QFrame(self.page_10)
        self.line_19.setFrameShape(QtGui.QFrame.HLine)
        self.line_19.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_19.setObjectName(_fromUtf8("line_19"))
        self.verticalLayout_17.addWidget(self.line_19)
        self.groupBox_16 = QtGui.QGroupBox(self.page_10)
        self.groupBox_16.setTitle(_fromUtf8(""))
        self.groupBox_16.setObjectName(_fromUtf8("groupBox_16"))
        self.verticalLayout_19 = QtGui.QVBoxLayout(self.groupBox_16)
        self.verticalLayout_19.setObjectName(_fromUtf8("verticalLayout_19"))
        self.verticalLayout_20 = QtGui.QVBoxLayout()
        self.verticalLayout_20.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.verticalLayout_20.setMargin(6)
        self.verticalLayout_20.setObjectName(_fromUtf8("verticalLayout_20"))
        self.label_4 = QtGui.QLabel(self.groupBox_16)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_4.setFont(font)
        self.label_4.setFrameShape(QtGui.QFrame.Box)
        self.label_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.verticalLayout_20.addWidget(self.label_4)
        self.bbdtable2 = QtGui.QTableWidget(self.groupBox_16)
        self.bbdtable2.setObjectName(_fromUtf8("bbdtable2"))
        self.bbdtable2.setColumnCount(0)
        self.bbdtable2.setRowCount(0)
        self.verticalLayout_20.addWidget(self.bbdtable2)
        self.verticalLayout_19.addLayout(self.verticalLayout_20)
        self.verticalLayout_17.addWidget(self.groupBox_16)
        self.horizontalLayout_63.addLayout(self.verticalLayout_17)
        self.line_20 = QtGui.QFrame(self.page_10)
        self.line_20.setFrameShape(QtGui.QFrame.VLine)
        self.line_20.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_20.setObjectName(_fromUtf8("line_20"))
        self.horizontalLayout_63.addWidget(self.line_20)
        self.verticalLayout_16 = QtGui.QVBoxLayout()
        self.verticalLayout_16.setObjectName(_fromUtf8("verticalLayout_16"))
        self.bbdfactor = QtGui.QGroupBox(self.page_10)
        self.bbdfactor.setMinimumSize(QtCore.QSize(0, 0))
        self.bbdfactor.setMaximumSize(QtCore.QSize(16777215, 80))
        self.bbdfactor.setObjectName(_fromUtf8("bbdfactor"))
        self.horizontalLayout_21 = QtGui.QHBoxLayout(self.bbdfactor)
        self.horizontalLayout_21.setObjectName(_fromUtf8("horizontalLayout_21"))
        self.horizontalLayout_10 = QtGui.QHBoxLayout()
        self.horizontalLayout_10.setObjectName(_fromUtf8("horizontalLayout_10"))
        self.bbdcheck1 = QtGui.QCheckBox(self.bbdfactor)
        self.bbdcheck1.setObjectName(_fromUtf8("bbdcheck1"))
        self.horizontalLayout_10.addWidget(self.bbdcheck1)
        self.bbdcheck2 = QtGui.QCheckBox(self.bbdfactor)
        self.bbdcheck2.setObjectName(_fromUtf8("bbdcheck2"))
        self.horizontalLayout_10.addWidget(self.bbdcheck2)
        self.bbdcheck3 = QtGui.QCheckBox(self.bbdfactor)
        self.bbdcheck3.setObjectName(_fromUtf8("bbdcheck3"))
        self.horizontalLayout_10.addWidget(self.bbdcheck3)
        self.bbdcheck4 = QtGui.QCheckBox(self.bbdfactor)
        self.bbdcheck4.setObjectName(_fromUtf8("bbdcheck4"))
        self.horizontalLayout_10.addWidget(self.bbdcheck4)
        self.bbdcheck5 = QtGui.QCheckBox(self.bbdfactor)
        self.bbdcheck5.setObjectName(_fromUtf8("bbdcheck5"))
        self.horizontalLayout_10.addWidget(self.bbdcheck5)
        self.bbdcheck6 = QtGui.QCheckBox(self.bbdfactor)
        self.bbdcheck6.setObjectName(_fromUtf8("bbdcheck6"))
        self.horizontalLayout_10.addWidget(self.bbdcheck6)
        self.bbdcheck7 = QtGui.QCheckBox(self.bbdfactor)
        self.bbdcheck7.setObjectName(_fromUtf8("bbdcheck7"))
        self.horizontalLayout_10.addWidget(self.bbdcheck7)
        self.bbdcheck8 = QtGui.QCheckBox(self.bbdfactor)
        self.bbdcheck8.setObjectName(_fromUtf8("bbdcheck8"))
        self.horizontalLayout_10.addWidget(self.bbdcheck8)
        self.bbdcheck9 = QtGui.QCheckBox(self.bbdfactor)
        self.bbdcheck9.setObjectName(_fromUtf8("bbdcheck9"))
        self.horizontalLayout_10.addWidget(self.bbdcheck9)
        self.bbdcheck10 = QtGui.QCheckBox(self.bbdfactor)
        self.bbdcheck10.setObjectName(_fromUtf8("bbdcheck10"))
        self.horizontalLayout_10.addWidget(self.bbdcheck10)
        self.horizontalLayout_21.addLayout(self.horizontalLayout_10)
        self.verticalLayout_16.addWidget(self.bbdfactor)
        self.bbdfigure = QtGui.QGroupBox(self.page_10)
        self.bbdfigure.setMinimumSize(QtCore.QSize(0, 480))
        self.bbdfigure.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdfigure.setObjectName(_fromUtf8("bbdfigure"))
        self.verticalLayout_23 = QtGui.QVBoxLayout(self.bbdfigure)
        self.verticalLayout_23.setObjectName(_fromUtf8("verticalLayout_23"))
        self.verticalLayout_18 = QtGui.QVBoxLayout()
        self.verticalLayout_18.setObjectName(_fromUtf8("verticalLayout_18"))
        self.label_6 = QtGui.QLabel(self.bbdfigure)
        self.label_6.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setFrameShape(QtGui.QFrame.Box)
        self.label_6.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.verticalLayout_18.addWidget(self.label_6)
        self.bbdmplwidget = MatplotlibWidget(self.bbdfigure)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bbdmplwidget.sizePolicy().hasHeightForWidth())
        self.bbdmplwidget.setSizePolicy(sizePolicy)
        self.bbdmplwidget.setMinimumSize(QtCore.QSize(700, 0))
        self.bbdmplwidget.setMaximumSize(QtCore.QSize(700, 16777215))
        self.bbdmplwidget.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.bbdmplwidget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.bbdmplwidget.setAutoFillBackground(True)
        self.bbdmplwidget.setInputMethodHints(QtCore.Qt.ImhNone)
        self.bbdmplwidget.setObjectName(_fromUtf8("bbdmplwidget"))
        self.verticalLayout_18.addWidget(self.bbdmplwidget)
        self.verticalLayout_23.addLayout(self.verticalLayout_18)
        self.verticalLayout_16.addWidget(self.bbdfigure)
        self.horizontalLayout_63.addLayout(self.verticalLayout_16)
        self.horizontalLayout_64.addLayout(self.horizontalLayout_63)
        self.stackedWidget_2.addWidget(self.page_10)
        self.page_7 = QtGui.QWidget()
        self.page_7.setObjectName(_fromUtf8("page_7"))
        self.horizontalLayout_68 = QtGui.QHBoxLayout(self.page_7)
        self.horizontalLayout_68.setObjectName(_fromUtf8("horizontalLayout_68"))
        self.horizontalLayout_69 = QtGui.QHBoxLayout()
        self.horizontalLayout_69.setObjectName(_fromUtf8("horizontalLayout_69"))
        self.verticalLayout_45 = QtGui.QVBoxLayout()
        self.verticalLayout_45.setObjectName(_fromUtf8("verticalLayout_45"))
        self.groupBox_22 = QtGui.QGroupBox(self.page_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.groupBox_22.sizePolicy().hasHeightForWidth())
        self.groupBox_22.setSizePolicy(sizePolicy)
        self.groupBox_22.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_22.setMaximumSize(QtCore.QSize(16777215, 220))
        self.groupBox_22.setObjectName(_fromUtf8("groupBox_22"))
        self.horizontalLayout_17 = QtGui.QHBoxLayout(self.groupBox_22)
        self.horizontalLayout_17.setObjectName(_fromUtf8("horizontalLayout_17"))
        self.verticalLayout_36 = QtGui.QVBoxLayout()
        self.verticalLayout_36.setObjectName(_fromUtf8("verticalLayout_36"))
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.label_13 = QtGui.QLabel(self.groupBox_22)
        self.label_13.setMaximumSize(QtCore.QSize(190, 25))
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.gridLayout_3.addWidget(self.label_13, 0, 0, 1, 1)
        self.verticalLayout_33 = QtGui.QVBoxLayout()
        self.verticalLayout_33.setObjectName(_fromUtf8("verticalLayout_33"))
        self.fulldspinbox_2 = QtGui.QSpinBox(self.groupBox_22)
        self.fulldspinbox_2.setMaximumSize(QtCore.QSize(16777215, 25))
        self.fulldspinbox_2.setMinimum(1)
        self.fulldspinbox_2.setMaximum(10)
        self.fulldspinbox_2.setProperty("value", 10)
        self.fulldspinbox_2.setObjectName(_fromUtf8("fulldspinbox_2"))
        self.verticalLayout_33.addWidget(self.fulldspinbox_2)
        self.fftpyebox = QtGui.QComboBox(self.groupBox_22)
        self.fftpyebox.setMaximumSize(QtCore.QSize(16777215, 25))
        self.fftpyebox.setObjectName(_fromUtf8("fftpyebox"))
        self.fftpyebox.addItem(_fromUtf8(""))
        self.fftpyebox.addItem(_fromUtf8(""))
        self.fftpyebox.addItem(_fromUtf8(""))
        self.verticalLayout_33.addWidget(self.fftpyebox)
        self.gridLayout_3.addLayout(self.verticalLayout_33, 0, 1, 2, 1)
        self.label_39 = QtGui.QLabel(self.groupBox_22)
        self.label_39.setMaximumSize(QtCore.QSize(60, 25))
        self.label_39.setObjectName(_fromUtf8("label_39"))
        self.gridLayout_3.addWidget(self.label_39, 1, 0, 1, 1)
        self.verticalLayout_36.addLayout(self.gridLayout_3)
        self.groupBox_23 = QtGui.QGroupBox(self.groupBox_22)
        self.groupBox_23.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.groupBox_23.setObjectName(_fromUtf8("groupBox_23"))
        self.horizontalLayout_67 = QtGui.QHBoxLayout(self.groupBox_23)
        self.horizontalLayout_67.setObjectName(_fromUtf8("horizontalLayout_67"))
        self.verticalLayout_22 = QtGui.QVBoxLayout()
        self.verticalLayout_22.setObjectName(_fromUtf8("verticalLayout_22"))
        self.horizontalLayout_18 = QtGui.QHBoxLayout()
        self.horizontalLayout_18.setObjectName(_fromUtf8("horizontalLayout_18"))
        self.label_24 = QtGui.QLabel(self.groupBox_23)
        self.label_24.setMinimumSize(QtCore.QSize(55, 0))
        self.label_24.setMaximumSize(QtCore.QSize(55, 16777215))
        self.label_24.setObjectName(_fromUtf8("label_24"))
        self.horizontalLayout_18.addWidget(self.label_24)
        self.fdlineedit1 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit1.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit1.setObjectName(_fromUtf8("fdlineedit1"))
        self.horizontalLayout_18.addWidget(self.fdlineedit1)
        self.fdlineedit2 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit2.setObjectName(_fromUtf8("fdlineedit2"))
        self.horizontalLayout_18.addWidget(self.fdlineedit2)
        self.fdlineedit3 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit3.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit3.setObjectName(_fromUtf8("fdlineedit3"))
        self.horizontalLayout_18.addWidget(self.fdlineedit3)
        self.fdlineedit4 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit4.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit4.setObjectName(_fromUtf8("fdlineedit4"))
        self.horizontalLayout_18.addWidget(self.fdlineedit4)
        self.fdlineedit5 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit5.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit5.setObjectName(_fromUtf8("fdlineedit5"))
        self.horizontalLayout_18.addWidget(self.fdlineedit5)
        self.fdlineedit6 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit6.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit6.setObjectName(_fromUtf8("fdlineedit6"))
        self.horizontalLayout_18.addWidget(self.fdlineedit6)
        self.fdlineedit7 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit7.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit7.setObjectName(_fromUtf8("fdlineedit7"))
        self.horizontalLayout_18.addWidget(self.fdlineedit7)
        self.fdlineedit8 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit8.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit8.setObjectName(_fromUtf8("fdlineedit8"))
        self.horizontalLayout_18.addWidget(self.fdlineedit8)
        self.fdlineedit9 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit9.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit9.setObjectName(_fromUtf8("fdlineedit9"))
        self.horizontalLayout_18.addWidget(self.fdlineedit9)
        self.fdlineedit10 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit10.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit10.setDragEnabled(False)
        self.fdlineedit10.setObjectName(_fromUtf8("fdlineedit10"))
        self.horizontalLayout_18.addWidget(self.fdlineedit10)
        self.verticalLayout_22.addLayout(self.horizontalLayout_18)
        self.line_21 = QtGui.QFrame(self.groupBox_23)
        self.line_21.setFrameShape(QtGui.QFrame.HLine)
        self.line_21.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_21.setObjectName(_fromUtf8("line_21"))
        self.verticalLayout_22.addWidget(self.line_21)
        self.horizontalLayout_66 = QtGui.QHBoxLayout()
        self.horizontalLayout_66.setObjectName(_fromUtf8("horizontalLayout_66"))
        self.label_25 = QtGui.QLabel(self.groupBox_23)
        self.label_25.setMinimumSize(QtCore.QSize(55, 0))
        self.label_25.setMaximumSize(QtCore.QSize(55, 16777215))
        self.label_25.setObjectName(_fromUtf8("label_25"))
        self.horizontalLayout_66.addWidget(self.label_25)
        self.fdlineedit11 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit11.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit11.setObjectName(_fromUtf8("fdlineedit11"))
        self.horizontalLayout_66.addWidget(self.fdlineedit11)
        self.fdlineedit12 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit12.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit12.setObjectName(_fromUtf8("fdlineedit12"))
        self.horizontalLayout_66.addWidget(self.fdlineedit12)
        self.fdlineedit13 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit13.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit13.setObjectName(_fromUtf8("fdlineedit13"))
        self.horizontalLayout_66.addWidget(self.fdlineedit13)
        self.fdlineedit14 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit14.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit14.setObjectName(_fromUtf8("fdlineedit14"))
        self.horizontalLayout_66.addWidget(self.fdlineedit14)
        self.fdlineedit15 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit15.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit15.setObjectName(_fromUtf8("fdlineedit15"))
        self.horizontalLayout_66.addWidget(self.fdlineedit15)
        self.fdlineedit16 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit16.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit16.setObjectName(_fromUtf8("fdlineedit16"))
        self.horizontalLayout_66.addWidget(self.fdlineedit16)
        self.fdlineedit17 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit17.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit17.setObjectName(_fromUtf8("fdlineedit17"))
        self.horizontalLayout_66.addWidget(self.fdlineedit17)
        self.fdlineedit18 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit18.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit18.setObjectName(_fromUtf8("fdlineedit18"))
        self.horizontalLayout_66.addWidget(self.fdlineedit18)
        self.fdlineedit19 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit19.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit19.setObjectName(_fromUtf8("fdlineedit19"))
        self.horizontalLayout_66.addWidget(self.fdlineedit19)
        self.fdlineedit20 = QtGui.QLineEdit(self.groupBox_23)
        self.fdlineedit20.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fdlineedit20.setObjectName(_fromUtf8("fdlineedit20"))
        self.horizontalLayout_66.addWidget(self.fdlineedit20)
        self.verticalLayout_22.addLayout(self.horizontalLayout_66)
        self.horizontalLayout_67.addLayout(self.verticalLayout_22)
        self.verticalLayout_36.addWidget(self.groupBox_23)
        self.horizontalLayout_17.addLayout(self.verticalLayout_36)
        self.verticalLayout_45.addWidget(self.groupBox_22)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.label_40 = QtGui.QLabel(self.page_7)
        self.label_40.setMaximumSize(QtCore.QSize(60, 16777215))
        self.label_40.setObjectName(_fromUtf8("label_40"))
        self.horizontalLayout_5.addWidget(self.label_40)
        self.fulllineedit1 = QtGui.QLineEdit(self.page_7)
        self.fulllineedit1.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fulllineedit1.setObjectName(_fromUtf8("fulllineedit1"))
        self.horizontalLayout_5.addWidget(self.fulllineedit1)
        self.fulllineedit2 = QtGui.QLineEdit(self.page_7)
        self.fulllineedit2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fulllineedit2.setObjectName(_fromUtf8("fulllineedit2"))
        self.horizontalLayout_5.addWidget(self.fulllineedit2)
        self.fulllineedit3 = QtGui.QLineEdit(self.page_7)
        self.fulllineedit3.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fulllineedit3.setObjectName(_fromUtf8("fulllineedit3"))
        self.horizontalLayout_5.addWidget(self.fulllineedit3)
        self.fulllineedit4 = QtGui.QLineEdit(self.page_7)
        self.fulllineedit4.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fulllineedit4.setObjectName(_fromUtf8("fulllineedit4"))
        self.horizontalLayout_5.addWidget(self.fulllineedit4)
        self.fulllineedit5 = QtGui.QLineEdit(self.page_7)
        self.fulllineedit5.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fulllineedit5.setObjectName(_fromUtf8("fulllineedit5"))
        self.horizontalLayout_5.addWidget(self.fulllineedit5)
        self.fulllineedit6 = QtGui.QLineEdit(self.page_7)
        self.fulllineedit6.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fulllineedit6.setObjectName(_fromUtf8("fulllineedit6"))
        self.horizontalLayout_5.addWidget(self.fulllineedit6)
        self.fulllineedit7 = QtGui.QLineEdit(self.page_7)
        self.fulllineedit7.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fulllineedit7.setObjectName(_fromUtf8("fulllineedit7"))
        self.horizontalLayout_5.addWidget(self.fulllineedit7)
        self.fulllineedit8 = QtGui.QLineEdit(self.page_7)
        self.fulllineedit8.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fulllineedit8.setObjectName(_fromUtf8("fulllineedit8"))
        self.horizontalLayout_5.addWidget(self.fulllineedit8)
        self.fulllineedit9 = QtGui.QLineEdit(self.page_7)
        self.fulllineedit9.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fulllineedit9.setObjectName(_fromUtf8("fulllineedit9"))
        self.horizontalLayout_5.addWidget(self.fulllineedit9)
        self.fulllineedit10 = QtGui.QLineEdit(self.page_7)
        self.fulllineedit10.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.fulllineedit10.setObjectName(_fromUtf8("fulllineedit10"))
        self.horizontalLayout_5.addWidget(self.fulllineedit10)
        self.verticalLayout_45.addLayout(self.horizontalLayout_5)
        self.groupBox_27 = QtGui.QGroupBox(self.page_7)
        self.groupBox_27.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_27.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.groupBox_27.setTitle(_fromUtf8(""))
        self.groupBox_27.setObjectName(_fromUtf8("groupBox_27"))
        self.verticalLayout_42 = QtGui.QVBoxLayout(self.groupBox_27)
        self.verticalLayout_42.setObjectName(_fromUtf8("verticalLayout_42"))
        self.verticalLayout_43 = QtGui.QVBoxLayout()
        self.verticalLayout_43.setObjectName(_fromUtf8("verticalLayout_43"))
        self.fullgeneratbutton = QtGui.QPushButton(self.groupBox_27)
        self.fullgeneratbutton.setObjectName(_fromUtf8("fullgeneratbutton"))
        self.verticalLayout_43.addWidget(self.fullgeneratbutton)
        self.fullclearbutton = QtGui.QPushButton(self.groupBox_27)
        self.fullclearbutton.setObjectName(_fromUtf8("fullclearbutton"))
        self.verticalLayout_43.addWidget(self.fullclearbutton)
        self.verticalLayout_42.addLayout(self.verticalLayout_43)
        self.verticalLayout_45.addWidget(self.groupBox_27)
        self.line_22 = QtGui.QFrame(self.page_7)
        self.line_22.setFrameShape(QtGui.QFrame.HLine)
        self.line_22.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_22.setObjectName(_fromUtf8("line_22"))
        self.verticalLayout_45.addWidget(self.line_22)
        self.groupBox_26 = QtGui.QGroupBox(self.page_7)
        self.groupBox_26.setTitle(_fromUtf8(""))
        self.groupBox_26.setObjectName(_fromUtf8("groupBox_26"))
        self.verticalLayout_39 = QtGui.QVBoxLayout(self.groupBox_26)
        self.verticalLayout_39.setObjectName(_fromUtf8("verticalLayout_39"))
        self.verticalLayout_40 = QtGui.QVBoxLayout()
        self.verticalLayout_40.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.verticalLayout_40.setMargin(6)
        self.verticalLayout_40.setObjectName(_fromUtf8("verticalLayout_40"))
        self.label_15 = QtGui.QLabel(self.groupBox_26)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_15.setFont(font)
        self.label_15.setFrameShape(QtGui.QFrame.Box)
        self.label_15.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.verticalLayout_40.addWidget(self.label_15)
        self.fulltable = QtGui.QTableWidget(self.groupBox_26)
        self.fulltable.setObjectName(_fromUtf8("fulltable"))
        self.fulltable.setColumnCount(0)
        self.fulltable.setRowCount(0)
        self.verticalLayout_40.addWidget(self.fulltable)
        self.verticalLayout_39.addLayout(self.verticalLayout_40)
        self.verticalLayout_45.addWidget(self.groupBox_26)
        self.horizontalLayout_69.addLayout(self.verticalLayout_45)
        self.line_23 = QtGui.QFrame(self.page_7)
        self.line_23.setFrameShape(QtGui.QFrame.VLine)
        self.line_23.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_23.setObjectName(_fromUtf8("line_23"))
        self.horizontalLayout_69.addWidget(self.line_23)
        self.verticalLayout_41 = QtGui.QVBoxLayout()
        self.verticalLayout_41.setObjectName(_fromUtf8("verticalLayout_41"))
        self.bbdfactor_2 = QtGui.QGroupBox(self.page_7)
        self.bbdfactor_2.setMinimumSize(QtCore.QSize(0, 0))
        self.bbdfactor_2.setMaximumSize(QtCore.QSize(16777215, 80))
        self.bbdfactor_2.setObjectName(_fromUtf8("bbdfactor_2"))
        self.horizontalLayout_16 = QtGui.QHBoxLayout(self.bbdfactor_2)
        self.horizontalLayout_16.setObjectName(_fromUtf8("horizontalLayout_16"))
        self.horizontalLayout_11 = QtGui.QHBoxLayout()
        self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11"))
        self.fullcheck1 = QtGui.QCheckBox(self.bbdfactor_2)
        self.fullcheck1.setObjectName(_fromUtf8("fullcheck1"))
        self.horizontalLayout_11.addWidget(self.fullcheck1)
        self.fullcheck2 = QtGui.QCheckBox(self.bbdfactor_2)
        self.fullcheck2.setObjectName(_fromUtf8("fullcheck2"))
        self.horizontalLayout_11.addWidget(self.fullcheck2)
        self.fullcheck3 = QtGui.QCheckBox(self.bbdfactor_2)
        self.fullcheck3.setObjectName(_fromUtf8("fullcheck3"))
        self.horizontalLayout_11.addWidget(self.fullcheck3)
        self.fullcheck4 = QtGui.QCheckBox(self.bbdfactor_2)
        self.fullcheck4.setObjectName(_fromUtf8("fullcheck4"))
        self.horizontalLayout_11.addWidget(self.fullcheck4)
        self.fullcheck5 = QtGui.QCheckBox(self.bbdfactor_2)
        self.fullcheck5.setObjectName(_fromUtf8("fullcheck5"))
        self.horizontalLayout_11.addWidget(self.fullcheck5)
        self.fullcheck6 = QtGui.QCheckBox(self.bbdfactor_2)
        self.fullcheck6.setObjectName(_fromUtf8("fullcheck6"))
        self.horizontalLayout_11.addWidget(self.fullcheck6)
        self.fullcheck7 = QtGui.QCheckBox(self.bbdfactor_2)
        self.fullcheck7.setObjectName(_fromUtf8("fullcheck7"))
        self.horizontalLayout_11.addWidget(self.fullcheck7)
        self.fullcheck8 = QtGui.QCheckBox(self.bbdfactor_2)
        self.fullcheck8.setObjectName(_fromUtf8("fullcheck8"))
        self.horizontalLayout_11.addWidget(self.fullcheck8)
        self.fullcheck9 = QtGui.QCheckBox(self.bbdfactor_2)
        self.fullcheck9.setObjectName(_fromUtf8("fullcheck9"))
        self.horizontalLayout_11.addWidget(self.fullcheck9)
        self.fullcheck10 = QtGui.QCheckBox(self.bbdfactor_2)
        self.fullcheck10.setObjectName(_fromUtf8("fullcheck10"))
        self.horizontalLayout_11.addWidget(self.fullcheck10)
        self.horizontalLayout_16.addLayout(self.horizontalLayout_11)
        self.verticalLayout_41.addWidget(self.bbdfactor_2)
        self.bbdfigure_2 = QtGui.QGroupBox(self.page_7)
        self.bbdfigure_2.setMinimumSize(QtCore.QSize(0, 0))
        self.bbdfigure_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.bbdfigure_2.setObjectName(_fromUtf8("bbdfigure_2"))
        self.verticalLayout_37 = QtGui.QVBoxLayout(self.bbdfigure_2)
        self.verticalLayout_37.setObjectName(_fromUtf8("verticalLayout_37"))
        self.verticalLayout_38 = QtGui.QVBoxLayout()
        self.verticalLayout_38.setObjectName(_fromUtf8("verticalLayout_38"))
        self.label_14 = QtGui.QLabel(self.bbdfigure_2)
        self.label_14.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_14.setFont(font)
        self.label_14.setFrameShape(QtGui.QFrame.Box)
        self.label_14.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.verticalLayout_38.addWidget(self.label_14)
        self.fullmplwidget = MatplotlibWidget(self.bbdfigure_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fullmplwidget.sizePolicy().hasHeightForWidth())
        self.fullmplwidget.setSizePolicy(sizePolicy)
        self.fullmplwidget.setMinimumSize(QtCore.QSize(700, 0))
        self.fullmplwidget.setMaximumSize(QtCore.QSize(700, 16777215))
        self.fullmplwidget.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.fullmplwidget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.fullmplwidget.setAutoFillBackground(True)
        self.fullmplwidget.setInputMethodHints(QtCore.Qt.ImhNone)
        self.fullmplwidget.setObjectName(_fromUtf8("fullmplwidget"))
        self.verticalLayout_38.addWidget(self.fullmplwidget)
        self.verticalLayout_37.addLayout(self.verticalLayout_38)
        self.verticalLayout_41.addWidget(self.bbdfigure_2)
        self.horizontalLayout_69.addLayout(self.verticalLayout_41)
        self.horizontalLayout_68.addLayout(self.horizontalLayout_69)
        self.stackedWidget_2.addWidget(self.page_7)
        self.verticalLayout_13.addWidget(self.stackedWidget_2)
        self.horizontalLayout_65.addLayout(self.verticalLayout_13)
        self.stackedWidget.addWidget(self.page_4)
        self.page_5 = QtGui.QWidget()
        self.page_5.setObjectName(_fromUtf8("page_5"))
        self.horizontalLayout_42 = QtGui.QHBoxLayout(self.page_5)
        self.horizontalLayout_42.setObjectName(_fromUtf8("horizontalLayout_42"))
        self.verticalLayout_61 = QtGui.QVBoxLayout()
        self.verticalLayout_61.setObjectName(_fromUtf8("verticalLayout_61"))
        self.groupBox_28 = QtGui.QGroupBox(self.page_5)
        self.groupBox_28.setMinimumSize(QtCore.QSize(0, 70))
        self.groupBox_28.setTitle(_fromUtf8(""))
        self.groupBox_28.setObjectName(_fromUtf8("groupBox_28"))
        self.horizontalLayout_22 = QtGui.QHBoxLayout(self.groupBox_28)
        self.horizontalLayout_22.setObjectName(_fromUtf8("horizontalLayout_22"))
        self.surrogatecombobox = QtGui.QComboBox(self.groupBox_28)
        self.surrogatecombobox.setMinimumSize(QtCore.QSize(200, 28))
        self.surrogatecombobox.setObjectName(_fromUtf8("surrogatecombobox"))
        self.surrogatecombobox.addItem(_fromUtf8(""))
        self.surrogatecombobox.addItem(_fromUtf8(""))
        self.surrogatecombobox.addItem(_fromUtf8(""))
        self.horizontalLayout_22.addWidget(self.surrogatecombobox)
        spacerItem2 = QtGui.QSpacerItem(1261, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_22.addItem(spacerItem2)
        self.verticalLayout_61.addWidget(self.groupBox_28)
        self.surrogatestackwidget = QtGui.QStackedWidget(self.page_5)
        self.surrogatestackwidget.setFrameShape(QtGui.QFrame.Box)
        self.surrogatestackwidget.setFrameShadow(QtGui.QFrame.Sunken)
        self.surrogatestackwidget.setObjectName(_fromUtf8("surrogatestackwidget"))
        self.page_11 = QtGui.QWidget()
        self.page_11.setObjectName(_fromUtf8("page_11"))
        self.horizontalLayout_41 = QtGui.QHBoxLayout(self.page_11)
        self.horizontalLayout_41.setObjectName(_fromUtf8("horizontalLayout_41"))
        self.horizontalLayout_39 = QtGui.QHBoxLayout()
        self.horizontalLayout_39.setObjectName(_fromUtf8("horizontalLayout_39"))
        self.verticalLayout_48 = QtGui.QVBoxLayout()
        self.verticalLayout_48.setObjectName(_fromUtf8("verticalLayout_48"))
        self.ParametergroupBox = QtGui.QGroupBox(self.page_11)
        self.ParametergroupBox.setMinimumSize(QtCore.QSize(0, 140))
        self.ParametergroupBox.setObjectName(_fromUtf8("ParametergroupBox"))
        self.horizontalLayout_24 = QtGui.QHBoxLayout(self.ParametergroupBox)
        self.horizontalLayout_24.setObjectName(_fromUtf8("horizontalLayout_24"))
        self.verticalLayout_34 = QtGui.QVBoxLayout()
        self.verticalLayout_34.setObjectName(_fromUtf8("verticalLayout_34"))
        self.kgpmcombobox = QtGui.QComboBox(self.ParametergroupBox)
        self.kgpmcombobox.setMinimumSize(QtCore.QSize(0, 25))
        self.kgpmcombobox.setEditable(False)
        self.kgpmcombobox.setInsertPolicy(QtGui.QComboBox.InsertAtBottom)
        self.kgpmcombobox.setObjectName(_fromUtf8("kgpmcombobox"))
        self.kgpmcombobox.addItem(_fromUtf8(""))
        self.kgpmcombobox.addItem(_fromUtf8(""))
        self.verticalLayout_34.addWidget(self.kgpmcombobox)
        self.gridLayout_6 = QtGui.QGridLayout()
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.label_17 = QtGui.QLabel(self.ParametergroupBox)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.gridLayout_6.addWidget(self.label_17, 2, 0, 1, 1)
        self.NVLabel = QtGui.QLabel(self.ParametergroupBox)
        self.NVLabel.setEnabled(True)
        self.NVLabel.setMaximumSize(QtCore.QSize(180, 16777215))
        self.NVLabel.setObjectName(_fromUtf8("NVLabel"))
        self.gridLayout_6.addWidget(self.NVLabel, 0, 0, 1, 1)
        self.NPLabel = QtGui.QLabel(self.ParametergroupBox)
        self.NPLabel.setEnabled(True)
        self.NPLabel.setMaximumSize(QtCore.QSize(180, 16777215))
        self.NPLabel.setObjectName(_fromUtf8("NPLabel"))
        self.gridLayout_6.addWidget(self.NPLabel, 1, 0, 1, 1)
        self.verticalLayout_44 = QtGui.QVBoxLayout()
        self.verticalLayout_44.setSpacing(3)
        self.verticalLayout_44.setObjectName(_fromUtf8("verticalLayout_44"))
        self.NVspinBox = QtGui.QSpinBox(self.ParametergroupBox)
        self.NVspinBox.setEnabled(True)
        self.NVspinBox.setMinimum(2)
        self.NVspinBox.setMaximum(10)
        self.NVspinBox.setProperty("value", 2)
        self.NVspinBox.setObjectName(_fromUtf8("NVspinBox"))
        self.verticalLayout_44.addWidget(self.NVspinBox)
        self.NPspinBox = QtGui.QSpinBox(self.ParametergroupBox)
        self.NPspinBox.setEnabled(True)
        self.NPspinBox.setMinimum(1)
        self.NPspinBox.setMaximum(5000)
        self.NPspinBox.setProperty("value", 1)
        self.NPspinBox.setObjectName(_fromUtf8("NPspinBox"))
        self.verticalLayout_44.addWidget(self.NPspinBox)
        self.objfunspin = QtGui.QSpinBox(self.ParametergroupBox)
        self.objfunspin.setMinimum(1)
        self.objfunspin.setMaximum(1000)
        self.objfunspin.setObjectName(_fromUtf8("objfunspin"))
        self.verticalLayout_44.addWidget(self.objfunspin)
        self.gridLayout_6.addLayout(self.verticalLayout_44, 0, 1, 3, 1)
        self.verticalLayout_34.addLayout(self.gridLayout_6)
        self.horizontalLayout_24.addLayout(self.verticalLayout_34)
        self.verticalLayout_48.addWidget(self.ParametergroupBox)
        self.line_11 = QtGui.QFrame(self.page_11)
        self.line_11.setMidLineWidth(0)
        self.line_11.setFrameShape(QtGui.QFrame.HLine)
        self.line_11.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_11.setObjectName(_fromUtf8("line_11"))
        self.verticalLayout_48.addWidget(self.line_11)
        self.groupBox_29 = QtGui.QGroupBox(self.page_11)
        self.groupBox_29.setMinimumSize(QtCore.QSize(0, 351))
        self.groupBox_29.setObjectName(_fromUtf8("groupBox_29"))
        self.horizontalLayout_31 = QtGui.QHBoxLayout(self.groupBox_29)
        self.horizontalLayout_31.setObjectName(_fromUtf8("horizontalLayout_31"))
        self.verticalLayout_15 = QtGui.QVBoxLayout()
        self.verticalLayout_15.setObjectName(_fromUtf8("verticalLayout_15"))
        self.horizontalLayout_30 = QtGui.QHBoxLayout()
        self.horizontalLayout_30.setObjectName(_fromUtf8("horizontalLayout_30"))
        self.groupBox_39 = QtGui.QGroupBox(self.groupBox_29)
        self.groupBox_39.setObjectName(_fromUtf8("groupBox_39"))
        self.horizontalLayout_23 = QtGui.QHBoxLayout(self.groupBox_39)
        self.horizontalLayout_23.setObjectName(_fromUtf8("horizontalLayout_23"))
        self.gridLayout_9 = QtGui.QGridLayout()
        self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
        self.verticalLayout_67 = QtGui.QVBoxLayout()
        self.verticalLayout_67.setObjectName(_fromUtf8("verticalLayout_67"))
        self.label_46 = QtGui.QLabel(self.groupBox_39)
        self.label_46.setFrameShape(QtGui.QFrame.Box)
        self.label_46.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_46.setObjectName(_fromUtf8("label_46"))
        self.verticalLayout_67.addWidget(self.label_46)
        self.initialdatatable = QtGui.QTableWidget(self.groupBox_39)
        self.initialdatatable.setEnabled(True)
        self.initialdatatable.setMinimumSize(QtCore.QSize(0, 0))
        self.initialdatatable.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.initialdatatable.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
        self.initialdatatable.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
        self.initialdatatable.setAutoScrollMargin(16)
        self.initialdatatable.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.initialdatatable.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.initialdatatable.setTextElideMode(QtCore.Qt.ElideRight)
        self.initialdatatable.setObjectName(_fromUtf8("initialdatatable"))
        self.initialdatatable.setColumnCount(0)
        self.initialdatatable.setRowCount(0)
        self.initialdatatable.verticalHeader().setDefaultSectionSize(30)
        self.verticalLayout_67.addWidget(self.initialdatatable)
        self.gridLayout_9.addLayout(self.verticalLayout_67, 0, 0, 2, 1)
        self.line_27 = QtGui.QFrame(self.groupBox_39)
        self.line_27.setFrameShape(QtGui.QFrame.VLine)
        self.line_27.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_27.setObjectName(_fromUtf8("line_27"))
        self.gridLayout_9.addWidget(self.line_27, 0, 1, 2, 1)
        self.label_45 = QtGui.QLabel(self.groupBox_39)
        self.label_45.setMinimumSize(QtCore.QSize(100, 20))
        self.label_45.setMaximumSize(QtCore.QSize(200, 16777215))
        self.label_45.setFrameShape(QtGui.QFrame.Box)
        self.label_45.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_45.setObjectName(_fromUtf8("label_45"))
        self.gridLayout_9.addWidget(self.label_45, 0, 2, 1, 1)
        self.kgytraintable = QtGui.QTableWidget(self.groupBox_39)
        self.kgytraintable.setMinimumSize(QtCore.QSize(100, 0))
        self.kgytraintable.setMaximumSize(QtCore.QSize(200, 16777215))
        self.kgytraintable.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
        self.kgytraintable.setObjectName(_fromUtf8("kgytraintable"))
        self.kgytraintable.setColumnCount(0)
        self.kgytraintable.setRowCount(0)
        self.gridLayout_9.addWidget(self.kgytraintable, 1, 2, 1, 1)
        self.horizontalLayout_23.addLayout(self.gridLayout_9)
        self.horizontalLayout_30.addWidget(self.groupBox_39)
        self.verticalLayout_53 = QtGui.QVBoxLayout()
        self.verticalLayout_53.setObjectName(_fromUtf8("verticalLayout_53"))
        spacerItem3 = QtGui.QSpacerItem(20, 108, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_53.addItem(spacerItem3)
        self.toolButton = QtGui.QToolButton(self.groupBox_29)
        self.toolButton.setCheckable(False)
        self.toolButton.setChecked(False)
        self.toolButton.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
        self.toolButton.setArrowType(QtCore.Qt.NoArrow)
        self.toolButton.setObjectName(_fromUtf8("toolButton"))
        self.verticalLayout_53.addWidget(self.toolButton)
        self.horizontalLayout_30.addLayout(self.verticalLayout_53)
        self.verticalLayout_15.addLayout(self.horizontalLayout_30)
        self.groupBox_3 = QtGui.QGroupBox(self.groupBox_29)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.horizontalLayout_36 = QtGui.QHBoxLayout(self.groupBox_3)
        self.horizontalLayout_36.setObjectName(_fromUtf8("horizontalLayout_36"))
        self.gridLayout_5 = QtGui.QGridLayout()
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.label_37 = QtGui.QLabel(self.groupBox_3)
        self.label_37.setObjectName(_fromUtf8("label_37"))
        self.gridLayout_5.addWidget(self.label_37, 0, 0, 1, 1)
        self.kptypecombobox = QtGui.QComboBox(self.groupBox_3)
        self.kptypecombobox.setMinimumSize(QtCore.QSize(0, 25))
        self.kptypecombobox.setObjectName(_fromUtf8("kptypecombobox"))
        self.kptypecombobox.addItem(_fromUtf8(""))
        self.kptypecombobox.addItem(_fromUtf8(""))
        self.kptypecombobox.addItem(_fromUtf8(""))
        self.gridLayout_5.addWidget(self.kptypecombobox, 0, 1, 1, 1)
        self.label_38 = QtGui.QLabel(self.groupBox_3)
        self.label_38.setMaximumSize(QtCore.QSize(100, 16777215))
        self.label_38.setObjectName(_fromUtf8("label_38"))
        self.gridLayout_5.addWidget(self.label_38, 1, 0, 1, 1)
        self.kgopmcombobox = QtGui.QComboBox(self.groupBox_3)
        self.kgopmcombobox.setMinimumSize(QtCore.QSize(0, 25))
        self.kgopmcombobox.setObjectName(_fromUtf8("kgopmcombobox"))
        self.kgopmcombobox.addItem(_fromUtf8(""))
        self.kgopmcombobox.addItem(_fromUtf8(""))
        self.gridLayout_5.addWidget(self.kgopmcombobox, 1, 1, 1, 1)
        self.horizontalLayout_36.addLayout(self.gridLayout_5)
        self.verticalLayout_15.addWidget(self.groupBox_3)
        self.gridLayout_7 = QtGui.QGridLayout()
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.trainbutton = QtGui.QPushButton(self.groupBox_29)
        self.trainbutton.setObjectName(_fromUtf8("trainbutton"))
        self.gridLayout_7.addWidget(self.trainbutton, 0, 0, 1, 1)
        self.ktrainclearbutton = QtGui.QPushButton(self.groupBox_29)
        self.ktrainclearbutton.setMinimumSize(QtCore.QSize(0, 60))
        self.ktrainclearbutton.setObjectName(_fromUtf8("ktrainclearbutton"))
        self.gridLayout_7.addWidget(self.ktrainclearbutton, 0, 1, 2, 1)
        self.kgprogressBar = QtGui.QProgressBar(self.groupBox_29)
        self.kgprogressBar.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.kgprogressBar.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.kgprogressBar.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
        self.kgprogressBar.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.kgprogressBar.setProperty("value", 24)
        self.kgprogressBar.setTextVisible(True)
        self.kgprogressBar.setOrientation(QtCore.Qt.Horizontal)
        self.kgprogressBar.setInvertedAppearance(False)
        self.kgprogressBar.setTextDirection(QtGui.QProgressBar.TopToBottom)
        self.kgprogressBar.setObjectName(_fromUtf8("kgprogressBar"))
        self.gridLayout_7.addWidget(self.kgprogressBar, 1, 0, 1, 1)
        self.verticalLayout_15.addLayout(self.gridLayout_7)
        self.horizontalLayout_31.addLayout(self.verticalLayout_15)
        self.verticalLayout_48.addWidget(self.groupBox_29)
        self.horizontalLayout_39.addLayout(self.verticalLayout_48)
        self.line_12 = QtGui.QFrame(self.page_11)
        self.line_12.setFrameShape(QtGui.QFrame.VLine)
        self.line_12.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_12.setObjectName(_fromUtf8("line_12"))
        self.horizontalLayout_39.addWidget(self.line_12)
        self.verticalLayout_49 = QtGui.QVBoxLayout()
        self.verticalLayout_49.setObjectName(_fromUtf8("verticalLayout_49"))
        self.verticalLayout_60 = QtGui.QVBoxLayout()
        self.verticalLayout_60.setObjectName(_fromUtf8("verticalLayout_60"))
        self.groupBox_34 = QtGui.QGroupBox(self.page_11)
        self.groupBox_34.setMinimumSize(QtCore.QSize(0, 60))
        self.groupBox_34.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.groupBox_34.setObjectName(_fromUtf8("groupBox_34"))
        self.horizontalLayout_48 = QtGui.QHBoxLayout(self.groupBox_34)
        self.horizontalLayout_48.setObjectName(_fromUtf8("horizontalLayout_48"))
        self.horizontalLayout_28 = QtGui.QHBoxLayout()
        self.horizontalLayout_28.setObjectName(_fromUtf8("horizontalLayout_28"))
        self.krigingcheck1 = QtGui.QCheckBox(self.groupBox_34)
        self.krigingcheck1.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.krigingcheck1.setObjectName(_fromUtf8("krigingcheck1"))
        self.horizontalLayout_28.addWidget(self.krigingcheck1)
        self.krigingcheck2 = QtGui.QCheckBox(self.groupBox_34)
        self.krigingcheck2.setObjectName(_fromUtf8("krigingcheck2"))
        self.horizontalLayout_28.addWidget(self.krigingcheck2)
        self.krigingcheck3 = QtGui.QCheckBox(self.groupBox_34)
        self.krigingcheck3.setObjectName(_fromUtf8("krigingcheck3"))
        self.horizontalLayout_28.addWidget(self.krigingcheck3)
        self.krigingcheck4 = QtGui.QCheckBox(self.groupBox_34)
        self.krigingcheck4.setObjectName(_fromUtf8("krigingcheck4"))
        self.horizontalLayout_28.addWidget(self.krigingcheck4)
        self.krigingcheck5 = QtGui.QCheckBox(self.groupBox_34)
        self.krigingcheck5.setObjectName(_fromUtf8("krigingcheck5"))
        self.horizontalLayout_28.addWidget(self.krigingcheck5)
        self.krigingcheck6 = QtGui.QCheckBox(self.groupBox_34)
        self.krigingcheck6.setObjectName(_fromUtf8("krigingcheck6"))
        self.horizontalLayout_28.addWidget(self.krigingcheck6)
        self.krigingcheck7 = QtGui.QCheckBox(self.groupBox_34)
        self.krigingcheck7.setObjectName(_fromUtf8("krigingcheck7"))
        self.horizontalLayout_28.addWidget(self.krigingcheck7)
        self.krigingcheck8 = QtGui.QCheckBox(self.groupBox_34)
        self.krigingcheck8.setObjectName(_fromUtf8("krigingcheck8"))
        self.horizontalLayout_28.addWidget(self.krigingcheck8)
        self.krigingcheck9 = QtGui.QCheckBox(self.groupBox_34)
        self.krigingcheck9.setObjectName(_fromUtf8("krigingcheck9"))
        self.horizontalLayout_28.addWidget(self.krigingcheck9)
        self.krigingcheck10 = QtGui.QCheckBox(self.groupBox_34)
        self.krigingcheck10.setObjectName(_fromUtf8("krigingcheck10"))
        self.horizontalLayout_28.addWidget(self.krigingcheck10)
        self.movecomboBox = QtGui.QComboBox(self.groupBox_34)
        self.movecomboBox.setMaximumSize(QtCore.QSize(100, 16777215))
        self.movecomboBox.setObjectName(_fromUtf8("movecomboBox"))
        self.horizontalLayout_28.addWidget(self.movecomboBox)
        self.movedspinbox = QtGui.QDoubleSpinBox(self.groupBox_34)
        self.movedspinbox.setDecimals(3)
        self.movedspinbox.setMinimum(-9999.0)
        self.movedspinbox.setMaximum(9999.0)
        self.movedspinbox.setSingleStep(1.0)
        self.movedspinbox.setObjectName(_fromUtf8("movedspinbox"))
        self.horizontalLayout_28.addWidget(self.movedspinbox)
        self.line = QtGui.QFrame(self.groupBox_34)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.horizontalLayout_28.addWidget(self.line)
        self.kgycombobox = QtGui.QComboBox(self.groupBox_34)
        self.kgycombobox.setMinimumSize(QtCore.QSize(0, 0))
        self.kgycombobox.setObjectName(_fromUtf8("kgycombobox"))
        self.horizontalLayout_28.addWidget(self.kgycombobox)
        self.horizontalLayout_48.addLayout(self.horizontalLayout_28)
        self.verticalLayout_60.addWidget(self.groupBox_34)
        self.groupBox_35 = QtGui.QGroupBox(self.page_11)
        self.groupBox_35.setObjectName(_fromUtf8("groupBox_35"))
        self.horizontalLayout_29 = QtGui.QHBoxLayout(self.groupBox_35)
        self.horizontalLayout_29.setObjectName(_fromUtf8("horizontalLayout_29"))
        self.verticalLayout_50 = QtGui.QVBoxLayout()
        self.verticalLayout_50.setObjectName(_fromUtf8("verticalLayout_50"))
        self.label_16 = QtGui.QLabel(self.groupBox_35)
        self.label_16.setFrameShape(QtGui.QFrame.Box)
        self.label_16.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.verticalLayout_50.addWidget(self.label_16)
        self.krigingmplwidget = MatplotlibWidget(self.groupBox_35)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.krigingmplwidget.sizePolicy().hasHeightForWidth())
        self.krigingmplwidget.setSizePolicy(sizePolicy)
        self.krigingmplwidget.setMinimumSize(QtCore.QSize(825, 350))
        self.krigingmplwidget.setSizeIncrement(QtCore.QSize(0, 0))
        self.krigingmplwidget.setFocusPolicy(QtCore.Qt.NoFocus)
        self.krigingmplwidget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.krigingmplwidget.setObjectName(_fromUtf8("krigingmplwidget"))
        self.verticalLayout_50.addWidget(self.krigingmplwidget)
        self.horizontalLayout_29.addLayout(self.verticalLayout_50)
        self.verticalLayout_60.addWidget(self.groupBox_35)
        self.horizontalLayout_40 = QtGui.QHBoxLayout()
        self.horizontalLayout_40.setObjectName(_fromUtf8("horizontalLayout_40"))
        self.kg2dbutton = QtGui.QPushButton(self.page_11)
        self.kg2dbutton.setObjectName(_fromUtf8("kg2dbutton"))
        self.horizontalLayout_40.addWidget(self.kg2dbutton)
        self.line_13 = QtGui.QFrame(self.page_11)
        self.line_13.setFrameShape(QtGui.QFrame.VLine)
        self.line_13.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_13.setObjectName(_fromUtf8("line_13"))
        self.horizontalLayout_40.addWidget(self.line_13)
        self.kg3dbutton = QtGui.QPushButton(self.page_11)
        self.kg3dbutton.setObjectName(_fromUtf8("kg3dbutton"))
        self.horizontalLayout_40.addWidget(self.kg3dbutton)
        self.verticalLayout_60.addLayout(self.horizontalLayout_40)
        self.verticalLayout_49.addLayout(self.verticalLayout_60)
        self.tabWidget = QtGui.QTabWidget(self.page_11)
        self.tabWidget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Triangular)
        self.tabWidget.setElideMode(QtCore.Qt.ElideLeft)
        self.tabWidget.setTabsClosable(False)
        self.tabWidget.setMovable(False)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.horizontalLayout_37 = QtGui.QHBoxLayout(self.tab)
        self.horizontalLayout_37.setObjectName(_fromUtf8("horizontalLayout_37"))
        self.verticalLayout_35 = QtGui.QVBoxLayout()
        self.verticalLayout_35.setObjectName(_fromUtf8("verticalLayout_35"))
        self.horizontalLayout_35 = QtGui.QHBoxLayout()
        self.horizontalLayout_35.setObjectName(_fromUtf8("horizontalLayout_35"))
        self.label_27 = QtGui.QLabel(self.tab)
        self.label_27.setMaximumSize(QtCore.QSize(200, 16777215))
        self.label_27.setFrameShape(QtGui.QFrame.NoFrame)
        self.label_27.setFrameShadow(QtGui.QFrame.Plain)
        self.label_27.setObjectName(_fromUtf8("label_27"))
        self.horizontalLayout_35.addWidget(self.label_27)
        self.krigingtestspinbox = QtGui.QSpinBox(self.tab)
        self.krigingtestspinbox.setMinimum(1)
        self.krigingtestspinbox.setMaximum(100000000)
        self.krigingtestspinbox.setObjectName(_fromUtf8("krigingtestspinbox"))
        self.horizontalLayout_35.addWidget(self.krigingtestspinbox)
        self.verticalLayout_35.addLayout(self.horizontalLayout_35)
        self.gridLayout_11 = QtGui.QGridLayout()
        self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11"))
        self.groupBox_11 = QtGui.QGroupBox(self.tab)
        self.groupBox_11.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_11.setObjectName(_fromUtf8("groupBox_11"))
        self.horizontalLayout_43 = QtGui.QHBoxLayout(self.groupBox_11)
        self.horizontalLayout_43.setObjectName(_fromUtf8("horizontalLayout_43"))
        self.horizontalLayout_32 = QtGui.QHBoxLayout()
        self.horizontalLayout_32.setObjectName(_fromUtf8("horizontalLayout_32"))
        self.verticalLayout_46 = QtGui.QVBoxLayout()
        self.verticalLayout_46.setObjectName(_fromUtf8("verticalLayout_46"))
        self.label_44 = QtGui.QLabel(self.groupBox_11)
        self.label_44.setFrameShape(QtGui.QFrame.Box)
        self.label_44.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_44.setObjectName(_fromUtf8("label_44"))
        self.verticalLayout_46.addWidget(self.label_44)
        self.krigingtestdatatable = QtGui.QTableWidget(self.groupBox_11)
        self.krigingtestdatatable.setMinimumSize(QtCore.QSize(0, 0))
        self.krigingtestdatatable.setFrameShape(QtGui.QFrame.StyledPanel)
        self.krigingtestdatatable.setFrameShadow(QtGui.QFrame.Sunken)
        self.krigingtestdatatable.setObjectName(_fromUtf8("krigingtestdatatable"))
        self.krigingtestdatatable.setColumnCount(0)
        self.krigingtestdatatable.setRowCount(0)
        self.verticalLayout_46.addWidget(self.krigingtestdatatable)
        self.horizontalLayout_32.addLayout(self.verticalLayout_46)
        self.line_26 = QtGui.QFrame(self.groupBox_11)
        self.line_26.setMinimumSize(QtCore.QSize(0, 90))
        self.line_26.setFrameShape(QtGui.QFrame.VLine)
        self.line_26.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_26.setObjectName(_fromUtf8("line_26"))
        self.horizontalLayout_32.addWidget(self.line_26)
        self.verticalLayout_51 = QtGui.QVBoxLayout()
        self.verticalLayout_51.setObjectName(_fromUtf8("verticalLayout_51"))
        self.label_43 = QtGui.QLabel(self.groupBox_11)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_43.sizePolicy().hasHeightForWidth())
        self.label_43.setSizePolicy(sizePolicy)
        self.label_43.setMinimumSize(QtCore.QSize(200, 0))
        self.label_43.setMaximumSize(QtCore.QSize(200, 16777215))
        self.label_43.setFrameShape(QtGui.QFrame.Box)
        self.label_43.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_43.setObjectName(_fromUtf8("label_43"))
        self.verticalLayout_51.addWidget(self.label_43)
        self.kgYtestable = QtGui.QTableWidget(self.groupBox_11)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.kgYtestable.sizePolicy().hasHeightForWidth())
        self.kgYtestable.setSizePolicy(sizePolicy)
        self.kgYtestable.setMinimumSize(QtCore.QSize(200, 0))
        self.kgYtestable.setMaximumSize(QtCore.QSize(200, 16777215))
        self.kgYtestable.setObjectName(_fromUtf8("kgYtestable"))
        self.kgYtestable.setColumnCount(0)
        self.kgYtestable.setRowCount(0)
        self.verticalLayout_51.addWidget(self.kgYtestable)
        self.horizontalLayout_32.addLayout(self.verticalLayout_51)
        self.horizontalLayout_43.addLayout(self.horizontalLayout_32)
        self.gridLayout_11.addWidget(self.groupBox_11, 0, 0, 2, 1)
        self.line_25 = QtGui.QFrame(self.tab)
        self.line_25.setFrameShape(QtGui.QFrame.VLine)
        self.line_25.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_25.setObjectName(_fromUtf8("line_25"))
        self.gridLayout_11.addWidget(self.line_25, 0, 1, 2, 1)
        self.r2rsmebutton = QtGui.QPushButton(self.tab)
        self.r2rsmebutton.setMinimumSize(QtCore.QSize(0, 0))
        self.r2rsmebutton.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.r2rsmebutton.setObjectName(_fromUtf8("r2rsmebutton"))
        self.gridLayout_11.addWidget(self.r2rsmebutton, 0, 2, 1, 1)
        self.kgYptableView = QtGui.QTableView(self.tab)
        self.kgYptableView.setMinimumSize(QtCore.QSize(0, 0))
        self.kgYptableView.setMaximumSize(QtCore.QSize(200, 16777215))
        self.kgYptableView.setObjectName(_fromUtf8("kgYptableView"))
        self.gridLayout_11.addWidget(self.kgYptableView, 1, 2, 1, 1)
        self.verticalLayout_35.addLayout(self.gridLayout_11)
        self.horizontalLayout_26 = QtGui.QHBoxLayout()
        self.horizontalLayout_26.setObjectName(_fromUtf8("horizontalLayout_26"))
        self.Ktestclearpushbutton = QtGui.QPushButton(self.tab)
        self.Ktestclearpushbutton.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.Ktestclearpushbutton.setObjectName(_fromUtf8("Ktestclearpushbutton"))
        self.horizontalLayout_26.addWidget(self.Ktestclearpushbutton)
        self.line_15 = QtGui.QFrame(self.tab)
        self.line_15.setFrameShape(QtGui.QFrame.VLine)
        self.line_15.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_15.setObjectName(_fromUtf8("line_15"))
        self.horizontalLayout_26.addWidget(self.line_15)
        self.label_32 = QtGui.QLabel(self.tab)
        self.label_32.setObjectName(_fromUtf8("label_32"))
        self.horizontalLayout_26.addWidget(self.label_32)
        self.TestYbox = QtGui.QComboBox(self.tab)
        self.TestYbox.setObjectName(_fromUtf8("TestYbox"))
        self.horizontalLayout_26.addWidget(self.TestYbox)
        self.Evaluationstandard = QtGui.QLabel(self.tab)
        self.Evaluationstandard.setMinimumSize(QtCore.QSize(0, 30))
        self.Evaluationstandard.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.Evaluationstandard.setObjectName(_fromUtf8("Evaluationstandard"))
        self.horizontalLayout_26.addWidget(self.Evaluationstandard)
        self.st = QtGui.QLabel(self.tab)
        self.st.setMinimumSize(QtCore.QSize(400, 0))
        self.st.setFrameShape(QtGui.QFrame.Box)
        self.st.setFrameShadow(QtGui.QFrame.Plain)
        self.st.setText(_fromUtf8(""))
        self.st.setObjectName(_fromUtf8("st"))
        self.horizontalLayout_26.addWidget(self.st)
        self.verticalLayout_35.addLayout(self.horizontalLayout_26)
        self.horizontalLayout_37.addLayout(self.verticalLayout_35)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_5 = QtGui.QWidget()
        self.tab_5.setObjectName(_fromUtf8("tab_5"))
        self.horizontalLayout_27 = QtGui.QHBoxLayout(self.tab_5)
        self.horizontalLayout_27.setObjectName(_fromUtf8("horizontalLayout_27"))
        self.verticalLayout_59 = QtGui.QVBoxLayout()
        self.verticalLayout_59.setObjectName(_fromUtf8("verticalLayout_59"))
        self.Infillradiobutton = QtGui.QRadioButton(self.tab_5)
        self.Infillradiobutton.setObjectName(_fromUtf8("Infillradiobutton"))
        self.verticalLayout_59.addWidget(self.Infillradiobutton)
        self.groupBox_38 = QtGui.QGroupBox(self.tab_5)
        self.groupBox_38.setEnabled(False)
        self.groupBox_38.setMinimumSize(QtCore.QSize(300, 200))
        self.groupBox_38.setTitle(_fromUtf8(""))
        self.groupBox_38.setObjectName(_fromUtf8("groupBox_38"))
        self.horizontalLayout_38 = QtGui.QHBoxLayout(self.groupBox_38)
        self.horizontalLayout_38.setObjectName(_fromUtf8("horizontalLayout_38"))
        self.horizontalLayout_34 = QtGui.QHBoxLayout()
        self.horizontalLayout_34.setObjectName(_fromUtf8("horizontalLayout_34"))
        self.verticalLayout_52 = QtGui.QVBoxLayout()
        self.verticalLayout_52.setObjectName(_fromUtf8("verticalLayout_52"))
        self.gridLayout_8 = QtGui.QGridLayout()
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
        self.label_28 = QtGui.QLabel(self.groupBox_38)
        self.label_28.setMaximumSize(QtCore.QSize(250, 16777215))
        self.label_28.setObjectName(_fromUtf8("label_28"))
        self.gridLayout_8.addWidget(self.label_28, 0, 0, 1, 1)
        self.verticalLayout_47 = QtGui.QVBoxLayout()
        self.verticalLayout_47.setObjectName(_fromUtf8("verticalLayout_47"))
        self.CYinfillbox = QtGui.QComboBox(self.groupBox_38)
        self.CYinfillbox.setObjectName(_fromUtf8("CYinfillbox"))
        self.verticalLayout_47.addWidget(self.CYinfillbox)
        self.KrigingInfillspinbox = QtGui.QSpinBox(self.groupBox_38)
        self.KrigingInfillspinbox.setMinimumSize(QtCore.QSize(0, 20))
        self.KrigingInfillspinbox.setObjectName(_fromUtf8("KrigingInfillspinbox"))
        self.verticalLayout_47.addWidget(self.KrigingInfillspinbox)
        self.kginfillcombobox = QtGui.QComboBox(self.groupBox_38)
        self.kginfillcombobox.setMinimumSize(QtCore.QSize(0, 25))
        self.kginfillcombobox.setObjectName(_fromUtf8("kginfillcombobox"))
        self.kginfillcombobox.addItem(_fromUtf8(""))
        self.kginfillcombobox.addItem(_fromUtf8(""))
        self.verticalLayout_47.addWidget(self.kginfillcombobox)
        self.gridLayout_8.addLayout(self.verticalLayout_47, 0, 1, 3, 1)
        self.label_29 = QtGui.QLabel(self.groupBox_38)
        self.label_29.setMinimumSize(QtCore.QSize(200, 0))
        self.label_29.setMaximumSize(QtCore.QSize(200, 16777215))
        self.label_29.setObjectName(_fromUtf8("label_29"))
        self.gridLayout_8.addWidget(self.label_29, 1, 0, 1, 1)
        self.label_30 = QtGui.QLabel(self.groupBox_38)
        self.label_30.setObjectName(_fromUtf8("label_30"))
        self.gridLayout_8.addWidget(self.label_30, 2, 0, 1, 1)
        self.verticalLayout_52.addLayout(self.gridLayout_8)
        self.verticalLayout_56 = QtGui.QVBoxLayout()
        self.verticalLayout_56.setObjectName(_fromUtf8("verticalLayout_56"))
        self.label_41 = QtGui.QLabel(self.groupBox_38)
        self.label_41.setFrameShape(QtGui.QFrame.Box)
        self.label_41.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_41.setObjectName(_fromUtf8("label_41"))
        self.verticalLayout_56.addWidget(self.label_41)
        self.kgInfillXtable = QtGui.QTableWidget(self.groupBox_38)
        self.kgInfillXtable.setMinimumSize(QtCore.QSize(500, 0))
        self.kgInfillXtable.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.kgInfillXtable.setObjectName(_fromUtf8("kgInfillXtable"))
        self.kgInfillXtable.setColumnCount(0)
        self.kgInfillXtable.setRowCount(0)
        self.verticalLayout_56.addWidget(self.kgInfillXtable)
        self.verticalLayout_52.addLayout(self.verticalLayout_56)
        self.horizontalLayout_34.addLayout(self.verticalLayout_52)
        self.line_24 = QtGui.QFrame(self.groupBox_38)
        self.line_24.setFrameShape(QtGui.QFrame.VLine)
        self.line_24.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_24.setObjectName(_fromUtf8("line_24"))
        self.horizontalLayout_34.addWidget(self.line_24)
        self.verticalLayout_62 = QtGui.QVBoxLayout()
        self.verticalLayout_62.setObjectName(_fromUtf8("verticalLayout_62"))
        self.label_42 = QtGui.QLabel(self.groupBox_38)
        self.label_42.setFrameShape(QtGui.QFrame.Box)
        self.label_42.setFrameShadow(QtGui.QFrame.Sunken)
        self.label_42.setObjectName(_fromUtf8("label_42"))
        self.verticalLayout_62.addWidget(self.label_42)
        self.kgInfillYtable = QtGui.QTableWidget(self.groupBox_38)
        self.kgInfillYtable.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.kgInfillYtable.setObjectName(_fromUtf8("kgInfillYtable"))
        self.kgInfillYtable.setColumnCount(0)
        self.kgInfillYtable.setRowCount(0)
        self.verticalLayout_62.addWidget(self.kgInfillYtable)
        self.Finfillbutton = QtGui.QPushButton(self.groupBox_38)
        self.Finfillbutton.setObjectName(_fromUtf8("Finfillbutton"))
        self.verticalLayout_62.addWidget(self.Finfillbutton)
        self.horizontalLayout_34.addLayout(self.verticalLayout_62)
        self.horizontalLayout_38.addLayout(self.horizontalLayout_34)
        self.verticalLayout_59.addWidget(self.groupBox_38)
        self.horizontalLayout_27.addLayout(self.verticalLayout_59)
        self.tabWidget.addTab(self.tab_5, _fromUtf8(""))
        self.verticalLayout_49.addWidget(self.tabWidget)
        self.horizontalLayout_39.addLayout(self.verticalLayout_49)
        self.horizontalLayout_41.addLayout(self.horizontalLayout_39)
        self.surrogatestackwidget.addWidget(self.page_11)
        self.page_12 = QtGui.QWidget()
        self.page_12.setObjectName(_fromUtf8("page_12"))
        self.horizontalLayout_108 = QtGui.QHBoxLayout(self.page_12)
        self.horizontalLayout_108.setObjectName(_fromUtf8("horizontalLayout_108"))
        self.horizontalLayout_107 = QtGui.QHBoxLayout()
        self.horizontalLayout_107.setObjectName(_fromUtf8("horizontalLayout_107"))
        self.verticalLayout_76 = QtGui.QVBoxLayout()
        self.verticalLayout_76.setObjectName(_fromUtf8("verticalLayout_76"))
        self.prspmgroupbox_2 = QtGui.QGroupBox(self.page_12)
        self.prspmgroupbox_2.setObjectName(_fromUtf8("prspmgroupbox_2"))
        self.horizontalLayout_106 = QtGui.QHBoxLayout(self.prspmgroupbox_2)
        self.horizontalLayout_106.setObjectName(_fromUtf8("horizontalLayout_106"))
        self.verticalLayout_64 = QtGui.QVBoxLayout()
        self.verticalLayout_64.setObjectName(_fromUtf8("verticalLayout_64"))
        self.rbfcomboBox = QtGui.QComboBox(self.prspmgroupbox_2)
        self.rbfcomboBox.setMinimumSize(QtCore.QSize(0, 25))
        self.rbfcomboBox.setObjectName(_fromUtf8("rbfcomboBox"))
        self.rbfcomboBox.addItem(_fromUtf8(""))
self.rbfcomboBox.addItem(_fromUtf8(""))
        self.verticalLayout_64.addWidget(self.rbfcomboBox)
        self.gridLayout_16 = QtGui.QGridLayout()
        self.gridLayout_16.setObjectName(_fromUtf8("gridLayout_16"))
        self.rbfNFlabel_2 = QtGui.QLabel(self.prspmgroupbox_2)
        self.rbfNFlabel_2.setEnabled(False)
        self.rbfNFlabel_2.setObjectName(_fromUtf8("rbfNFlabel_2"))
        self.gridLayout_16.addWidget(self.rbfNFlabel_2, 0, 0, 1, 1)
        self.verticalLayout_77 = QtGui.QVBoxLayout()
        self.verticalLayout_77.setObjectName(_fromUtf8("verticalLayout_77"))
        self.rbfNVspinBox = QtGui.QSpinBox(self.prspmgroupbox_2)
        self.rbfNVspinBox.setEnabled(False)
        self.rbfNVspinBox.setMinimum(1)
        self.rbfNVspinBox.setMaximum(99999)
        self.rbfNVspinBox.setObjectName(_fromUtf8("rbfNVspinBox"))
        self.verticalLayout_77.addWidget(self.rbfNVspinBox)
        self.rbfNPspinBox = QtGui.QSpinBox(self.prspmgroupbox_2)
        self.rbfNPspinBox.setEnabled(False)
        self.rbfNPspinBox.setMinimum(1)
        self.rbfNPspinBox.setMaximum(99999)
        self.rbfNPspinBox.setObjectName(_fromUtf8("rbfNPspinBox"))
        self.verticalLayout_77.addWidget(self.rbfNPspinBox)
        self.rbfobjfunspin = QtGui.QSpinBox(self.prspmgroupbox_2)
        self.rbfobjfunspin.setMinimum(1)
        self.rbfobjfunspin.setMaximum(10)
            
    def rbfalldata(self):##把每次加的点都放进trainpoints中组成新的训练点
        self.rbfinfillY = self.rbfgetinfillY()
        #self.Infilldatafun()        
        for i in range(self.rbfinfillnum):
            self.rbfmodelinfill.addPoint(self.Xrbfnewpoints[i],self.rbfinfillY[i])
    def rbfupadata(self):
        #将所加得点转到对应空间内，因为要显示到table里
        self.rbfalldata()
            #self.Krigingparameters()
        self.rbfXYnumber()
        self.rbfalldataX=self.rbfmodelinfill.X
        self.rbflistxrow,self.rbflistxcol = self.rbfalldataX.shape
        self.rbflistyrow= self.rbfalldataY.shape[0] 
    def rbfshowalldata(self):##点击fininsh把数据重新加载到train table里
        self.rbfupadata()
        self.ui.rbfXTtable.clear()
        self.ui.rbfXTtable.setColumnCount(self.rbflistxcol)
        self.ui.rbfytableWidget.setColumnCount(self.rbfnumy)##设置ytrain的表头个数
        self.ui.rbfXTtable.setHorizontalHeaderLabels(self.rbfXnumberlist[:self.rbflistxcol])
        self.ui.rbfytableWidget.setHorizontalHeaderLabels(self.rbfYnumberlist[:self.rbfnumy])
        self.ui.rbfXTtable.setRowCount(self.rbflistxrow)
        self.ui.rbfytableWidget.setRowCount(self.rbflistyrow)
        row = 0
        for t in self.rbfalldataX[:self.rbfrowl]:
            col = 0
            for item in t:
                anitem = QTableWidgetItem('%s' %item)
                self.ui.rbfXTtable.setItem(row,col,anitem)
                col = col + 1
            row = row + 1
            
        inrow = self.rbfrowl
        for t in self.rbfalldataX[self.rbfrowl:]:
            incol = 0
            for item in t:
                anitem = QTableWidgetItem('%s' %item)
                anitem.setBackgroundColor(QColor(0,60,10))
                self.ui.rbfXTtable.setItem(inrow,incol,anitem)
                incol = incol+1
            inrow =inrow+1
           
        r = 0
        for t in self.rbfalldataY[:self.rbfrowl]:               
            anitem = QTableWidgetItem('%s' %t)
            self.ui.rbfytableWidget.setItem(r,self.ui.rbfCYinfillbox.currentIndex(),anitem)
            r = r + 1
        
        irow = self.rbfrowl
        for r in self.rbfalldataY[self.rbfrowl:]:
            anitem = QTableWidgetItem('%s' %r)
            anitem.setBackgroundColor(QColor(0,60,10))
            self.ui.rbfytableWidget.setItem(irow,self.ui.rbfCYinfillbox.currentIndex(),anitem)
            irow =irow+1
        
        ##把没用家电的数据加到table
        if 0<self.ui.rbfCYinfillbox.currentIndex()< self.rbfnumy:
            inirow = 0
            for t in self.rbforiginaly[:,:self.ui.rbfCYinfillbox.currentIndex()]:
                inicol = 0
                for item in t:
                    anitem = QTableWidgetItem('%s' %item)
                    self.ui.rbfytableWidget.setItem(inirow,inicol,anitem)
                    inicol = inicol +1
                inirow = inirow +1
                
            ibackrow = 0
            for t in self.rbforiginaly[:,self.ui.rbfCYinfillbox.currentIndex()+1:]:
                ibackcol = self.ui.rbfCYinfillbox.currentIndex()+1
                for item in t:
                    anitem = QTableWidgetItem('%s' %item)
                    self.ui.rbfytableWidget.setItem(ibackrow,ibackcol,anitem)
                    ibackcol = ibackcol +1
                ibackrow = ibackrow +1
            
        elif self.ui.rbfCYinfillbox.currentIndex()==0:
            ibackrow = 0
            for t in self.rbforiginaly[:,self.ui.rbfCYinfillbox.currentIndex()+1:]:
                ibackcol = self.ui.rbfCYinfillbox.currentIndex()+1
                for item in t:
                    anitem = QTableWidgetItem('%s' %item)
                    self.ui.rbfytableWidget.setItem(ibackrow,ibackcol,anitem)
                    ibackcol = ibackcol +1
                ibackrow = ibackrow +1
        
        elif self.ui.rbfCYinfillbox.currentIndex()==self.rbfnumy: 
            ibackrow = 0
            for t in self.rbforiginaly[:,:self.ui.rbfCYinfillbox.currentIndex()]:
                ibackcol = 0
                for item in t:
                    anitem = QTableWidgetItem('%s' %item)
                    self.ui.rbfytableWidget.setItem(ibackrow,ibackcol,anitem)
                    ibackcol = ibackcol +1
                ibackrow = ibackrow +1
            ibackrow = 0
        
    
    def rbfclearinfilldata(self):
        self.ui.rbfInfillXtable.clear()
        self.ui.rbfInfillYtable.clear()
        self.ui.rbfInfillspinbox.setValue(0)
        #self.ui.comboBox_2.currentIndex() = 0

    def plot_rbfpoint(self):##当在选择那几个checkbox时要选择出对应的DOE的点的数据
        #self.kgpredictfun()
        self.rbfpointlist = self.rbfmodellist[self.ui.rbfycombobox.currentIndex()].X#,self.kgYp,self.kgtestY]
        rbfplotlist = np.asarray([[0],[0],[0]] )
rbfcheckbox_checked=p.asarray([self.ui.rbfcheck1.isChecked(),self.ui.rbfcheck2.isChecked(),self.ui.rbfcheck3.isChecked(),self.ui.rbfcheck4.isChecked(),self.ui.rbfcheck5.isChecked(),self.ui.rbfcheck6.isChecked(),self.ui.rbfcheck7.isChecked(),self.ui.rbfcheck8.isChecked(),self.ui.rbfcheck9.isChecked(),self.ui.rbfcheck10.isChecked()])#,self.ui.ypcheck.isChecked(),self.ui.ytcheck.isChecked()])
        rbfplotlist = self.rbfpointlist[:,rbfcheckbox_checked]
        #kgplotlist = self.kgmodel.X[:,kgcheckbox_checked]
        #print doeplotlist, "doeplotlist"
        return rbfplotlist
    
    def rbfplot2D(self):##在matplotlib的figure中画出所选的点
        rbf_plotdata = self.plot_rbfpoint()
        #print fulldoe_plotdata, "plot"
        self.rbfpaint_graph2D(rbf_plotdata)
        
    def rbfplot3D(self):        
        rbf_plotdata = self.plot_rbfpoint()
        #print fulldoe_plotdata, "plot"
        self.rbfpaint_graph3D(rbf_plotdata)
        
    def rbfgetchecked(self):##得到所选择的checkbox
        self.rbfgetrowcol()
        self.ui_rbfchecklist=[self.ui.rbfcheck1.isChecked(), self.ui.rbfcheck2.isChecked(), self.ui.rbfcheck3.isChecked(), self.ui.rbfcheck4.isChecked(), self.ui.rbfcheck5.isChecked(), self.ui.rbfcheck6.isChecked(), self.ui.rbfcheck7.isChecked(),self.ui.rbfcheck8.isChecked(),self.ui.rbfcheck9.isChecked(),self.ui.rbfcheck10.isChecked()]#,self.ui.ypcheck.isChecked(),self.ui.ytcheck.isChecked()]
        rbfxi = [0,1,2,3,4,5,6,7,8,9]
        self.rbfXchoose = []
        self.rbfXunChoose = []
        self.rbfmoveX = []
        for i in range(10):            
            if self.ui_rbfchecklist[i] ==True:                
                self.rbfXchoose.append(rbfxi[i])
            elif self.ui_rbfchecklist[i] == False:
                self.rbfXunChoose.append(rbfxi[i])
        for i in range(self.rbfcoll):
            if self.ui_rbfchecklist[i] == False:
                self.rbfmoveX.append(rbfxi[i])
        self.rbfmoveX = np.asarray(self.rbfmoveX)
        
        #print self.Xchoose
    def rbfaddcbbox(self):#add unchecked variables in combobox        
        ui_rbfchecklist=[self.ui.rbfcheck1.isChecked(), self.ui.rbfcheck2.isChecked(), self.ui.rbfcheck3.isChecked(), self.ui.rbfcheck4.isChecked(), self.ui.rbfcheck5.isChecked(), self.ui.rbfcheck6.isChecked(), self.ui.rbfcheck7.isChecked(),self.ui.rbfcheck8.isChecked(),self.ui.rbfcheck9.isChecked(),self.ui.rbfcheck10.isChecked()]
        self.ui.rbfmovecomboBox.clear()##更新时要清空上一步的存放
        #self.kgmovex = []
        for i in range(self.rbfcheckn):
            if ui_rbfchecklist[i] == False:
                #self.kgmovex.append(self.Xnumberlist[i])
                self.ui.rbfmovecomboBox.addItem(self.rbfXnumberlist[i])
                
    def rbfmovefactorstep(self):#the movedspinbox's step to every factor
        self.rbfgetchecked()
        rbfmovemodel = self.rbfmodellist[self.ui.rbfycombobox.currentIndex()]
        self.ui.rbfmovedspinbox.setMinimum(rbfmovemodel.normRange[self.rbfmoveX[self.ui.rbfmovecomboBox.currentIndex()]][0])
        self.ui.rbfmovedspinbox.setMaximum(rbfmovemodel.normRange[self.rbfmoveX[self.ui.rbfmovecomboBox.currentIndex()]][1])
        self.ui.rbfmovedspinbox.setValue(rbfmovemodel.normRange[self.rbfmoveX[self.ui.rbfmovecomboBox.currentIndex()]][0]) 
        for i in range(self.rbfmoveX.shape[0]):
            if self.ui.rbfmovecomboBox.currentIndex() == i:
                self.ui.rbfmovedspinbox.setSingleStep((rbfmovemodel.normRange[self.rbfmoveX[i]][1]-rbfmovemodel.normRange[self.rbfmoveX[i]][0])*0.1) 
 
    def rbfplot2Dalldata(self):
        self.rbfgetchecked()
        j = self.ui.rbfycombobox.currentIndex()
        self.rbfmodel = self.rbfmodellist[j]
        if self.rbfcoll == 2:                
            rbfplotx = np.linspace(self.rbfmodel.normRange[0][0], self.rbfmodel.normRange[0][1], num=61)
            rbfploty = np.linspace(self.rbfmodel.normRange[1][0], self.rbfmodel.normRange[1][1], num=61)
            self.Xrbfplot,self.Yrbfplot= np.meshgrid(rbfplotx,rbfploty)
            #self.prszse = np.array([self.prsmodel.predict_var([xi,yi]) for xi,yi in zip(np.ravel(Xprsplot),np.ravel(Yprsplot))]) 
            #self.ypplot = np.array([self.kgmodel.predict([xu,yu]) for xu,yu in zip(np.ravel(Xprsplot),np.ravel(Yprsplot))]) 
        
            self.rbfmeshgrid = []
            for xi,yi in zip(np.ravel(self.Xrbfplot),np.ravel(self.Yrbfplot)):
                self.rbfmeshgrid.append([xi,yi])
            self.rbfmeshgrid = np.array(self.rbfmeshgrid)            
#            self.prszse = np.array([self.prsmodel.predict_var(i) for i in self.prsmeshgrid]) 
            self.rbfypplot = self.rbfmodel.predict(self.rbfmeshgrid)
            
        else:
            moveX = self.ui.rbfmovedspinbox.value()
            self.rbfplot2Dall = np.zeros((3721,self.rbfcoll))
            self.rbfplotx = np.linspace(self.rbfmodel.normRange[self.rbfXchoose[0]][0], self.rbfmodel.normRange[self.rbfXchoose[0]][1], num=61)            
            self.rbfploty = np.linspace(self.rbfmodel.normRange[self.rbfXchoose[1]][0], self.rbfmodel.normRange[self.rbfXchoose[1]][1], num=61)
            #print self.prsplotx,self.prsplot
        
            self.Xrbfplot,self.Yrbfplot= np.meshgrid(self.rbfplotx,self.rbfploty)
            self.Xrbfploti = np.ravel(self.Xrbfplot)

            self.rbfplot2Dall[:,self.rbfXchoose[0]] = self.Xrbfploti
            self.rbfplot2Dall[:,self.rbfXchoose[1]] = self.Yrbfploti
            for i in range(self.rbfcoll):
                if self.ui_rbfchecklist[i] == False:
                    self.rbfplot2Dall[:,i] = np.tile(np.array([[0.5]]),(3721,1))[:,0]##先定义为均值若需要变化执行下列代码
                    for i in range(self.rbfmoveX.shape[0]):
                        if self.ui.rbfmovecomboBox.currentIndex() == i:
                            self.rbfplot2Dall[:,self.rbfmoveX[i]] = np.tile(np.array([[moveX]]),(3721,1))[:,0]##move data
#            self.rbfplot2Dall =self.rbfplot2Dall.tolist()
            #self.prszse = np.array([self.prsmodel.predict_var(self.prsplot2Dall[i]) for i in range(3721)]) 
            self.rbfypplot = self.rbfmodel.predict(self.rbfplot2Dall) 
        #self.Ze = self.rbfzse.reshape(self.Xrbfplot.shape)
        self.rbfYpplot = self.rbfypplot.reshape(self.Xrbfplot.shape) 
        
    def rbfpaint_graph2D(self,x):
        rbfXYlist = self.rbfaxisXshow()        
        #self.getkgchecked()
        if len(x[0]) == 2:                                  
            self.rbfplot2Dalldata()
            #x = self.prsmodel.normX(x)
            spx = x[:,0]#* (self.prsmodel.normRange[self.prsXchoose[0]][1] - self.prsmodel.normRange[self.prsXchoose[0]][0])) + self.prsmodel.normRange[self.prsXchoose[0]][0]
            spy = x[:,1]#* (self.prsmodel.normRange[self.prsXchoose[1]][1] - self.prsmodel.normRange[self.prsXchoose[1]][0])) + self.prsmodel.normRange[self.prsXchoose[1]][0]
            #Xprsplot = self.prsmodel.normX(self.Xprsplot)
            #Yprsplot = self.prsmodel.normX(self.Yprsplot)
            contour_levels = 25
            self.ui.rbfmplwidget.figure.clf()
            ax = self.ui.rbfmplwidget.figure.gca()
           
            ax.axes.clear()
            CS=x.axes.contourf(self.Xrbfplot,self.Yrbfplot,self.rbfYpplot, contour_levels,zorder=1)
            #from matplotlib.ticker import LogFormatter 
            #formatter = LogFormatter(10, labelOnlyBase=False) 
            self.ui.rbfmplwidget.figure.colorbar(CS)#,format=formatter)
            ax.plot(spx, spy,'ow')
            ax.set_title('Var')
            ax.set_xlabel(rbfXYlist[0])
            ax.set_ylabel(rbfXYlist[1])
            
            ax.figure.canvas.draw()                                 
            
    def rbfpaint_graph3D(self,x):
        self.rbfgetrowcol()
        rbfXYlist = self.rbfaxisXshow()
        #self.kgpredictfun() 
        #self.getkgchecked() 在这还需不需要加一维变量时候的绘图代码                      
        if len(x[0]) == 2:
            from matplotlib import cm
            self.rbfplot2Dalldata()
            #x = self.prsmodel.normX(x)
            #i = self.ui.prsycombobox.currentIndex()                                 
                #self.Krigingtraindata() 
            #self.tablerow = self.ui.initialdatatable.rowCount()    
            #if self.tablerow > self.kgdoedatarow: 
            self.rbfYtrain = self.rbfmodellist[self.ui.rbfycombobox.currentIndex()].y

            spx0 = x[:,0]#* (self.prsmodel.normRange[self.prsXchoose[0]][1] - self.prsmodel.normRange[self.prsXchoose[0]][0])) + self.prsmodel.normRange[self.prsXchoose[0]][0]
            spx1 = x[:,1]#* (self.prsmodel.normRange[self.prsXchoose[1]][1] - self.prsmodel.normRange[self.prsXchoose[1]][0])) + self.prsmodel.normRange[self.prsXchoose[1]][0]
            self.ui.rbfmplwidget.figure.clf()
            ax = self.ui.rbfmplwidget.figure.gca(projection='3d')
            
            ax.axes.clear()
            CC=ax.plot_surface(self.Xrbfplot,self.Yrbfplot,self.rbfYpplot,rstride=1,cstride=1,cmap=cm.jet,linewidth=0, antialiased=False)#rstride=3, cstride=3, alpha=0.4)##还得需要改变图的显示
            self.ui.rbfmplwidget.figure.colorbar(CC)
            ax.axes.scatter(spx0,spx1,self.rbfYtrain,c='g',s=40)##把训练点加入到3D图中
            #ax.axes.scatter(x[:,0], x[:,1],self.kgtestY,c= 'r',s=40)
            ax.set_xlabel(rbfXYlist[0])
            ax.set_ylabel(rbfXYlist[1])
            ax.set_zlabel('Y')
            ax.set_title('Surface fitting')
            ax.grid(False)##却掉网格
            ax.figure.canvas.draw()
                
    def rbfaxisXshow(self):##使XYZ坐标轴显示对应勾选的点
        self.ui_rbfchecklist=[self.ui.rbfcheck1.isChecked(), self.ui.rbfcheck2.isChecked(), self.ui.rbfcheck3.isChecked(), self.ui.rbfcheck4.isChecked(), self.ui.rbfcheck5.isChecked(), self.ui.rbfcheck6.isChecked(), self.ui.rbfcheck7.isChecked(),self.ui.rbfcheck8.isChecked(),self.ui.rbfcheck9.isChecked(),self.ui.rbfcheck10.isChecked()]#,self.ui.ypcheck.isChecked(),self.ui.ytcheck.isChecked()]
        self.rbfaxislist = ['X1','X2','X3','X4','X5','X6','X7','X8','X9','X10']#,'Yp','Yt']
        self.rbflist = []
        for i in range(10):
            if self.ui_rbfchecklist[i] ==True:
                self.rbflisti = self.rbfaxislist[i]
                self.rbflist.append(self.rbflisti)
        return self.rbflist
        
    def ui_rbfupcheckbox(self):##根据位数确定checkbox所应该现实的个数
        self.rbfgetrowcol()
        self.rbfcheckboxlist = [self.ui.rbfcheck1, self.ui.rbfcheck2, self.ui.rbfcheck3, self.ui.rbfcheck4, self.ui.rbfcheck5, self.ui.rbfcheck6, self.ui.rbfcheck7,self.ui.rbfcheck8,self.ui.rbfcheck9,self.ui.rbfcheck10]
        for i in range(self.rbfcoll):
            self.rbfcheckboxlist[i].setVisible(True)
        for i in range(10):
            if i >=self.rbfcoll:
                self.rbfcheckboxlist[i].setVisible(False)

    def rbfupdate_checkbox(self):##勾选点的更新
        self.rbfgetrowcol()
        #self.kgcheckboxlist = [self.ui.krigingcheck1, self.ui.krigingcheck2, self.ui.krigingcheck3, self.ui.krigingcheck4, self.ui.krigingcheck5, self.ui.krigingcheck6, self.ui.krigingcheck7,self.ui.krigingcheck8,self.ui.krigingcheck9,self.ui.krigingcheck10]
        self.rbfcheckbox_checked = np.asarray([self.ui.rbfcheck1.isChecked(), self.ui.rbfcheck2.isChecked(), self.ui.rbfcheck3.isChecked(), self.ui.rbfcheck4.isChecked(), self.ui.rbfcheck5.isChecked(), self.ui.rbfcheck6.isChecked(), self.ui.rbfcheck7.isChecked(),self.ui.rbfcheck8.isChecked(),self.ui.rbfcheck9.isChecked(),self.ui.rbfcheck10.isChecked()])
        for i in range(self.rbfcoll):                                                                                    
            #if self.checkbox_checked[i] == True:
            self.rbfcheckboxlist[i].setVisible(True)
        if sum(self.rbfcheckbox_checked)>= 2:
            for i in range(10):
                if self.rbfcheckbox_checked[i] == False:##布尔类型
                    self.rbfcheckboxlist[i].setVisible(False)
                    self.rbfcheckboxlist[i].setCheckState(False)
        self.rbfaddcbbox()
        #self.prsmovefactorstep()
        return self.rbfcheckbox_checked
        
        self.sizelabel = QLabel()
        status = self.statusBar()##状态bar
        status.setSizeGripEnabled(False)
        status.addPermanentWidget(self.sizelabel)
        status.showMessage('Ready',5000)
###优化
    def optgettol(self):
        if self.ui.Solvercombobox.currentIndex() == 0:
            if self.ui.MIUdradioButton.isChecked():
                self.sqpiter = 100                
            elif self.ui.MISradioButton.isChecked(): 
                self.sqpiter = int(self.ui.MIlineEdit.text())                
            if self.ui.FTUdradioButton.isChecked():
                self.sqpfuntol = 1.0E-6
            elif self.ui.FTSradioButton.isChecked():
                self.sqpfuntol = float(self.ui.MIlineEdit.text())    
            if self.ui.VSUdradioButton.isChecked():
                self.sqpvs = 1 
            elif self.ui.VSSradioButton.isChecked():
                self.sqpfuntol = int(self.ui.MIlineEdit.text())
    
    def opttype(self):
        opttypes = ['SLSQP']
        surrogatemodels = [self.kgmodellist,self.rbfmodellist,self.prsmodellist]        
        #k = len(self.objnumlist)
        self.modeltypes = surrogatemodels[self.ui.Solvercombobox.currentIndex()]
        types = opttypes[self.ui.SGMcomboBox.currentIndex()]
    
    def optstartpoints(self):
        self.optlineedits = [self.ui.proline1,self.ui.proline2,self.ui.proline3,self.ui.proline4,self.ui.proline5,self.ui.proline6,self.ui.proline7,self.ui.proline8,self.ui.proline9,self.ui.proline10]
        #self.clearoptlineedit()
        #self.optcolconters = 2#[self.kgcoll,self.rbfcoll,self.prscoll]
        self.optchildcol = self.optcolconter[self.ui.Solvercombobox.currentIndex()]#得到初始点的变量维数
        self.optstartpoint = []#np.zeros(self.optchildcol)
        for i in range(self.optchildcol):
            #if self.ui.optlineedits[i].text().isEmpty():
            optstartpi= float(self.optlineedits[i].text())
            #self.optstartpoint[i] = optstartpi
            self.optstartpoint.append(optstartpi)
        return self.optstartpoint
    
    def clearoptlineedit(self):
        self.optchildcol = 2
        optlineedit = [self.ui.proline1,self.ui.proline2,self.ui.proline3,self.ui.proline4,self.ui.proline5,self.ui.proline6,self.ui.proline7,self.ui.proline8,self.ui.proline9,self.ui.proline10]       
        optlowedit = [self.ui.optlowlineedit1,self.ui.optlowlineedit2,self.ui.optlowlineedit3,self.ui.optlowlineedit4,self.ui.optlowlineedit5,self.ui.optlowlineedit6,self.ui.optlowlineedit7,self.ui.optlowlineedit8,self.ui.optlowlineedit9,self.ui.optlowlineedit10]
        optupperedit = [self.ui.optupperlineedit1,self.ui.optupperlineedit2,self.ui.optupperlineedit3,self.ui.optupperlineedit4,self.ui.optupperlineedit5,self.ui.optupperlineedit6,self.ui.optupperlineedit7,self.ui.optupperlineedit8,self.ui.optupperlineedit9,self.ui.optupperlineedit10]
        for i in range(self.optchildcol):
            optlineedit[i].setVisible(True)
            optlowedit[i].setVisible(True)
            optupperedit[i].setVisible(True)
            #self.lowerlist[i].setVisible(True)
        for i in range(10):
            if i >=self.optchildcol:
                optlineedit[i].setVisible(False)
                optlowedit[i].setVisible(False)
                optupperedit[i].setVisible(False)
                optlowedit[i].setText(' ')
                optlineedit[i].setText(' ')
                optupperedit[i].setText(' ')
            
    def optgety(self):
        self.optgettol()
        self.opttype()
        optstartx0 = self.optstartpoints()##初始点列表
        optyconters = ['y1','y2','y3','y4','y5','y6','y7','y8','y9','y10']
        objnumlist = str(self.ui.problineedit.text())
        self.objnumlist = objnumlist.strip(',')
        self.objnumlist = self.objnumlist.split(',')
        self.resultsconter = {}##存储结果的字典
        for objnum in self.objnumlist:
            if objnum in optconter:
                self.resultsconter[objnum] =  minimize(self.modeltypes[optyconters.index(objnum)].predict,optstartx0,method='SLSQP', bounds = bnds)
    
   # def optconstrains(self):
        
    #def showoptresult(self):
#####tool bar and menu bar
    def allinti(self):
        self.sizelabel = QLabel()
        status = self.statusBar()##状态bar
        status.setSizeGripEnabled(False)
        status.addPermanentWidget(self.sizelabel)
        status.showMessage('Ready',5000)
        
        fileNewAction = self.createAction("&New...", self.fileNew,QKeySequence.New, "filenew","Create a movie data file")
        fileOpenAction = self.createAction('&Open...',self.fileOpen,
                                             QKeySequence.Open,'fileopen',
                                             'Open anexisting image file')
        
        fileSaveAction = self.createAction("&Save", self.fileSave,
                QKeySequence.Save, "filesave", "Save the movie data")
        fileQuitAction = self.createAction("&Quit", self.close,
                "Ctrl+Q", "filequit", "Close the application")
                
        editAddAction = self.createAction("&Add...", self.editAdd,
                "Ctrl+A", "editadd", "Add data about a movie")
        editEditAction = self.createAction("&Edit...", self.editEdit,
                "Ctrl+E", "editedit", "Edit the current movie's data")        
        filenewAction = self.createAction('&New..',self.filenew,QKeySequence.New,'filenew','creat new file')
        fileMenu = self.menuBar().addMenu("&File")
        editMenu = self.menuBar().addMenu('Edit')
        self.addActions(fileMenu,(fileOpenAction,filenewAction))
        self.addActions(editMenu,(editAddAction,editEditAction))
        fileToolbar = self.addToolBar("File")
        fileToolbar.setObjectName("FileToolBar")
        self.addActions(fileToolbar, (fileNewAction, fileOpenAction,
                                      fileSaveAction))
        editToolbar = self.addToolBar("Edit")
        editToolbar.setObjectName("EditToolBar")
        self.addActions(editToolbar, (editAddAction, editEditAction))

        
    def createAction(self,text,slot = None,shortcut=None,icon=None,tip=None,checkable=False,signal = 'triggered()'):
        action = QAction(text,self)
        if icon is not None:
            action.setIcon(QIcon(':/%s.png'%icon))
        if shortcut is not None:
            action.setShortcut(shortcut)
        if tip is not None:
            action.setToolTip(tip)
            action.setStatusTip(tip)
        if slot is not None:
            self.connect(action,SIGNAL(signal),slot)
        if checkable:
            action.setCheckable(True)
        return action

    def fileOpen(self):
     
        self.filename = QFileDialog.getOpenFileName(self,"open file dialog","C:\Users\Admin\Desktop","My Movies data files (%s)" % self.formats())
        if not self.filename.isEmpty():
            print 'yes,I got it'

    def filenew(self):
            print 'get noew file'
                                      
    @staticmethod
    def formats():
        #or formats(self)
        return "*.txt *.py *.mqt *.mpt"

    def addActions(self, target, actions):
        for action in actions:
            if action is None:
                target.addSeparator()
            else:
                target.addAction(action)
    
    def closeEvent(self, event):
        if self.okToContinue():
            settings = QSettings()
            filename = QVariant(QString(self.filename)) \
                    if self.filename is not None else QVariant()
            settings.setValue("LastFile", filename)
            recentFiles = QVariant(self.recentFiles) \
                    if self.recentFiles else QVariant()
            settings.setValue("RecentFiles", recentFiles)
            settings.setValue("MainWindow/Size", QVariant(self.size()))
            settings.setValue("MainWindow/Position",
                    QVariant(self.pos()))
            settings.setValue("MainWindow/State",
                    QVariant(self.saveState()))
        else:
            event.ignore()
    def fileSaveAs(self):
        if self.image.isNull():
            return
        fname = self.filename if self.filename is not None else "."
        formats = ["*.%s" % unicode(format).lower() \
                   for format in QImageWriter.supportedImageFormats()]
        fname = unicode(QFileDialog.getSaveFileName(self,
                        "Image Changer - Save Image", fname,
                        "Image files (%s)" % " ".join(formats)))
        if fname:
            if "." not in fname:
                fname += ".png"
            self.addRecentFile(fname)
            self.filename = fname
            self.fileSave()
    def fileNew(self):
            print 'get noew file'        
    def editAdd(self):
        print 'add file'
        
    def editEdit(self):
        print 'edit file'
def okToContinue(self):
        if self.dirty:
            reply = QMessageBox.question(self,
                            "Image Changer - Unsaved Changes",
                            "Save unsaved changes?",
                            QMessageBox.Yes|QMessageBox.No|
                            QMessageBox.Cancel)
            if reply == QMessageBox.Cancel:
                return False
            elif reply == QMessageBox.Yes:
                self.fileSave()
        return True
        
    def fileSave(self):
        if self.image.isNull():
            return
        if self.filename is None:
            self.fileSaveAs()
        else:
            if self.image.save(self.filename, None):
                self.updateStatus("Saved as %s" % self.filename)
                self.dirty = False
            else:
                self.updateStatus("Failed to save %s" % self.filename)
if __name__ == "__main__":
    app = QtGui.QApplication(sys.argv)
    app.setOrganizationName("Qtrac Ltd.")#为了加载和保存应用程序设置
    app.setOrganizationDomain("qtrac.eu")##为了加载和保存应用程序设置
    myapp = MyForm()
    myapp.show()
    sys.exit(app.exec_())

