# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/home/rius/datos/Programacion/Python/ESA_Megafiltros/svn/megafilters/trunk/tempvariationdlg.ui'
#
# Created: Sun Mar 13 11:22:52 2011
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_TempVarDlg(object):
    def setupUi(self, TempVarDlg):
        TempVarDlg.setObjectName(_fromUtf8("TempVarDlg"))
        TempVarDlg.setWindowModality(QtCore.Qt.WindowModal)
        TempVarDlg.resize(328, 198)
        TempVarDlg.setModal(True)
        self.verticalLayout = QtGui.QVBoxLayout(TempVarDlg)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.temVar_groupBox = QtGui.QGroupBox(TempVarDlg)
        self.temVar_groupBox.setCheckable(True)
        self.temVar_groupBox.setObjectName(_fromUtf8("temVar_groupBox"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.temVar_groupBox)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.temVar_groupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.Tamb_doubleSpinBox = QtGui.QDoubleSpinBox(self.temVar_groupBox)
        self.Tamb_doubleSpinBox.setDecimals(1)
        self.Tamb_doubleSpinBox.setProperty(_fromUtf8("value"), 20.0)
        self.Tamb_doubleSpinBox.setObjectName(_fromUtf8("Tamb_doubleSpinBox"))
        self.gridLayout.addWidget(self.Tamb_doubleSpinBox, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.temVar_groupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.Tmin_doubleSpinBox = QtGui.QDoubleSpinBox(self.temVar_groupBox)
        self.Tmin_doubleSpinBox.setDecimals(1)
        self.Tmin_doubleSpinBox.setMinimum(-200.0)
        self.Tmin_doubleSpinBox.setSingleStep(5.0)
        self.Tmin_doubleSpinBox.setProperty(_fromUtf8("value"), -10.0)
        self.Tmin_doubleSpinBox.setObjectName(_fromUtf8("Tmin_doubleSpinBox"))
        self.gridLayout.addWidget(self.Tmin_doubleSpinBox, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.temVar_groupBox)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.Tmax_doubleSpinBox = QtGui.QDoubleSpinBox(self.temVar_groupBox)
        self.Tmax_doubleSpinBox.setDecimals(1)
        self.Tmax_doubleSpinBox.setMinimum(-100.0)
        self.Tmax_doubleSpinBox.setMaximum(200.0)
        self.Tmax_doubleSpinBox.setSingleStep(5.0)
        self.Tmax_doubleSpinBox.setProperty(_fromUtf8("value"), 65.0)
        self.Tmax_doubleSpinBox.setObjectName(_fromUtf8("Tmax_doubleSpinBox"))
        self.gridLayout.addWidget(self.Tmax_doubleSpinBox, 2, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.temVar_groupBox)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
        self.coef_doubleSpinBox = QtGui.QDoubleSpinBox(self.temVar_groupBox)
        self.coef_doubleSpinBox.setDecimals(1)
        self.coef_doubleSpinBox.setMaximum(1000.0)
        self.coef_doubleSpinBox.setProperty(_fromUtf8("value"), 22.0)
        self.coef_doubleSpinBox.setObjectName(_fromUtf8("coef_doubleSpinBox"))
        self.gridLayout.addWidget(self.coef_doubleSpinBox, 3, 1, 1, 1)
        self.horizontalLayout_2.addLayout(self.gridLayout)
        spacerItem2 = QtGui.QSpacerItem(8, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.horizontalLayout_3.addWidget(self.temVar_groupBox)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem3)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        spacerItem4 = QtGui.QSpacerItem(20, 25, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem4)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem5)
        self.buttonBox = QtGui.QDialogButtonBox(TempVarDlg)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout.addWidget(self.buttonBox)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.label.setBuddy(self.Tamb_doubleSpinBox)
        self.label_2.setBuddy(self.Tmin_doubleSpinBox)
        self.label_3.setBuddy(self.Tmax_doubleSpinBox)
        self.label_4.setBuddy(self.coef_doubleSpinBox)

        self.retranslateUi(TempVarDlg)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TempVarDlg.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TempVarDlg.reject)
        QtCore.QMetaObject.connectSlotsByName(TempVarDlg)

    def retranslateUi(self, TempVarDlg):
        TempVarDlg.setWindowTitle(QtGui.QApplication.translate("TempVarDlg", "Variation with temperature", None, QtGui.QApplication.UnicodeUTF8))
        self.temVar_groupBox.setTitle(QtGui.QApplication.translate("TempVarDlg", "Apply mask variation with temperature", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("TempVarDlg", "Ambient temperature", None, QtGui.QApplication.UnicodeUTF8))
        self.Tamb_doubleSpinBox.setToolTip(QtGui.QApplication.translate("TempVarDlg", "Temperature at which the filter is built. \n"
"At ambient temperature, the measured [S] parameters \n"
"correspond to the designed [S] parameters.", None, QtGui.QApplication.UnicodeUTF8))
        self.Tamb_doubleSpinBox.setWhatsThis(QtGui.QApplication.translate("TempVarDlg", "Temperature at which the filter is built. \n"
"At ambient temperature, the measured [S] parameters \n"
"correspond to the designed [S] parameters.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("TempVarDlg", "Minimum temperature", None, QtGui.QApplication.UnicodeUTF8))
        self.Tmin_doubleSpinBox.setToolTip(QtGui.QApplication.translate("TempVarDlg", "Minimum operating temperature. \n"
"Due to thermal expansion, the filter at Tmin \n"
"is actually smaller than the filter built at Tamb \n"
"and the [S] parameters are shifted to the right \n"
"(to higher frequencies).", None, QtGui.QApplication.UnicodeUTF8))
        self.Tmin_doubleSpinBox.setWhatsThis(QtGui.QApplication.translate("TempVarDlg", "Minimum operating temperature. \n"
"Due to thermal expansion, the filter at Tmin \n"
"is actually smaller than the filter built at Tamb \n"
"and the [S] parameters are shifted to the right \n"
"(to higher frequencies).", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("TempVarDlg", "Maximum temperature", None, QtGui.QApplication.UnicodeUTF8))
        self.Tmax_doubleSpinBox.setToolTip(QtGui.QApplication.translate("TempVarDlg", "Maximum operating temperature. \n"
"Due to thermal expansion, the filter at Tmax \n"
"is actually larger than the filter built at Tamb \n"
"and the [S] parameters are shifted to the left \n"
"(to lower frequencies).", None, QtGui.QApplication.UnicodeUTF8))
        self.Tmax_doubleSpinBox.setWhatsThis(QtGui.QApplication.translate("TempVarDlg", "Maximum operating temperature. \n"
"Due to thermal expansion, the filter at Tmax \n"
"is actually larger than the filter built at Tamb \n"
"and the [S] parameters are shifted to the left \n"
"(to lower frequencies).", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("TempVarDlg", "Coefficient (ppm/C)", None, QtGui.QApplication.UnicodeUTF8))
        self.coef_doubleSpinBox.setToolTip(QtGui.QApplication.translate("TempVarDlg", "Thermal expansion coefficient, \n"
"expressed in parts per million per degree Celsius.\n"
"Example: 22 ppm/C for alumminium.", None, QtGui.QApplication.UnicodeUTF8))
        self.coef_doubleSpinBox.setWhatsThis(QtGui.QApplication.translate("TempVarDlg", "Thermal expansion coefficient, \n"
"expressed in parts per million per degree Celsius.\n"
"Example: 22 ppm/C for alumminium.", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    TempVarDlg = QtGui.QDialog()
    ui = Ui_TempVarDlg()
    ui.setupUi(TempVarDlg)
    TempVarDlg.show()
    sys.exit(app.exec_())

