137 lines
7.3 KiB
Python
137 lines
7.3 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'ui/PowerLawGroupBox.ui'
|
|
#
|
|
# Created: Tue Dec 16 15:03:15 2014
|
|
# by: PyQt4 UI code generator 4.11.3
|
|
#
|
|
# 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_PowerLawGroupBox(object):
|
|
def setupUi(self, PowerLawGroupBox):
|
|
PowerLawGroupBox.setObjectName(_fromUtf8("PowerLawGroupBox"))
|
|
PowerLawGroupBox.resize(253, 131)
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(PowerLawGroupBox.sizePolicy().hasHeightForWidth())
|
|
PowerLawGroupBox.setSizePolicy(sizePolicy)
|
|
PowerLawGroupBox.setMinimumSize(QtCore.QSize(0, 0))
|
|
self.gridLayout_2 = QtGui.QGridLayout(PowerLawGroupBox)
|
|
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
|
|
self.gridLayout = QtGui.QGridLayout()
|
|
self.gridLayout.setSizeConstraint(QtGui.QLayout.SetFixedSize)
|
|
self.gridLayout.setSpacing(1)
|
|
self.gridLayout.setContentsMargins(0, 0, -1, -1)
|
|
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
|
|
self.label = QtGui.QLabel(PowerLawGroupBox)
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
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.removeButton = QtGui.QPushButton(PowerLawGroupBox)
|
|
self.removeButton.setObjectName(_fromUtf8("removeButton"))
|
|
self.gridLayout.addWidget(self.removeButton, 0, 1, 1, 1)
|
|
self.checkBox_3 = QtGui.QCheckBox(PowerLawGroupBox)
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.checkBox_3.sizePolicy().hasHeightForWidth())
|
|
self.checkBox_3.setSizePolicy(sizePolicy)
|
|
self.checkBox_3.setText(_fromUtf8(""))
|
|
self.checkBox_3.setChecked(True)
|
|
self.checkBox_3.setObjectName(_fromUtf8("checkBox_3"))
|
|
self.gridLayout.addWidget(self.checkBox_3, 2, 3, 1, 1, QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter)
|
|
self.label_6 = QtGui.QLabel(PowerLawGroupBox)
|
|
self.label_6.setObjectName(_fromUtf8("label_6"))
|
|
self.gridLayout.addWidget(self.label_6, 2, 2, 1, 1)
|
|
self.doubleSpinBox_3 = QtGui.QDoubleSpinBox(PowerLawGroupBox)
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.doubleSpinBox_3.sizePolicy().hasHeightForWidth())
|
|
self.doubleSpinBox_3.setSizePolicy(sizePolicy)
|
|
self.doubleSpinBox_3.setSingleStep(0.05)
|
|
self.doubleSpinBox_3.setProperty("value", 1.0)
|
|
self.doubleSpinBox_3.setObjectName(_fromUtf8("doubleSpinBox_3"))
|
|
self.gridLayout.addWidget(self.doubleSpinBox_3, 2, 1, 1, 1)
|
|
self.label_5 = QtGui.QLabel(PowerLawGroupBox)
|
|
self.label_5.setObjectName(_fromUtf8("label_5"))
|
|
self.gridLayout.addWidget(self.label_5, 1, 2, 1, 1)
|
|
self.doubleSpinBox_2 = QtGui.QDoubleSpinBox(PowerLawGroupBox)
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.doubleSpinBox_2.sizePolicy().hasHeightForWidth())
|
|
self.doubleSpinBox_2.setSizePolicy(sizePolicy)
|
|
self.doubleSpinBox_2.setObjectName(_fromUtf8("doubleSpinBox_2"))
|
|
self.gridLayout.addWidget(self.doubleSpinBox_2, 1, 1, 1, 1)
|
|
self.label_3 = QtGui.QLabel(PowerLawGroupBox)
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
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, 2, 0, 1, 1)
|
|
self.label_2 = QtGui.QLabel(PowerLawGroupBox)
|
|
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, 1, 0, 1, 1)
|
|
self.checkBox_2 = QtGui.QCheckBox(PowerLawGroupBox)
|
|
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.checkBox_2.sizePolicy().hasHeightForWidth())
|
|
self.checkBox_2.setSizePolicy(sizePolicy)
|
|
self.checkBox_2.setText(_fromUtf8(""))
|
|
self.checkBox_2.setObjectName(_fromUtf8("checkBox_2"))
|
|
self.gridLayout.addWidget(self.checkBox_2, 1, 3, 1, 1, QtCore.Qt.AlignHCenter)
|
|
self.pushButton_hide = QtGui.QPushButton(PowerLawGroupBox)
|
|
self.pushButton_hide.setCheckable(True)
|
|
self.pushButton_hide.setObjectName(_fromUtf8("pushButton_hide"))
|
|
self.gridLayout.addWidget(self.pushButton_hide, 0, 2, 1, 1)
|
|
self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
|
|
|
|
self.retranslateUi(PowerLawGroupBox)
|
|
QtCore.QObject.connect(self.removeButton, QtCore.SIGNAL(_fromUtf8("clicked()")), PowerLawGroupBox.hide)
|
|
QtCore.QMetaObject.connectSlotsByName(PowerLawGroupBox)
|
|
|
|
def retranslateUi(self, PowerLawGroupBox):
|
|
PowerLawGroupBox.setWindowTitle(_translate("PowerLawGroupBox", "GroupBox", None))
|
|
PowerLawGroupBox.setTitle(_translate("PowerLawGroupBox", "Power Law", None))
|
|
self.label.setText(_translate("PowerLawGroupBox", "Fix", None))
|
|
self.removeButton.setText(_translate("PowerLawGroupBox", "Remove", None))
|
|
self.label_6.setText(_translate("PowerLawGroupBox", "TextLabel", None))
|
|
self.label_5.setText(_translate("PowerLawGroupBox", "TextLabel", None))
|
|
self.label_3.setText(_translate("PowerLawGroupBox", "n", None))
|
|
self.label_2.setText(_translate("PowerLawGroupBox", "U", None))
|
|
self.pushButton_hide.setText(_translate("PowerLawGroupBox", "Hide", None))
|
|
|