108 lines
5.9 KiB
Python
108 lines
5.9 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'ui/YAFFConfig.ui'
|
|
#
|
|
# Created: Wed Sep 24 21:21:48 2014
|
|
# by: PyQt4 UI code generator 4.11.1
|
|
#
|
|
# 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_Dialog(object):
|
|
def setupUi(self, Dialog):
|
|
Dialog.setObjectName(_fromUtf8("Dialog"))
|
|
Dialog.resize(250, 229)
|
|
self.gridLayout_3 = QtGui.QGridLayout(Dialog)
|
|
self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
|
|
self.groupBox_time = QtGui.QGroupBox(Dialog)
|
|
self.groupBox_time.setObjectName(_fromUtf8("groupBox_time"))
|
|
self.gridLayout_time = QtGui.QGridLayout(self.groupBox_time)
|
|
self.gridLayout_time.setObjectName(_fromUtf8("gridLayout_time"))
|
|
self.label = QtGui.QLabel(self.groupBox_time)
|
|
self.label.setObjectName(_fromUtf8("label"))
|
|
self.gridLayout_time.addWidget(self.label, 0, 0, 1, 1)
|
|
self.label_2 = QtGui.QLabel(self.groupBox_time)
|
|
self.label_2.setObjectName(_fromUtf8("label_2"))
|
|
self.gridLayout_time.addWidget(self.label_2, 0, 1, 1, 1)
|
|
self.label_3 = QtGui.QLabel(self.groupBox_time)
|
|
self.label_3.setObjectName(_fromUtf8("label_3"))
|
|
self.gridLayout_time.addWidget(self.label_3, 0, 2, 1, 1)
|
|
self.doubleSpinBox_tmin = QtGui.QDoubleSpinBox(self.groupBox_time)
|
|
self.doubleSpinBox_tmin.setObjectName(_fromUtf8("doubleSpinBox_tmin"))
|
|
self.gridLayout_time.addWidget(self.doubleSpinBox_tmin, 1, 0, 1, 1)
|
|
self.doubleSpinBox_tmax = QtGui.QDoubleSpinBox(self.groupBox_time)
|
|
self.doubleSpinBox_tmax.setObjectName(_fromUtf8("doubleSpinBox_tmax"))
|
|
self.gridLayout_time.addWidget(self.doubleSpinBox_tmax, 1, 1, 1, 1)
|
|
self.spinBox_tn = QtGui.QSpinBox(self.groupBox_time)
|
|
self.spinBox_tn.setMinimum(256)
|
|
self.spinBox_tn.setMaximum(8192)
|
|
self.spinBox_tn.setSingleStep(256)
|
|
self.spinBox_tn.setProperty("value", 512)
|
|
self.spinBox_tn.setObjectName(_fromUtf8("spinBox_tn"))
|
|
self.gridLayout_time.addWidget(self.spinBox_tn, 1, 2, 1, 1)
|
|
self.gridLayout_3.addWidget(self.groupBox_time, 0, 0, 1, 1)
|
|
self.groupBox_tau = QtGui.QGroupBox(Dialog)
|
|
self.groupBox_tau.setObjectName(_fromUtf8("groupBox_tau"))
|
|
self.gridLayout_tau = QtGui.QGridLayout(self.groupBox_tau)
|
|
self.gridLayout_tau.setObjectName(_fromUtf8("gridLayout_tau"))
|
|
self.label_7 = QtGui.QLabel(self.groupBox_tau)
|
|
self.label_7.setObjectName(_fromUtf8("label_7"))
|
|
self.gridLayout_tau.addWidget(self.label_7, 0, 0, 1, 1)
|
|
self.label_8 = QtGui.QLabel(self.groupBox_tau)
|
|
self.label_8.setObjectName(_fromUtf8("label_8"))
|
|
self.gridLayout_tau.addWidget(self.label_8, 0, 1, 1, 1)
|
|
self.label_9 = QtGui.QLabel(self.groupBox_tau)
|
|
self.label_9.setObjectName(_fromUtf8("label_9"))
|
|
self.gridLayout_tau.addWidget(self.label_9, 0, 2, 1, 1)
|
|
self.doubleSpinBox_taumin = QtGui.QDoubleSpinBox(self.groupBox_tau)
|
|
self.doubleSpinBox_taumin.setObjectName(_fromUtf8("doubleSpinBox_taumin"))
|
|
self.gridLayout_tau.addWidget(self.doubleSpinBox_taumin, 1, 0, 1, 1)
|
|
self.doubleSpinBox_taumax = QtGui.QDoubleSpinBox(self.groupBox_tau)
|
|
self.doubleSpinBox_taumax.setObjectName(_fromUtf8("doubleSpinBox_taumax"))
|
|
self.gridLayout_tau.addWidget(self.doubleSpinBox_taumax, 1, 1, 1, 1)
|
|
self.spinBox_taun = QtGui.QSpinBox(self.groupBox_tau)
|
|
self.spinBox_taun.setMinimum(256)
|
|
self.spinBox_taun.setMaximum(8192)
|
|
self.spinBox_taun.setSingleStep(256)
|
|
self.spinBox_taun.setProperty("value", 512)
|
|
self.spinBox_taun.setObjectName(_fromUtf8("spinBox_taun"))
|
|
self.gridLayout_tau.addWidget(self.spinBox_taun, 1, 2, 1, 1)
|
|
self.gridLayout_3.addWidget(self.groupBox_tau, 1, 0, 1, 1)
|
|
self.buttonBox = QtGui.QDialogButtonBox(Dialog)
|
|
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
|
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
|
|
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
|
|
self.gridLayout_3.addWidget(self.buttonBox, 2, 0, 1, 1)
|
|
|
|
self.retranslateUi(Dialog)
|
|
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept)
|
|
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject)
|
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|
|
|
def retranslateUi(self, Dialog):
|
|
Dialog.setWindowTitle(_translate("Dialog", "YAFF Configuration", None))
|
|
self.groupBox_time.setTitle(_translate("Dialog", "Time values (log10[t])", None))
|
|
self.label.setText(_translate("Dialog", "<html><head/><body><p>t<span style=\" vertical-align:sub;\">min</span></p></body></html>", None))
|
|
self.label_2.setText(_translate("Dialog", "<html><head/><body><p>t<span style=\" vertical-align:sub;\">max</span></p></body></html>", None))
|
|
self.label_3.setText(_translate("Dialog", "N", None))
|
|
self.groupBox_tau.setTitle(_translate("Dialog", "τ-Distribution (log10[τ])", None))
|
|
self.label_7.setText(_translate("Dialog", "<html><head/><body><p>t<span style=\" vertical-align:sub;\">min</span></p></body></html>", None))
|
|
self.label_8.setText(_translate("Dialog", "<html><head/><body><p>t<span style=\" vertical-align:sub;\">max</span></p></body></html>", None))
|
|
self.label_9.setText(_translate("Dialog", "N", None))
|
|
|