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

# Form implementation generated from reading ui file 'StartRestartForm.ui'
#
# Created: Fri Apr 19 15:56:54 2013
#      by: PyQt4 UI code generator 4.9.6
#
# 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_StartRestartForm(object):
    def setupUi(self, StartRestartForm):
        StartRestartForm.setObjectName(_fromUtf8("StartRestartForm"))
        StartRestartForm.resize(450, 236)
        self.gridlayout = QtGui.QGridLayout(StartRestartForm)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.groupBox = QtGui.QGroupBox(StartRestartForm)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridlayout1 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.frameRestart = QtGui.QFrame(self.groupBox)
        self.frameRestart.setMinimumSize(QtCore.QSize(380, 16))
        self.frameRestart.setFrameShape(QtGui.QFrame.NoFrame)
        self.frameRestart.setFrameShadow(QtGui.QFrame.Raised)
        self.frameRestart.setObjectName(_fromUtf8("frameRestart"))
        self.gridlayout2 = QtGui.QGridLayout(self.frameRestart)
        self.gridlayout2.setMargin(0)
        self.gridlayout2.setObjectName(_fromUtf8("gridlayout2"))
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        spacerItem = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.gridlayout3 = QtGui.QGridLayout()
        self.gridlayout3.setObjectName(_fromUtf8("gridlayout3"))
        self.label = QtGui.QLabel(self.frameRestart)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridlayout3.addWidget(self.label, 0, 0, 1, 2)
        self.radioButtonYes = QtGui.QRadioButton(self.frameRestart)
        self.radioButtonYes.setObjectName(_fromUtf8("radioButtonYes"))
        self.gridlayout3.addWidget(self.radioButtonYes, 0, 2, 1, 1)
        self.radioButtonNo = QtGui.QRadioButton(self.frameRestart)
        self.radioButtonNo.setObjectName(_fromUtf8("radioButtonNo"))
        self.gridlayout3.addWidget(self.radioButtonNo, 0, 3, 1, 1)
        self.toolButton = QtGui.QToolButton(self.frameRestart)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/new/prefix1/icons/22x22/document-open.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.toolButton.setIcon(icon)
        self.toolButton.setIconSize(QtCore.QSize(22, 22))
        self.toolButton.setObjectName(_fromUtf8("toolButton"))
        self.gridlayout3.addWidget(self.toolButton, 0, 4, 1, 1)
        self.labelDir1 = QtGui.QLabel(self.frameRestart)
        self.labelDir1.setObjectName(_fromUtf8("labelDir1"))
        self.gridlayout3.addWidget(self.labelDir1, 1, 0, 1, 1)
        self.labelDir2 = QtGui.QLabel(self.frameRestart)
        self.labelDir2.setText(_fromUtf8(""))
        self.labelDir2.setObjectName(_fromUtf8("labelDir2"))
        self.gridlayout3.addWidget(self.labelDir2, 1, 1, 1, 3)
        self.hboxlayout.addLayout(self.gridlayout3)
        spacerItem1 = QtGui.QSpacerItem(80, 25, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem1)
        self.gridlayout2.addLayout(self.hboxlayout, 0, 0, 1, 1)
        self.gridlayout1.addWidget(self.frameRestart, 0, 0, 1, 1)
        self.line = QtGui.QFrame(self.groupBox)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridlayout1.addWidget(self.line, 1, 0, 1, 1)
        self.frameFrozen = QtGui.QFrame(self.groupBox)
        self.frameFrozen.setMinimumSize(QtCore.QSize(380, 16))
        self.frameFrozen.setFrameShape(QtGui.QFrame.NoFrame)
        self.frameFrozen.setFrameShadow(QtGui.QFrame.Raised)
        self.frameFrozen.setObjectName(_fromUtf8("frameFrozen"))
        self.gridlayout4 = QtGui.QGridLayout(self.frameFrozen)
        self.gridlayout4.setMargin(0)
        self.gridlayout4.setObjectName(_fromUtf8("gridlayout4"))
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
        spacerItem2 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem2)
        self.label_2 = QtGui.QLabel(self.frameFrozen)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.hboxlayout1.addWidget(self.label_2)
        self.checkBox = QtGui.QCheckBox(self.frameFrozen)
        self.checkBox.setText(_fromUtf8(""))
        self.checkBox.setObjectName(_fromUtf8("checkBox"))
        self.hboxlayout1.addWidget(self.checkBox)
        spacerItem3 = QtGui.QSpacerItem(16, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem3)
        self.gridlayout4.addLayout(self.hboxlayout1, 0, 0, 1, 1)
        self.gridlayout1.addWidget(self.frameFrozen, 2, 0, 1, 1)
        self.lineICCVFG = QtGui.QFrame(self.groupBox)
        self.lineICCVFG.setFrameShape(QtGui.QFrame.HLine)
        self.lineICCVFG.setFrameShadow(QtGui.QFrame.Sunken)
        self.lineICCVFG.setObjectName(_fromUtf8("lineICCVFG"))
        self.gridlayout1.addWidget(self.lineICCVFG, 3, 0, 1, 1)
        self.frameAdvanced = QtGui.QFrame(self.groupBox)
        self.frameAdvanced.setMinimumSize(QtCore.QSize(380, 16))
        self.frameAdvanced.setFrameShape(QtGui.QFrame.NoFrame)
        self.frameAdvanced.setFrameShadow(QtGui.QFrame.Raised)
        self.frameAdvanced.setObjectName(_fromUtf8("frameAdvanced"))
        self.gridlayout5 = QtGui.QGridLayout(self.frameAdvanced)
        self.gridlayout5.setMargin(0)
        self.gridlayout5.setObjectName(_fromUtf8("gridlayout5"))
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setObjectName(_fromUtf8("hboxlayout2"))
        spacerItem4 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem4)
        self.label_3 = QtGui.QLabel(self.frameAdvanced)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.hboxlayout2.addWidget(self.label_3)
        self.toolButtonAdvanced = QtGui.QToolButton(self.frameAdvanced)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/new/prefix1/icons/22x22/preferences-system.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.toolButtonAdvanced.setIcon(icon1)
        self.toolButtonAdvanced.setIconSize(QtCore.QSize(22, 22))
        self.toolButtonAdvanced.setObjectName(_fromUtf8("toolButtonAdvanced"))
        self.hboxlayout2.addWidget(self.toolButtonAdvanced)
        spacerItem5 = QtGui.QSpacerItem(16, 16, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem5)
        self.gridlayout5.addLayout(self.hboxlayout2, 0, 0, 1, 1)
        self.gridlayout1.addWidget(self.frameAdvanced, 4, 0, 1, 1)
        self.gridlayout.addWidget(self.groupBox, 0, 0, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(16, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem6, 1, 0, 1, 1)

        self.retranslateUi(StartRestartForm)
        QtCore.QObject.connect(self.radioButtonYes, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.frameFrozen.show)
        QtCore.QObject.connect(self.radioButtonNo, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.frameFrozen.hide)
        QtCore.QObject.connect(self.radioButtonNo, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.toolButton.setDisabled)
        QtCore.QObject.connect(self.radioButtonYes, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.toolButton.setEnabled)
        QtCore.QObject.connect(self.radioButtonYes, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lineICCVFG.show)
        QtCore.QObject.connect(self.radioButtonNo, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lineICCVFG.hide)
        QtCore.QMetaObject.connectSlotsByName(StartRestartForm)

    def retranslateUi(self, StartRestartForm):
        StartRestartForm.setWindowTitle(_translate("StartRestartForm", "Form", None))
        self.groupBox.setTitle(_translate("StartRestartForm", "Start/Restart", None))
        self.label.setToolTip(_translate("StartRestartForm", "Code_Saturne key word: ISUITE", None))
        self.label.setText(_translate("StartRestartForm", "Calculation restart:", None))
        self.radioButtonYes.setToolTip(_translate("StartRestartForm", "Code_Saturne key word: ISUITE", None))
        self.radioButtonYes.setText(_translate("StartRestartForm", "on", None))
        self.radioButtonNo.setToolTip(_translate("StartRestartForm", "Code_Saturne key word: ISUITE", None))
        self.radioButtonNo.setText(_translate("StartRestartForm", "off", None))
        self.toolButton.setToolTip(_translate("StartRestartForm", "Selection of the restart directory and\n"
"creation of the symbolic link in the DATA directory", None))
        self.toolButton.setText(_translate("StartRestartForm", "...", None))
        self.labelDir1.setText(_translate("StartRestartForm", "RESTART:", None))
        self.label_2.setToolTip(_translate("StartRestartForm", "Code_Saturne key word: ICCVFG", None))
        self.label_2.setText(_translate("StartRestartForm", "Calculation on frozen velocity and pressure fields", None))
        self.label_3.setText(_translate("StartRestartForm", "Advanced options", None))
        self.toolButtonAdvanced.setText(_translate("StartRestartForm", "...", None))
        self.toolButtonAdvanced.setShortcut(_translate("StartRestartForm", "Ctrl+S", None))

import resources_pages_rc
