Esempio n. 1
0
 def right_panel(self,main):
     frame = QtGui.QWidget(self)
     vb = QtGui.QVBoxLayout()
     a = QtGui.QLabel()
     a.setText('DATA')
     vb.addWidget(a,alignment = QtCore.Qt.AlignCenter)
     self.data = QtGui.QTableWidget()
     self.data.setSizePolicy(QtGui.QSizePolicy.Preferred,QtGui.QSizePolicy.MinimumExpanding)
     vb.addWidget(self.data)
     b = QtGui.QLabel()
     b.setText('PLOT')
     vb.addWidget(b,alignment = QtCore.Qt.AlignCenter)
     self.widget = matplotlibWidget()
     vb.addWidget(self.widget)
     main.addLayout(vb)
Esempio n. 2
0
    def setupUi(self, bunchInterface):
        bunchInterface.setObjectName(_fromUtf8("bunchInterface"))
        bunchInterface.resize(1260, 761)
        self.formLayoutWidget = QtGui.QWidget(bunchInterface)
        self.formLayoutWidget.setGeometry(QtCore.QRect(10, 120, 231, 85))
        self.formLayoutWidget.setObjectName(_fromUtf8("formLayoutWidget"))
        self.formLayout = QtGui.QFormLayout(self.formLayoutWidget)
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setMargin(0)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.numPtclsLabel = QtGui.QLabel(self.formLayoutWidget)
        self.numPtclsLabel.setObjectName(_fromUtf8("numPtclsLabel"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.numPtclsLabel)
        self.numPtcls = QtGui.QLineEdit(self.formLayoutWidget)
        self.numPtcls.setObjectName(_fromUtf8("numPtcls"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.numPtcls)
        self.designMomentumLabel = QtGui.QLabel(self.formLayoutWidget)
        self.designMomentumLabel.setObjectName(_fromUtf8("designMomentumLabel"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.designMomentumLabel)
        self.designMomentum = QtGui.QLineEdit(self.formLayoutWidget)
        self.designMomentum.setObjectName(_fromUtf8("designMomentum"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.designMomentum)
        self.charge = QtGui.QLabel(self.formLayoutWidget)
        self.charge.setObjectName(_fromUtf8("charge"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.charge)
        self.totalCharge = QtGui.QLineEdit(self.formLayoutWidget)
        self.totalCharge.setObjectName(_fromUtf8("totalCharge"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.totalCharge)
        self.twissTable = QtGui.QTableWidget(bunchInterface)
        self.twissTable.setGeometry(QtCore.QRect(10, 250, 341, 91))
        self.twissTable.setObjectName(_fromUtf8("twissTable"))
        self.twissTable.setColumnCount(3)
        self.twissTable.setRowCount(2)
        item = QtGui.QTableWidgetItem()
        self.twissTable.setVerticalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.twissTable.setVerticalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.twissTable.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.twissTable.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.twissTable.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.twissTable.setItem(0, 0, item)
        self.perpTwissLabel = QtGui.QLabel(bunchInterface)
        self.perpTwissLabel.setGeometry(QtCore.QRect(10, 230, 221, 20))
        self.perpTwissLabel.setObjectName(_fromUtf8("perpTwissLabel"))
        self.highLevelInputsLabel = QtGui.QLabel(bunchInterface)
        self.highLevelInputsLabel.setGeometry(QtCore.QRect(10, 100, 131, 16))
        self.highLevelInputsLabel.setObjectName(_fromUtf8("highLevelInputsLabel"))
        self.offsetLabel = QtGui.QLabel(bunchInterface)
        self.offsetLabel.setGeometry(QtCore.QRect(10, 480, 101, 20))
        self.offsetLabel.setObjectName(_fromUtf8("offsetLabel"))
        self.offsetTable = QtGui.QTableWidget(bunchInterface)
        self.offsetTable.setGeometry(QtCore.QRect(10, 500, 241, 121))
        self.offsetTable.setObjectName(_fromUtf8("offsetTable"))
        self.offsetTable.setColumnCount(2)
        self.offsetTable.setRowCount(3)
        item = QtGui.QTableWidgetItem()
        self.offsetTable.setVerticalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.offsetTable.setVerticalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.offsetTable.setVerticalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.offsetTable.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.offsetTable.setHorizontalHeaderItem(1, item)
        self.distribType = QtGui.QToolButton(bunchInterface)
        self.distribType.setGeometry(QtCore.QRect(10, 10, 111, 23))
        self.distribType.setObjectName(_fromUtf8("distribType"))
        self.ypyPlot = matplotlibWidget(bunchInterface)
        self.ypyPlot.setGeometry(QtCore.QRect(830, 10, 411, 361))
        self.ypyPlot.setObjectName(_fromUtf8("ypyPlot"))
        self.xyPlot = matplotlibWidget(bunchInterface)
        self.xyPlot.setGeometry(QtCore.QRect(390, 380, 421, 361))
        self.xyPlot.setObjectName(_fromUtf8("xyPlot"))
        self.tpzPlot = matplotlibWidget(bunchInterface)
        self.tpzPlot.setGeometry(QtCore.QRect(830, 380, 411, 361))
        self.tpzPlot.setObjectName(_fromUtf8("tpzPlot"))
        self.xpxPlot = matplotlibWidget(bunchInterface)
        self.xpxPlot.setGeometry(QtCore.QRect(390, 10, 421, 361))
        self.xpxPlot.setObjectName(_fromUtf8("xpxPlot"))
        self.unitsLabel = QtGui.QLabel(bunchInterface)
        self.unitsLabel.setGeometry(QtCore.QRect(280, 100, 81, 16))
        self.unitsLabel.setObjectName(_fromUtf8("unitsLabel"))
        self.formLayoutWidget_2 = QtGui.QWidget(bunchInterface)
        self.formLayoutWidget_2.setGeometry(QtCore.QRect(260, 120, 101, 74))
        self.formLayoutWidget_2.setObjectName(_fromUtf8("formLayoutWidget_2"))
        self.gridLayout = QtGui.QGridLayout(self.formLayoutWidget_2)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.unitsPosLabel = QtGui.QLabel(self.formLayoutWidget_2)
        self.unitsPosLabel.setObjectName(_fromUtf8("unitsPosLabel"))
        self.gridLayout.addWidget(self.unitsPosLabel, 0, 0, 1, 1)
        self.unitsPos = QtGui.QLineEdit(self.formLayoutWidget_2)
        self.unitsPos.setObjectName(_fromUtf8("unitsPos"))
        self.gridLayout.addWidget(self.unitsPos, 0, 1, 1, 1)
        self.unitsAngleLabel = QtGui.QLabel(self.formLayoutWidget_2)
        self.unitsAngleLabel.setObjectName(_fromUtf8("unitsAngleLabel"))
        self.gridLayout.addWidget(self.unitsAngleLabel, 1, 0, 1, 1)
        self.unitsAngle = QtGui.QLineEdit(self.formLayoutWidget_2)
        self.unitsAngle.setDragEnabled(True)
        self.unitsAngle.setObjectName(_fromUtf8("unitsAngle"))
        self.gridLayout.addWidget(self.unitsAngle, 1, 1, 1, 1)
        self.ticksLabel = QtGui.QLabel(self.formLayoutWidget_2)
        self.ticksLabel.setObjectName(_fromUtf8("ticksLabel"))
        self.gridLayout.addWidget(self.ticksLabel, 2, 0, 1, 1)
        self.numTicks = QtGui.QLineEdit(self.formLayoutWidget_2)
        self.numTicks.setObjectName(_fromUtf8("numTicks"))
        self.gridLayout.addWidget(self.numTicks, 2, 1, 1, 1)
        self.longTwissLabel = QtGui.QLabel(bunchInterface)
        self.longTwissLabel.setGeometry(QtCore.QRect(10, 370, 191, 20))
        self.longTwissLabel.setObjectName(_fromUtf8("longTwissLabel"))
        self.twissTableZ = QtGui.QTableWidget(bunchInterface)
        self.twissTableZ.setGeometry(QtCore.QRect(10, 390, 341, 61))
        self.twissTableZ.setObjectName(_fromUtf8("twissTableZ"))
        self.twissTableZ.setColumnCount(3)
        self.twissTableZ.setRowCount(1)
        item = QtGui.QTableWidgetItem()
        self.twissTableZ.setVerticalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.twissTableZ.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.twissTableZ.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.twissTableZ.setHorizontalHeaderItem(2, item)
        self.plotType = QtGui.QToolButton(bunchInterface)
        self.plotType.setGeometry(QtCore.QRect(280, 10, 71, 21))
        self.plotType.setObjectName(_fromUtf8("plotType"))
        self.longTwissSpec = QtGui.QToolButton(bunchInterface)
        self.longTwissSpec.setGeometry(QtCore.QRect(290, 360, 51, 20))
        self.longTwissSpec.setObjectName(_fromUtf8("longTwissSpec"))
        self.perpTwissSpec = QtGui.QToolButton(bunchInterface)
        self.perpTwissSpec.setGeometry(QtCore.QRect(290, 220, 51, 20))
        self.perpTwissSpec.setObjectName(_fromUtf8("perpTwissSpec"))
        self.axisType = QtGui.QToolButton(bunchInterface)
        self.axisType.setGeometry(QtCore.QRect(280, 40, 71, 21))
        self.axisType.setObjectName(_fromUtf8("axisType"))
        self.aspectRatio = QtGui.QToolButton(bunchInterface)
        self.aspectRatio.setGeometry(QtCore.QRect(320, 70, 31, 21))
        self.aspectRatio.setPopupMode(QtGui.QToolButton.InstantPopup)
        self.aspectRatio.setObjectName(_fromUtf8("aspectRatio"))
        self.noTitles = QtGui.QToolButton(bunchInterface)
        self.noTitles.setGeometry(QtCore.QRect(280, 70, 31, 21))
        self.noTitles.setPopupMode(QtGui.QToolButton.InstantPopup)
        self.noTitles.setObjectName(_fromUtf8("noTitles"))

        self.retranslateUi(bunchInterface)
        QtCore.QMetaObject.connectSlotsByName(bunchInterface)
        bunchInterface.setTabOrder(self.numPtcls, self.designMomentum)
        bunchInterface.setTabOrder(self.designMomentum, self.distribType)
        bunchInterface.setTabOrder(self.distribType, self.unitsPos)
        bunchInterface.setTabOrder(self.unitsPos, self.unitsAngle)
        bunchInterface.setTabOrder(self.unitsAngle, self.twissTable)
        bunchInterface.setTabOrder(self.twissTable, self.twissTableZ)
        bunchInterface.setTabOrder(self.twissTableZ, self.offsetTable)
Esempio n. 3
0
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(983, 692)
        self.files = QtGui.QListWidget(Form)
        self.files.setGeometry(QtCore.QRect(20, 30, 201, 251))
        self.files.setObjectName(_fromUtf8("files"))
        self.label = QtGui.QLabel(Form)
        self.label.setGeometry(QtCore.QRect(80, 10, 91, 16))
        self.label.setObjectName(_fromUtf8("label"))
        self.data = QtGui.QTableWidget(Form)
        self.data.setGeometry(QtCore.QRect(240, 30, 511, 251))
        self.data.setObjectName(_fromUtf8("data"))
        self.data.setColumnCount(0)
        self.data.setRowCount(3)
        item = QtGui.QTableWidgetItem()
        self.data.setVerticalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.data.setVerticalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.data.setVerticalHeaderItem(2, item)
        self.legend = QtGui.QTextBrowser(Form)
        self.legend.setGeometry(QtCore.QRect(770, 30, 191, 251))
        self.legend.setObjectName(_fromUtf8("legend"))
        self.label_2 = QtGui.QLabel(Form)
        self.label_2.setGeometry(QtCore.QRect(840, 10, 56, 13))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.label_3 = QtGui.QLabel(Form)
        self.label_3.setGeometry(QtCore.QRect(470, 10, 56, 13))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.widget = matplotlibWidget(Form)
        self.widget.setGeometry(QtCore.QRect(241, 300, 721, 391))
        self.widget.setObjectName(_fromUtf8("widget"))
        self.label_4 = QtGui.QLabel(Form)
        self.label_4.setGeometry(QtCore.QRect(590, 290, 56, 13))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.label_5 = QtGui.QLabel(Form)
        self.label_5.setGeometry(QtCore.QRect(50, 290, 141, 16))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.selectplot = QtGui.QComboBox(Form)
        self.selectplot.setGeometry(QtCore.QRect(20, 320, 201, 26))
        self.selectplot.setObjectName(_fromUtf8("selectplot"))
        self.line = QtGui.QFrame(Form)
        self.line.setGeometry(QtCore.QRect(30, 360, 191, 16))
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.label_6 = QtGui.QLabel(Form)
        self.label_6.setGeometry(QtCore.QRect(40, 370, 151, 31))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.formLayoutWidget = QtGui.QWidget(Form)
        self.formLayoutWidget.setGeometry(QtCore.QRect(20, 410, 201, 61))
        self.formLayoutWidget.setObjectName(_fromUtf8("formLayoutWidget"))
        self.formLayout = QtGui.QFormLayout(self.formLayoutWidget)
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setMargin(0)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_7 = QtGui.QLabel(self.formLayoutWidget)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_7)
        self.xaxis = QtGui.QComboBox(self.formLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.xaxis.sizePolicy().hasHeightForWidth())
        self.xaxis.setSizePolicy(sizePolicy)
        self.xaxis.setObjectName(_fromUtf8("xaxis"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.xaxis)
        self.label_8 = QtGui.QLabel(self.formLayoutWidget)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_8)
        self.yaxis = QtGui.QComboBox(self.formLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.yaxis.sizePolicy().hasHeightForWidth())
        self.yaxis.setSizePolicy(sizePolicy)
        self.yaxis.setObjectName(_fromUtf8("yaxis"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.yaxis)
        self.pushButton = QtGui.QPushButton(Form)
        self.pushButton.setGeometry(QtCore.QRect(60, 521, 101, 71))
        self.pushButton.setObjectName(_fromUtf8("pushButton"))

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
Esempio n. 4
0
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(1186, 550)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.ymin = QtGui.QLineEdit(Form)
        self.ymin.setObjectName(_fromUtf8("ymin"))
        self.gridLayout_2.addWidget(self.ymin, 3, 2, 1, 1)
        self.label_41 = QtGui.QLabel(Form)
        self.label_41.setObjectName(_fromUtf8("label_41"))
        self.gridLayout_2.addWidget(self.label_41, 3, 0, 1, 1)
        self.label_42 = QtGui.QLabel(Form)
        self.label_42.setObjectName(_fromUtf8("label_42"))
        self.gridLayout_2.addWidget(self.label_42, 4, 0, 1, 1)
        self.z = QtGui.QComboBox(Form)
        self.z.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContentsOnFirstShow)
        self.z.setObjectName(_fromUtf8("z"))
        self.gridLayout_2.addWidget(self.z, 4, 1, 1, 1)
        self.ymax = QtGui.QLineEdit(Form)
        self.ymax.setObjectName(_fromUtf8("ymax"))
        self.gridLayout_2.addWidget(self.ymax, 3, 3, 1, 1)
        self.y = QtGui.QComboBox(Form)
        self.y.setObjectName(_fromUtf8("y"))
        self.gridLayout_2.addWidget(self.y, 3, 1, 1, 1)
        self.xmax = QtGui.QLineEdit(Form)
        self.xmax.setObjectName(_fromUtf8("xmax"))
        self.gridLayout_2.addWidget(self.xmax, 1, 3, 1, 1)
        self.label_40 = QtGui.QLabel(Form)
        self.label_40.setObjectName(_fromUtf8("label_40"))
        self.gridLayout_2.addWidget(self.label_40, 1, 0, 1, 1)
        self.x = QtGui.QComboBox(Form)
        self.x.setObjectName(_fromUtf8("x"))
        self.gridLayout_2.addWidget(self.x, 1, 1, 1, 1)
        self.xmin = QtGui.QLineEdit(Form)
        self.xmin.setObjectName(_fromUtf8("xmin"))
        self.gridLayout_2.addWidget(self.xmin, 1, 2, 1, 1)
        self.label_43 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_43.sizePolicy().hasHeightForWidth())
        self.label_43.setSizePolicy(sizePolicy)
        self.label_43.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignHCenter)
        self.label_43.setObjectName(_fromUtf8("label_43"))
        self.gridLayout_2.addWidget(self.label_43, 0, 2, 1, 1)
        self.label_44 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_44.sizePolicy().hasHeightForWidth())
        self.label_44.setSizePolicy(sizePolicy)
        self.label_44.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignHCenter)
        self.label_44.setObjectName(_fromUtf8("label_44"))
        self.gridLayout_2.addWidget(self.label_44, 0, 3, 1, 1)
        self.plotButton = QtGui.QPushButton(Form)
        self.plotButton.setObjectName(_fromUtf8("plotButton"))
        self.gridLayout_2.addWidget(self.plotButton, 5, 1, 1, 3)
        self.gridLayout.addLayout(self.gridLayout_2, 2, 6, 1, 1)
        self.line_4 = QtGui.QFrame(Form)
        self.line_4.setFrameShape(QtGui.QFrame.VLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName(_fromUtf8("line_4"))
        self.gridLayout.addWidget(self.line_4, 1, 5, 2, 1)
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setVerticalSpacing(0)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_45 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_45.sizePolicy().hasHeightForWidth())
        self.label_45.setSizePolicy(sizePolicy)
        self.label_45.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignHCenter)
        self.label_45.setObjectName(_fromUtf8("label_45"))
        self.gridLayout_4.addWidget(self.label_45, 0, 1, 1, 4)
        self.solverResult = QtGui.QLineEdit(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.solverResult.sizePolicy().hasHeightForWidth())
        self.solverResult.setSizePolicy(sizePolicy)
        self.solverResult.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.solverResult.setText(_fromUtf8(""))
        self.solverResult.setReadOnly(True)
        self.solverResult.setObjectName(_fromUtf8("solverResult"))
        self.gridLayout_4.addWidget(self.solverResult, 3, 2, 1, 3)
        self.label_48 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_48.sizePolicy().hasHeightForWidth())
        self.label_48.setSizePolicy(sizePolicy)
        self.label_48.setObjectName(_fromUtf8("label_48"))
        self.gridLayout_4.addWidget(self.label_48, 2, 1, 1, 1)
        self.target = QtGui.QComboBox(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.target.sizePolicy().hasHeightForWidth())
        self.target.setSizePolicy(sizePolicy)
        self.target.setObjectName(_fromUtf8("target"))
        self.gridLayout_4.addWidget(self.target, 1, 2, 1, 1)
        self.label_47 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_47.sizePolicy().hasHeightForWidth())
        self.label_47.setSizePolicy(sizePolicy)
        self.label_47.setObjectName(_fromUtf8("label_47"))
        self.gridLayout_4.addWidget(self.label_47, 1, 3, 1, 1)
        self.lineEdit = QtGui.QLineEdit(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit.sizePolicy().hasHeightForWidth())
        self.lineEdit.setSizePolicy(sizePolicy)
        self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
        self.gridLayout_4.addWidget(self.lineEdit, 1, 4, 1, 1)
        self.solve = QtGui.QPushButton(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.solve.sizePolicy().hasHeightForWidth())
        self.solve.setSizePolicy(sizePolicy)
        self.solve.setObjectName(_fromUtf8("solve"))
        self.gridLayout_4.addWidget(self.solve, 3, 1, 1, 1)
        self.label_46 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_46.sizePolicy().hasHeightForWidth())
        self.label_46.setSizePolicy(sizePolicy)
        self.label_46.setObjectName(_fromUtf8("label_46"))
        self.gridLayout_4.addWidget(self.label_46, 1, 1, 1, 1)
        self.vary = QtGui.QComboBox(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.vary.sizePolicy().hasHeightForWidth())
        self.vary.setSizePolicy(sizePolicy)
        self.vary.setObjectName(_fromUtf8("vary"))
        self.gridLayout_4.addWidget(self.vary, 2, 2, 1, 1)
        self.gridLayout.addLayout(self.gridLayout_4, 2, 0, 1, 3)
        self.formLayout_6 = QtGui.QFormLayout()
        self.formLayout_6.setObjectName(_fromUtf8("formLayout_6"))
        self.label_27 = QtGui.QLabel(Form)
        self.label_27.setObjectName(_fromUtf8("label_27"))
        self.formLayout_6.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_27)
        self.raleigh = QtGui.QLineEdit(Form)
        self.raleigh.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.raleigh.setReadOnly(True)
        self.raleigh.setObjectName(_fromUtf8("raleigh"))
        self.formLayout_6.setWidget(1, QtGui.QFormLayout.FieldRole, self.raleigh)
        self.label_28 = QtGui.QLabel(Form)
        self.label_28.setObjectName(_fromUtf8("label_28"))
        self.formLayout_6.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_28)
        self.photonemit = QtGui.QLineEdit(Form)
        self.photonemit.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.photonemit.setReadOnly(True)
        self.photonemit.setObjectName(_fromUtf8("photonemit"))
        self.formLayout_6.setWidget(2, QtGui.QFormLayout.FieldRole, self.photonemit)
        self.label_29 = QtGui.QLabel(Form)
        self.label_29.setObjectName(_fromUtf8("label_29"))
        self.formLayout_6.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_29)
        self.fel_1d = QtGui.QLineEdit(Form)
        self.fel_1d.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.fel_1d.setReadOnly(True)
        self.fel_1d.setObjectName(_fromUtf8("fel_1d"))
        self.formLayout_6.setWidget(3, QtGui.QFormLayout.FieldRole, self.fel_1d)
        self.label_30 = QtGui.QLabel(Form)
        self.label_30.setObjectName(_fromUtf8("label_30"))
        self.formLayout_6.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_30)
        self.gain_1d = QtGui.QLineEdit(Form)
        self.gain_1d.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.gain_1d.setReadOnly(True)
        self.gain_1d.setObjectName(_fromUtf8("gain_1d"))
        self.formLayout_6.setWidget(4, QtGui.QFormLayout.FieldRole, self.gain_1d)
        self.label_31 = QtGui.QLabel(Form)
        self.label_31.setObjectName(_fromUtf8("label_31"))
        self.formLayout_6.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_31)
        self.dfactor = QtGui.QLineEdit(Form)
        self.dfactor.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.dfactor.setReadOnly(True)
        self.dfactor.setObjectName(_fromUtf8("dfactor"))
        self.formLayout_6.setWidget(5, QtGui.QFormLayout.FieldRole, self.dfactor)
        self.label_32 = QtGui.QLabel(Form)
        self.label_32.setObjectName(_fromUtf8("label_32"))
        self.formLayout_6.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_32)
        self.efactor = QtGui.QLineEdit(Form)
        self.efactor.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.efactor.setReadOnly(True)
        self.efactor.setObjectName(_fromUtf8("efactor"))
        self.formLayout_6.setWidget(6, QtGui.QFormLayout.FieldRole, self.efactor)
        self.label_33 = QtGui.QLabel(Form)
        self.label_33.setObjectName(_fromUtf8("label_33"))
        self.formLayout_6.setWidget(7, QtGui.QFormLayout.LabelRole, self.label_33)
        self.espreadfactor = QtGui.QLineEdit(Form)
        self.espreadfactor.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.espreadfactor.setReadOnly(True)
        self.espreadfactor.setObjectName(_fromUtf8("espreadfactor"))
        self.formLayout_6.setWidget(7, QtGui.QFormLayout.FieldRole, self.espreadfactor)
        self.label_37 = QtGui.QLabel(Form)
        self.label_37.setObjectName(_fromUtf8("label_37"))
        self.formLayout_6.setWidget(8, QtGui.QFormLayout.LabelRole, self.label_37)
        self.sasepower = QtGui.QLineEdit(Form)
        self.sasepower.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.sasepower.setReadOnly(True)
        self.sasepower.setObjectName(_fromUtf8("sasepower"))
        self.formLayout_6.setWidget(8, QtGui.QFormLayout.FieldRole, self.sasepower)
        self.label_38 = QtGui.QLabel(Form)
        self.label_38.setObjectName(_fromUtf8("label_38"))
        self.formLayout_6.setWidget(9, QtGui.QFormLayout.LabelRole, self.label_38)
        self.saseenergy = QtGui.QLineEdit(Form)
        self.saseenergy.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.saseenergy.setReadOnly(True)
        self.saseenergy.setObjectName(_fromUtf8("saseenergy"))
        self.formLayout_6.setWidget(9, QtGui.QFormLayout.FieldRole, self.saseenergy)
        self.label_34 = QtGui.QLabel(Form)
        self.label_34.setObjectName(_fromUtf8("label_34"))
        self.formLayout_6.setWidget(10, QtGui.QFormLayout.LabelRole, self.label_34)
        self.threedfel = QtGui.QLineEdit(Form)
        self.threedfel.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.threedfel.setReadOnly(True)
        self.threedfel.setObjectName(_fromUtf8("threedfel"))
        self.formLayout_6.setWidget(10, QtGui.QFormLayout.FieldRole, self.threedfel)
        self.label_35 = QtGui.QLabel(Form)
        self.label_35.setObjectName(_fromUtf8("label_35"))
        self.formLayout_6.setWidget(11, QtGui.QFormLayout.LabelRole, self.label_35)
        self.gain_3d = QtGui.QLineEdit(Form)
        self.gain_3d.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.gain_3d.setReadOnly(True)
        self.gain_3d.setObjectName(_fromUtf8("gain_3d"))
        self.formLayout_6.setWidget(11, QtGui.QFormLayout.FieldRole, self.gain_3d)
        self.label_36 = QtGui.QLabel(Form)
        self.label_36.setObjectName(_fromUtf8("label_36"))
        self.formLayout_6.setWidget(12, QtGui.QFormLayout.LabelRole, self.label_36)
        self.total = QtGui.QLineEdit(Form)
        self.total.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.total.setReadOnly(True)
        self.total.setObjectName(_fromUtf8("total"))
        self.formLayout_6.setWidget(12, QtGui.QFormLayout.FieldRole, self.total)
        self.label_26 = QtGui.QLabel(Form)
        self.label_26.setAlignment(QtCore.Qt.AlignCenter)
        self.label_26.setObjectName(_fromUtf8("label_26"))
        self.formLayout_6.setWidget(0, QtGui.QFormLayout.SpanningRole, self.label_26)
        self.label_22 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_22.sizePolicy().hasHeightForWidth())
        self.label_22.setSizePolicy(sizePolicy)
        self.label_22.setAlignment(QtCore.Qt.AlignCenter)
        self.label_22.setObjectName(_fromUtf8("label_22"))
        self.formLayout_6.setWidget(13, QtGui.QFormLayout.SpanningRole, self.label_22)
        self.label_23 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_23.sizePolicy().hasHeightForWidth())
        self.label_23.setSizePolicy(sizePolicy)
        self.label_23.setObjectName(_fromUtf8("label_23"))
        self.formLayout_6.setWidget(14, QtGui.QFormLayout.LabelRole, self.label_23)
        self.averagepower = QtGui.QLineEdit(Form)
        self.averagepower.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.averagepower.setReadOnly(True)
        self.averagepower.setObjectName(_fromUtf8("averagepower"))
        self.formLayout_6.setWidget(14, QtGui.QFormLayout.FieldRole, self.averagepower)
        self.label_25 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_25.sizePolicy().hasHeightForWidth())
        self.label_25.setSizePolicy(sizePolicy)
        self.label_25.setObjectName(_fromUtf8("label_25"))
        self.formLayout_6.setWidget(15, QtGui.QFormLayout.LabelRole, self.label_25)
        self.saturation = QtGui.QLineEdit(Form)
        self.saturation.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.saturation.setReadOnly(True)
        self.saturation.setObjectName(_fromUtf8("saturation"))
        self.formLayout_6.setWidget(15, QtGui.QFormLayout.FieldRole, self.saturation)
        self.gridLayout.addLayout(self.formLayout_6, 1, 4, 2, 1)
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(Form)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.SpanningRole, self.label)
        self.label_2 = QtGui.QLabel(Form)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.charge = QtGui.QLineEdit(Form)
        self.charge.setObjectName(_fromUtf8("charge"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.charge)
        self.label_3 = QtGui.QLabel(Form)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.slicemit = QtGui.QLineEdit(Form)
        self.slicemit.setObjectName(_fromUtf8("slicemit"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.slicemit)
        self.label_4 = QtGui.QLabel(Form)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
        self.ebeamenergy = QtGui.QLineEdit(Form)
        self.ebeamenergy.setObjectName(_fromUtf8("ebeamenergy"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.ebeamenergy)
        self.label_5 = QtGui.QLabel(Form)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_5)
        self.energyspread = QtGui.QLineEdit(Form)
        self.energyspread.setObjectName(_fromUtf8("energyspread"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.energyspread)
        self.label_7 = QtGui.QLabel(Form)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_7)
        self.reprate = QtGui.QLineEdit(Form)
        self.reprate.setObjectName(_fromUtf8("reprate"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.reprate)
        self.label_17 = QtGui.QLabel(Form)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_17)
        self.peakamp = QtGui.QLineEdit(Form)
        self.peakamp.setStyleSheet(_fromUtf8(""))
        self.peakamp.setReadOnly(False)
        self.peakamp.setObjectName(_fromUtf8("peakamp"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.peakamp)
        self.label_8 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_8.sizePolicy().hasHeightForWidth())
        self.label_8.setSizePolicy(sizePolicy)
        self.label_8.setAlignment(QtCore.Qt.AlignCenter)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.SpanningRole, self.label_8)
        self.label_10 = QtGui.QLabel(Form)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.label_10)
        self.ufield = QtGui.QLineEdit(Form)
        self.ufield.setObjectName(_fromUtf8("ufield"))
        self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.ufield)
        self.label_11 = QtGui.QLabel(Form)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.formLayout.setWidget(9, QtGui.QFormLayout.LabelRole, self.label_11)
        self.beta = QtGui.QLineEdit(Form)
        self.beta.setObjectName(_fromUtf8("beta"))
        self.formLayout.setWidget(9, QtGui.QFormLayout.FieldRole, self.beta)
        self.label_24 = QtGui.QLabel(Form)
        self.label_24.setObjectName(_fromUtf8("label_24"))
        self.formLayout.setWidget(10, QtGui.QFormLayout.LabelRole, self.label_24)
        self.radiatedwavelength = QtGui.QLineEdit(Form)
        self.radiatedwavelength.setStyleSheet(_fromUtf8(""))
        self.radiatedwavelength.setReadOnly(False)
        self.radiatedwavelength.setObjectName(_fromUtf8("radiatedwavelength"))
        self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.radiatedwavelength)
        self.gridLayout.addLayout(self.formLayout, 1, 0, 1, 1)
        self.formLayout_3 = QtGui.QFormLayout()
        self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
        self.label_13 = QtGui.QLabel(Form)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_13)
        self.bunlen = QtGui.QLineEdit(Form)
        self.bunlen.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.bunlen.setReadOnly(True)
        self.bunlen.setObjectName(_fromUtf8("bunlen"))
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.bunlen)
        self.label_14 = QtGui.QLabel(Form)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.formLayout_3.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_14)
        self.gamma = QtGui.QLineEdit(Form)
        self.gamma.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.gamma.setReadOnly(True)
        self.gamma.setObjectName(_fromUtf8("gamma"))
        self.formLayout_3.setWidget(3, QtGui.QFormLayout.FieldRole, self.gamma)
        self.label_15 = QtGui.QLabel(Form)
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.formLayout_3.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_15)
        self.edensity = QtGui.QLineEdit(Form)
        self.edensity.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.edensity.setReadOnly(True)
        self.edensity.setObjectName(_fromUtf8("edensity"))
        self.formLayout_3.setWidget(4, QtGui.QFormLayout.FieldRole, self.edensity)
        self.label_16 = QtGui.QLabel(Form)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.formLayout_3.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_16)
        self.geoemit = QtGui.QLineEdit(Form)
        self.geoemit.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.geoemit.setReadOnly(True)
        self.geoemit.setObjectName(_fromUtf8("geoemit"))
        self.formLayout_3.setWidget(5, QtGui.QFormLayout.FieldRole, self.geoemit)
        self.label_6 = QtGui.QLabel(Form)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_6)
        self.bunchlen = QtGui.QLineEdit(Form)
        self.bunchlen.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.bunchlen.setReadOnly(True)
        self.bunchlen.setObjectName(_fromUtf8("bunchlen"))
        self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole, self.bunchlen)
        self.label_18 = QtGui.QLabel(Form)
        self.label_18.setAlignment(QtCore.Qt.AlignCenter)
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.formLayout_3.setWidget(6, QtGui.QFormLayout.SpanningRole, self.label_18)
        self.label_19 = QtGui.QLabel(Form)
        self.label_19.setObjectName(_fromUtf8("label_19"))
        self.formLayout_3.setWidget(7, QtGui.QFormLayout.LabelRole, self.label_19)
        self.rmssize = QtGui.QLineEdit(Form)
        self.rmssize.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.rmssize.setReadOnly(True)
        self.rmssize.setObjectName(_fromUtf8("rmssize"))
        self.formLayout_3.setWidget(7, QtGui.QFormLayout.FieldRole, self.rmssize)
        self.label_9 = QtGui.QLabel(Form)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.formLayout_3.setWidget(8, QtGui.QFormLayout.LabelRole, self.label_9)
        self.uperiod = QtGui.QLineEdit(Form)
        self.uperiod.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.uperiod.setReadOnly(True)
        self.uperiod.setObjectName(_fromUtf8("uperiod"))
        self.formLayout_3.setWidget(8, QtGui.QFormLayout.FieldRole, self.uperiod)
        self.label_20 = QtGui.QLabel(Form)
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.formLayout_3.setWidget(9, QtGui.QFormLayout.LabelRole, self.label_20)
        self.uparam = QtGui.QLineEdit(Form)
        self.uparam.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.uparam.setReadOnly(True)
        self.uparam.setObjectName(_fromUtf8("uparam"))
        self.formLayout_3.setWidget(9, QtGui.QFormLayout.FieldRole, self.uparam)
        self.label_21 = QtGui.QLabel(Form)
        self.label_21.setObjectName(_fromUtf8("label_21"))
        self.formLayout_3.setWidget(10, QtGui.QFormLayout.LabelRole, self.label_21)
        self.uwave = QtGui.QLineEdit(Form)
        self.uwave.setStyleSheet(_fromUtf8("background-color: rgb(225, 225, 225);"))
        self.uwave.setReadOnly(True)
        self.uwave.setObjectName(_fromUtf8("uwave"))
        self.formLayout_3.setWidget(10, QtGui.QFormLayout.FieldRole, self.uwave)
        self.label_12 = QtGui.QLabel(Form)
        self.label_12.setAlignment(QtCore.Qt.AlignCenter)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.SpanningRole, self.label_12)
        self.gridLayout.addLayout(self.formLayout_3, 1, 2, 1, 1)
        self.line_3 = QtGui.QFrame(Form)
        self.line_3.setFrameShape(QtGui.QFrame.VLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName(_fromUtf8("line_3"))
        self.gridLayout.addWidget(self.line_3, 1, 3, 2, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 3, 0, 1, 5)
        self.line_2 = QtGui.QFrame(Form)
        self.line_2.setFrameShape(QtGui.QFrame.VLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.gridLayout.addWidget(self.line_2, 1, 1, 1, 1)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.plotWidget = matplotlibWidget(Form)
        self.plotWidget.setObjectName(_fromUtf8("plotWidget"))
        self.gridLayout_3.addWidget(self.plotWidget, 0, 0, 1, 1)
        self.gridLayout.addLayout(self.gridLayout_3, 1, 6, 1, 1)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
        Form.setTabOrder(self.charge, self.slicemit)
        Form.setTabOrder(self.slicemit, self.ebeamenergy)
        Form.setTabOrder(self.ebeamenergy, self.energyspread)
        Form.setTabOrder(self.energyspread, self.reprate)
        Form.setTabOrder(self.reprate, self.peakamp)
        Form.setTabOrder(self.peakamp, self.ufield)
        Form.setTabOrder(self.ufield, self.beta)
        Form.setTabOrder(self.beta, self.radiatedwavelength)
        Form.setTabOrder(self.radiatedwavelength, self.bunlen)
        Form.setTabOrder(self.bunlen, self.bunchlen)
        Form.setTabOrder(self.bunchlen, self.gamma)
        Form.setTabOrder(self.gamma, self.edensity)
        Form.setTabOrder(self.edensity, self.geoemit)
        Form.setTabOrder(self.geoemit, self.rmssize)
        Form.setTabOrder(self.rmssize, self.uperiod)
        Form.setTabOrder(self.uperiod, self.uparam)
        Form.setTabOrder(self.uparam, self.uwave)
        Form.setTabOrder(self.uwave, self.raleigh)
        Form.setTabOrder(self.raleigh, self.photonemit)
        Form.setTabOrder(self.photonemit, self.fel_1d)
        Form.setTabOrder(self.fel_1d, self.gain_1d)
        Form.setTabOrder(self.gain_1d, self.dfactor)
        Form.setTabOrder(self.dfactor, self.efactor)
        Form.setTabOrder(self.efactor, self.espreadfactor)
        Form.setTabOrder(self.espreadfactor, self.sasepower)
        Form.setTabOrder(self.sasepower, self.saseenergy)
        Form.setTabOrder(self.saseenergy, self.threedfel)
        Form.setTabOrder(self.threedfel, self.gain_3d)
        Form.setTabOrder(self.gain_3d, self.total)
        Form.setTabOrder(self.total, self.averagepower)
        Form.setTabOrder(self.averagepower, self.saturation)
        Form.setTabOrder(self.saturation, self.x)
        Form.setTabOrder(self.x, self.xmin)
        Form.setTabOrder(self.xmin, self.xmax)
        Form.setTabOrder(self.xmax, self.y)
        Form.setTabOrder(self.y, self.ymin)
        Form.setTabOrder(self.ymin, self.ymax)
        Form.setTabOrder(self.ymax, self.z)
        Form.setTabOrder(self.z, self.plotButton)
        Form.setTabOrder(self.plotButton, self.target)
        Form.setTabOrder(self.target, self.lineEdit)
        Form.setTabOrder(self.lineEdit, self.vary)
        Form.setTabOrder(self.vary, self.solve)
        Form.setTabOrder(self.solve, self.solverResult)
Esempio n. 5
0
    def setupUi(self, LaserInterface):
        LaserInterface.setObjectName(_fromUtf8("LaserInterface"))
        LaserInterface.resize(1703, 823)
        self.formLayoutWidget = QtGui.QWidget(LaserInterface)
        self.formLayoutWidget.setGeometry(QtCore.QRect(10, 120, 221, 80))
        self.formLayoutWidget.setObjectName(_fromUtf8("formLayoutWidget"))
        self.topLevelParams = QtGui.QFormLayout(self.formLayoutWidget)
        self.topLevelParams.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.topLevelParams.setFormAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTop|QtCore.Qt.AlignTrailing)
        self.topLevelParams.setMargin(0)
        self.topLevelParams.setHorizontalSpacing(12)
        self.topLevelParams.setObjectName(_fromUtf8("topLevelParams"))
        self.wavelengthLabel = QtGui.QLabel(self.formLayoutWidget)
        self.wavelengthLabel.setObjectName(_fromUtf8("wavelengthLabel"))
        self.topLevelParams.setWidget(0, QtGui.QFormLayout.LabelRole, self.wavelengthLabel)
        self.waistSize = QtGui.QLineEdit(self.formLayoutWidget)
        self.waistSize.setObjectName(_fromUtf8("waistSize"))
        self.topLevelParams.setWidget(1, QtGui.QFormLayout.FieldRole, self.waistSize)
        self.waistPositionLabel = QtGui.QLabel(self.formLayoutWidget)
        self.waistPositionLabel.setMinimumSize(QtCore.QSize(50, 0))
        self.waistPositionLabel.setObjectName(_fromUtf8("waistPositionLabel"))
        self.topLevelParams.setWidget(2, QtGui.QFormLayout.LabelRole, self.waistPositionLabel)
        self.waistSizeLabel = QtGui.QLabel(self.formLayoutWidget)
        self.waistSizeLabel.setMinimumSize(QtCore.QSize(50, 0))
        self.waistSizeLabel.setObjectName(_fromUtf8("waistSizeLabel"))
        self.topLevelParams.setWidget(1, QtGui.QFormLayout.LabelRole, self.waistSizeLabel)
        self.wavelength = QtGui.QLineEdit(self.formLayoutWidget)
        self.wavelength.setObjectName(_fromUtf8("wavelength"))
        self.topLevelParams.setWidget(0, QtGui.QFormLayout.FieldRole, self.wavelength)
        self.waistPosition = QtGui.QLineEdit(self.formLayoutWidget)
        self.waistPosition.setObjectName(_fromUtf8("waistPosition"))
        self.topLevelParams.setWidget(2, QtGui.QFormLayout.FieldRole, self.waistPosition)
        self.highLevelInputsLabel = QtGui.QLabel(LaserInterface)
        self.highLevelInputsLabel.setGeometry(QtCore.QRect(10, 100, 91, 16))
        self.highLevelInputsLabel.setObjectName(_fromUtf8("highLevelInputsLabel"))
        self.offsetLabel = QtGui.QLabel(LaserInterface)
        self.offsetLabel.setGeometry(QtCore.QRect(10, 230, 151, 20))
        self.offsetLabel.setObjectName(_fromUtf8("offsetLabel"))
        self.ghTable = QtGui.QTableWidget(LaserInterface)
        self.ghTable.setGeometry(QtCore.QRect(10, 250, 371, 311))
        self.ghTable.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.ghTable.setToolTip(_fromUtf8(""))
        self.ghTable.setObjectName(_fromUtf8("ghTable"))
        self.ghTable.setColumnCount(2)
        self.ghTable.setRowCount(100)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(6, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(7, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(8, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(9, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(10, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(11, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(12, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(13, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(14, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(15, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(16, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(17, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(18, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(19, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(20, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(21, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(22, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(23, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(24, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(25, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(26, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(27, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(28, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(29, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(30, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(31, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(32, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(33, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(34, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(35, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(36, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(37, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(38, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(39, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(40, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(41, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(42, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(43, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(44, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(45, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(46, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(47, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(48, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(49, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(50, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(51, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(52, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(53, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(54, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(55, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(56, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(57, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(58, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(59, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(60, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(61, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(62, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(63, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(64, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(65, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(66, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(67, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(68, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(69, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(70, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(71, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(72, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(73, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(74, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(75, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(76, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(77, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(78, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(79, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(80, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(81, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(82, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(83, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(84, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(85, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(86, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(87, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(88, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(89, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(90, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(91, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(92, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(93, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(94, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(95, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(96, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(97, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(98, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setVerticalHeaderItem(99, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.ghTable.setHorizontalHeaderItem(1, item)
        self.generatePulse = QtGui.QToolButton(LaserInterface)
        self.generatePulse.setGeometry(QtCore.QRect(10, 10, 101, 23))
        self.generatePulse.setObjectName(_fromUtf8("generatePulse"))
        self.saveToFile = QtGui.QToolButton(LaserInterface)
        self.saveToFile.setGeometry(QtCore.QRect(130, 10, 81, 23))
        self.saveToFile.setObjectName(_fromUtf8("saveToFile"))
        self.xyPlot = matplotlibWidget(LaserInterface)
        self.xyPlot.setGeometry(QtCore.QRect(390, 380, 421, 361))
        self.xyPlot.setToolTip(_fromUtf8(""))
        self.xyPlot.setObjectName(_fromUtf8("xyPlot"))
        self.zyPlot = matplotlibWidget(LaserInterface)
        self.zyPlot.setGeometry(QtCore.QRect(830, 380, 411, 361))
        self.zyPlot.setToolTip(_fromUtf8(""))
        self.zyPlot.setObjectName(_fromUtf8("zyPlot"))
        self.zxPlot = matplotlibWidget(LaserInterface)
        self.zxPlot.setGeometry(QtCore.QRect(390, 10, 851, 361))
        self.zxPlot.setToolTip(_fromUtf8(""))
        self.zxPlot.setObjectName(_fromUtf8("zxPlot"))
        self.unitsLabel = QtGui.QLabel(LaserInterface)
        self.unitsLabel.setGeometry(QtCore.QRect(280, 100, 81, 16))
        self.unitsLabel.setObjectName(_fromUtf8("unitsLabel"))
        self.formLayoutWidget_2 = QtGui.QWidget(LaserInterface)
        self.formLayoutWidget_2.setGeometry(QtCore.QRect(280, 120, 101, 74))
        self.formLayoutWidget_2.setObjectName(_fromUtf8("formLayoutWidget_2"))
        self.units = QtGui.QFormLayout(self.formLayoutWidget_2)
        self.units.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.units.setMargin(0)
        self.units.setObjectName(_fromUtf8("units"))
        self.unitsXYLabel = QtGui.QLabel(self.formLayoutWidget_2)
        self.unitsXYLabel.setObjectName(_fromUtf8("unitsXYLabel"))
        self.units.setWidget(0, QtGui.QFormLayout.LabelRole, self.unitsXYLabel)
        self.unitsXY = QtGui.QLineEdit(self.formLayoutWidget_2)
        self.unitsXY.setObjectName(_fromUtf8("unitsXY"))
        self.units.setWidget(0, QtGui.QFormLayout.FieldRole, self.unitsXY)
        self.unitsZLabel = QtGui.QLabel(self.formLayoutWidget_2)
        self.unitsZLabel.setObjectName(_fromUtf8("unitsZLabel"))
        self.units.setWidget(1, QtGui.QFormLayout.LabelRole, self.unitsZLabel)
        self.unitsZ = QtGui.QLineEdit(self.formLayoutWidget_2)
        self.unitsZ.setDragEnabled(True)
        self.unitsZ.setObjectName(_fromUtf8("unitsZ"))
        self.units.setWidget(1, QtGui.QFormLayout.FieldRole, self.unitsZ)
        self.ticksLabel = QtGui.QLabel(self.formLayoutWidget_2)
        self.ticksLabel.setObjectName(_fromUtf8("ticksLabel"))
        self.units.setWidget(2, QtGui.QFormLayout.LabelRole, self.ticksLabel)
        self.numTicks = QtGui.QLineEdit(self.formLayoutWidget_2)
        self.numTicks.setObjectName(_fromUtf8("numTicks"))
        self.units.setWidget(2, QtGui.QFormLayout.FieldRole, self.numTicks)
        self.importFile = QtGui.QToolButton(LaserInterface)
        self.importFile.setGeometry(QtCore.QRect(130, 40, 81, 23))
        self.importFile.setObjectName(_fromUtf8("importFile"))
        self.xyPlotExtFields = matplotlibWidget(LaserInterface)
        self.xyPlotExtFields.setGeometry(QtCore.QRect(1270, 70, 411, 361))
        self.xyPlotExtFields.setToolTip(_fromUtf8(""))
        self.xyPlotExtFields.setObjectName(_fromUtf8("xyPlotExtFields"))
        self.xyPlotFitDiff = matplotlibWidget(LaserInterface)
        self.xyPlotFitDiff.setGeometry(QtCore.QRect(1270, 450, 411, 361))
        self.xyPlotFitDiff.setToolTip(_fromUtf8(""))
        self.xyPlotFitDiff.setObjectName(_fromUtf8("xyPlotFitDiff"))
        self.externalFields = QtGui.QToolButton(LaserInterface)
        self.externalFields.setGeometry(QtCore.QRect(1270, 10, 101, 23))
        self.externalFields.setObjectName(_fromUtf8("externalFields"))
        self.noTitles = QtGui.QToolButton(LaserInterface)
        self.noTitles.setGeometry(QtCore.QRect(280, 70, 31, 21))
        self.noTitles.setPopupMode(QtGui.QToolButton.InstantPopup)
        self.noTitles.setObjectName(_fromUtf8("noTitles"))
        self.generateCoeffs = QtGui.QToolButton(LaserInterface)
        self.generateCoeffs.setGeometry(QtCore.QRect(1390, 10, 141, 23))
        self.generateCoeffs.setObjectName(_fromUtf8("generateCoeffs"))

        self.retranslateUi(LaserInterface)
        QtCore.QMetaObject.connectSlotsByName(LaserInterface)
        LaserInterface.setTabOrder(self.waistSize, self.generatePulse)
        LaserInterface.setTabOrder(self.generatePulse, self.saveToFile)
        LaserInterface.setTabOrder(self.saveToFile, self.importFile)
        LaserInterface.setTabOrder(self.importFile, self.unitsXY)
        LaserInterface.setTabOrder(self.unitsXY, self.unitsZ)
        LaserInterface.setTabOrder(self.unitsZ, self.ghTable)