2013-06-14 06:44:34 +00:00
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
|
|
# Form implementation generated from reading ui file 'PeakGroupBox.ui'
|
|
|
|
|
#
|
2014-04-15 13:44:15 +00:00
|
|
|
|
# Created: Tue Apr 15 15:17:02 2014
|
2014-04-11 07:29:32 +00:00
|
|
|
|
# by: PyQt4 UI code generator 4.10.4
|
2013-06-14 06:44:34 +00:00
|
|
|
|
#
|
|
|
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
|
|
|
|
|
|
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_PeakGroupBox(object):
|
|
|
|
|
def setupUi(self, PeakGroupBox):
|
|
|
|
|
PeakGroupBox.setObjectName(_fromUtf8("PeakGroupBox"))
|
|
|
|
|
PeakGroupBox.setEnabled(True)
|
2014-03-19 18:48:15 +00:00
|
|
|
|
PeakGroupBox.resize(269, 179)
|
|
|
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
|
2013-06-14 06:44:34 +00:00
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(PeakGroupBox.sizePolicy().hasHeightForWidth())
|
|
|
|
|
PeakGroupBox.setSizePolicy(sizePolicy)
|
2014-03-19 18:48:15 +00:00
|
|
|
|
PeakGroupBox.setMinimumSize(QtCore.QSize(0, 0))
|
2013-07-10 16:36:07 +00:00
|
|
|
|
PeakGroupBox.setAutoFillBackground(False)
|
2013-06-14 06:44:34 +00:00
|
|
|
|
PeakGroupBox.setFlat(False)
|
|
|
|
|
PeakGroupBox.setCheckable(False)
|
|
|
|
|
self.gridLayout_2 = QtGui.QGridLayout(PeakGroupBox)
|
2013-07-10 16:36:07 +00:00
|
|
|
|
self.gridLayout_2.setMargin(10)
|
2013-06-14 06:44:34 +00:00
|
|
|
|
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
|
|
|
|
|
self.gridLayout = QtGui.QGridLayout()
|
2014-03-19 18:48:15 +00:00
|
|
|
|
self.gridLayout.setSizeConstraint(QtGui.QLayout.SetFixedSize)
|
|
|
|
|
self.gridLayout.setSpacing(1)
|
2013-06-14 06:44:34 +00:00
|
|
|
|
self.gridLayout.setContentsMargins(0, 0, -1, -1)
|
|
|
|
|
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
|
2014-03-18 19:37:32 +00:00
|
|
|
|
self.label = QtGui.QLabel(PeakGroupBox)
|
|
|
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
|
2013-06-14 06:44:34 +00:00
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
2014-03-18 19:37:32 +00:00
|
|
|
|
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.label.setSizePolicy(sizePolicy)
|
|
|
|
|
self.label.setAlignment(QtCore.Qt.AlignCenter)
|
|
|
|
|
self.label.setObjectName(_fromUtf8("label"))
|
|
|
|
|
self.gridLayout.addWidget(self.label, 0, 3, 1, 1)
|
|
|
|
|
self.label_5 = QtGui.QLabel(PeakGroupBox)
|
|
|
|
|
self.label_5.setObjectName(_fromUtf8("label_5"))
|
|
|
|
|
self.gridLayout.addWidget(self.label_5, 1, 2, 1, 1)
|
|
|
|
|
self.label_7 = QtGui.QLabel(PeakGroupBox)
|
|
|
|
|
self.label_7.setObjectName(_fromUtf8("label_7"))
|
|
|
|
|
self.gridLayout.addWidget(self.label_7, 3, 2, 1, 1)
|
|
|
|
|
self.label_6 = QtGui.QLabel(PeakGroupBox)
|
|
|
|
|
self.label_6.setObjectName(_fromUtf8("label_6"))
|
|
|
|
|
self.gridLayout.addWidget(self.label_6, 2, 2, 1, 1)
|
2013-06-14 06:44:34 +00:00
|
|
|
|
self.removeButton = QtGui.QPushButton(PeakGroupBox)
|
2014-03-19 18:48:15 +00:00
|
|
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
|
2013-06-14 06:44:34 +00:00
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.removeButton.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.removeButton.setSizePolicy(sizePolicy)
|
2014-03-19 18:48:15 +00:00
|
|
|
|
self.removeButton.setMinimumSize(QtCore.QSize(0, 0))
|
2013-06-14 06:44:34 +00:00
|
|
|
|
self.removeButton.setObjectName(_fromUtf8("removeButton"))
|
2014-03-19 18:48:15 +00:00
|
|
|
|
self.gridLayout.addWidget(self.removeButton, 0, 1, 1, 1, QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter)
|
2013-06-14 06:44:34 +00:00
|
|
|
|
self.label_1 = QtGui.QLabel(PeakGroupBox)
|
|
|
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.label_1.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.label_1.setSizePolicy(sizePolicy)
|
|
|
|
|
self.label_1.setAlignment(QtCore.Qt.AlignCenter)
|
|
|
|
|
self.label_1.setObjectName(_fromUtf8("label_1"))
|
|
|
|
|
self.gridLayout.addWidget(self.label_1, 1, 0, 1, 1)
|
2014-03-18 19:37:32 +00:00
|
|
|
|
self.label_3 = QtGui.QLabel(PeakGroupBox)
|
2013-06-14 06:44:34 +00:00
|
|
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
2014-03-18 19:37:32 +00:00
|
|
|
|
sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.label_3.setSizePolicy(sizePolicy)
|
|
|
|
|
self.label_3.setAlignment(QtCore.Qt.AlignCenter)
|
|
|
|
|
self.label_3.setObjectName(_fromUtf8("label_3"))
|
|
|
|
|
self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
|
|
|
|
|
self.label_8 = QtGui.QLabel(PeakGroupBox)
|
|
|
|
|
self.label_8.setObjectName(_fromUtf8("label_8"))
|
2014-03-19 18:48:15 +00:00
|
|
|
|
self.gridLayout.addWidget(self.label_8, 4, 2, 1, 1)
|
|
|
|
|
self.doubleSpinBox_4 = QtGui.QDoubleSpinBox(PeakGroupBox)
|
|
|
|
|
self.doubleSpinBox_4.setSingleStep(0.05)
|
|
|
|
|
self.doubleSpinBox_4.setObjectName(_fromUtf8("doubleSpinBox_4"))
|
|
|
|
|
self.gridLayout.addWidget(self.doubleSpinBox_4, 4, 1, 1, 1)
|
|
|
|
|
self.doubleSpinBox_3 = QtGui.QDoubleSpinBox(PeakGroupBox)
|
|
|
|
|
self.doubleSpinBox_3.setSingleStep(0.05)
|
|
|
|
|
self.doubleSpinBox_3.setObjectName(_fromUtf8("doubleSpinBox_3"))
|
|
|
|
|
self.gridLayout.addWidget(self.doubleSpinBox_3, 3, 1, 1, 1)
|
|
|
|
|
self.doubleSpinBox_2 = QtGui.QDoubleSpinBox(PeakGroupBox)
|
|
|
|
|
self.doubleSpinBox_2.setObjectName(_fromUtf8("doubleSpinBox_2"))
|
|
|
|
|
self.gridLayout.addWidget(self.doubleSpinBox_2, 2, 1, 1, 1)
|
|
|
|
|
self.doubleSpinBox_1 = QtGui.QDoubleSpinBox(PeakGroupBox)
|
|
|
|
|
self.doubleSpinBox_1.setObjectName(_fromUtf8("doubleSpinBox_1"))
|
|
|
|
|
self.gridLayout.addWidget(self.doubleSpinBox_1, 1, 1, 1, 1)
|
2013-06-14 06:44:34 +00:00
|
|
|
|
self.label_4 = QtGui.QLabel(PeakGroupBox)
|
|
|
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.label_4.setSizePolicy(sizePolicy)
|
|
|
|
|
self.label_4.setAlignment(QtCore.Qt.AlignCenter)
|
|
|
|
|
self.label_4.setObjectName(_fromUtf8("label_4"))
|
2014-03-19 18:48:15 +00:00
|
|
|
|
self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1)
|
|
|
|
|
self.checkBox_4 = QtGui.QCheckBox(PeakGroupBox)
|
|
|
|
|
self.checkBox_4.setText(_fromUtf8(""))
|
|
|
|
|
self.checkBox_4.setObjectName(_fromUtf8("checkBox_4"))
|
|
|
|
|
self.gridLayout.addWidget(self.checkBox_4, 4, 3, 1, 1, QtCore.Qt.AlignHCenter)
|
|
|
|
|
self.label_2 = QtGui.QLabel(PeakGroupBox)
|
|
|
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.label_2.setSizePolicy(sizePolicy)
|
|
|
|
|
self.label_2.setAlignment(QtCore.Qt.AlignCenter)
|
|
|
|
|
self.label_2.setObjectName(_fromUtf8("label_2"))
|
|
|
|
|
self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
|
|
|
|
|
self.checkBox_2 = QtGui.QCheckBox(PeakGroupBox)
|
|
|
|
|
self.checkBox_2.setText(_fromUtf8(""))
|
|
|
|
|
self.checkBox_2.setObjectName(_fromUtf8("checkBox_2"))
|
|
|
|
|
self.gridLayout.addWidget(self.checkBox_2, 2, 3, 1, 1, QtCore.Qt.AlignHCenter)
|
|
|
|
|
self.checkBox_3 = QtGui.QCheckBox(PeakGroupBox)
|
|
|
|
|
self.checkBox_3.setText(_fromUtf8(""))
|
|
|
|
|
self.checkBox_3.setObjectName(_fromUtf8("checkBox_3"))
|
|
|
|
|
self.gridLayout.addWidget(self.checkBox_3, 3, 3, 1, 1, QtCore.Qt.AlignHCenter)
|
|
|
|
|
self.checkBox_1 = QtGui.QCheckBox(PeakGroupBox)
|
|
|
|
|
self.checkBox_1.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
|
|
self.checkBox_1.setText(_fromUtf8(""))
|
|
|
|
|
self.checkBox_1.setObjectName(_fromUtf8("checkBox_1"))
|
|
|
|
|
self.gridLayout.addWidget(self.checkBox_1, 1, 3, 1, 1, QtCore.Qt.AlignHCenter)
|
|
|
|
|
self.comboBox = QtGui.QComboBox(PeakGroupBox)
|
|
|
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.comboBox.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.comboBox.setSizePolicy(sizePolicy)
|
|
|
|
|
self.comboBox.setObjectName(_fromUtf8("comboBox"))
|
|
|
|
|
self.comboBox.addItem(_fromUtf8(""))
|
|
|
|
|
self.comboBox.addItem(_fromUtf8(""))
|
|
|
|
|
self.comboBox.addItem(_fromUtf8(""))
|
2014-03-19 23:47:19 +00:00
|
|
|
|
self.comboBox.addItem(_fromUtf8(""))
|
2014-03-19 18:48:15 +00:00
|
|
|
|
self.gridLayout.addWidget(self.comboBox, 0, 2, 1, 1, QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter)
|
2013-06-14 06:44:34 +00:00
|
|
|
|
self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
|
|
|
|
|
|
|
|
|
|
self.retranslateUi(PeakGroupBox)
|
|
|
|
|
QtCore.QObject.connect(self.removeButton, QtCore.SIGNAL(_fromUtf8("clicked()")), PeakGroupBox.hide)
|
|
|
|
|
QtCore.QMetaObject.connectSlotsByName(PeakGroupBox)
|
|
|
|
|
|
|
|
|
|
def retranslateUi(self, PeakGroupBox):
|
|
|
|
|
PeakGroupBox.setWindowTitle(_translate("PeakGroupBox", "GroupBox", None))
|
|
|
|
|
PeakGroupBox.setTitle(_translate("PeakGroupBox", "GroupBox", None))
|
2014-03-18 19:37:32 +00:00
|
|
|
|
self.label.setText(_translate("PeakGroupBox", "Fix", None))
|
|
|
|
|
self.label_5.setText(_translate("PeakGroupBox", "TextLabel", None))
|
|
|
|
|
self.label_7.setText(_translate("PeakGroupBox", "TextLabel", None))
|
|
|
|
|
self.label_6.setText(_translate("PeakGroupBox", "TextLabel", None))
|
2013-06-14 06:44:34 +00:00
|
|
|
|
self.removeButton.setText(_translate("PeakGroupBox", "Remove", None))
|
|
|
|
|
self.label_1.setText(_translate("PeakGroupBox", "Δε", None))
|
2014-03-19 18:48:15 +00:00
|
|
|
|
self.label_3.setText(_translate("PeakGroupBox", "<html><head/><body><p>γ<span style=\" vertical-align:sub;\">CC</span></p></body></html>", None))
|
2014-03-18 19:37:32 +00:00
|
|
|
|
self.label_8.setText(_translate("PeakGroupBox", "TextLabel", None))
|
2014-03-19 18:48:15 +00:00
|
|
|
|
self.label_4.setText(_translate("PeakGroupBox", "<html><head/><body><p>β<span style=\" vertical-align:sub;\">CD</span></p></body></html>", None))
|
|
|
|
|
self.label_2.setText(_translate("PeakGroupBox", "τ", None))
|
|
|
|
|
self.comboBox.setItemText(0, _translate("PeakGroupBox", "H-N", None))
|
|
|
|
|
self.comboBox.setItemText(1, _translate("PeakGroupBox", "C-C", None))
|
|
|
|
|
self.comboBox.setItemText(2, _translate("PeakGroupBox", "C-D", None))
|
2014-03-19 23:47:19 +00:00
|
|
|
|
self.comboBox.setItemText(3, _translate("PeakGroupBox", "Debye", None))
|
2013-06-14 06:44:34 +00:00
|
|
|
|
|