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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Scripting/LoadScriptDialog.ui'
#
# Created: Sat Feb  3 15:33:55 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_LoadScriptDialog(object):
    def setupUi(self, LoadScriptDialog):
        LoadScriptDialog.setObjectName("LoadScriptDialog")
        LoadScriptDialog.resize(QtCore.QSize(QtCore.QRect(0,0,488,136).size()).expandedTo(LoadScriptDialog.minimumSizeHint()))
        LoadScriptDialog.setSizeGripEnabled(True)

        self.gridlayout = QtGui.QGridLayout(LoadScriptDialog)
        self.gridlayout.setMargin(6)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.buttonBox = QtGui.QDialogButtonBox(LoadScriptDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox,4,0,1,3)

        self.scriptNameEdit = QtGui.QLineEdit(LoadScriptDialog)
        self.scriptNameEdit.setObjectName("scriptNameEdit")
        self.gridlayout.addWidget(self.scriptNameEdit,0,1,1,2)

        self.textLabel1 = QtGui.QLabel(LoadScriptDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.gridlayout.addWidget(self.textLabel1,0,0,1,1)

        self.scriptFileEdit = QtGui.QLineEdit(LoadScriptDialog)
        self.scriptFileEdit.setObjectName("scriptFileEdit")
        self.gridlayout.addWidget(self.scriptFileEdit,1,1,1,1)

        self.executeCheckBox = QtGui.QCheckBox(LoadScriptDialog)
        self.executeCheckBox.setChecked(True)
        self.executeCheckBox.setObjectName("executeCheckBox")
        self.gridlayout.addWidget(self.executeCheckBox,2,0,1,2)

        self.deleteCheckBox = QtGui.QCheckBox(LoadScriptDialog)
        self.deleteCheckBox.setObjectName("deleteCheckBox")
        self.gridlayout.addWidget(self.deleteCheckBox,3,0,1,2)

        self.textLabel2 = QtGui.QLabel(LoadScriptDialog)
        self.textLabel2.setObjectName("textLabel2")
        self.gridlayout.addWidget(self.textLabel2,1,0,1,1)

        self.fileSelectButton = QtGui.QPushButton(LoadScriptDialog)
        self.fileSelectButton.setObjectName("fileSelectButton")
        self.gridlayout.addWidget(self.fileSelectButton,1,2,1,1)

        self.retranslateUi(LoadScriptDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),LoadScriptDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),LoadScriptDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(LoadScriptDialog)
        LoadScriptDialog.setTabOrder(self.scriptNameEdit,self.scriptFileEdit)
        LoadScriptDialog.setTabOrder(self.scriptFileEdit,self.fileSelectButton)
        LoadScriptDialog.setTabOrder(self.fileSelectButton,self.executeCheckBox)
        LoadScriptDialog.setTabOrder(self.executeCheckBox,self.deleteCheckBox)

    def retranslateUi(self, LoadScriptDialog):
        LoadScriptDialog.setWindowTitle(QtGui.QApplication.translate("LoadScriptDialog", "Load Script", None, QtGui.QApplication.UnicodeUTF8))
        self.scriptNameEdit.setToolTip(QtGui.QApplication.translate("LoadScriptDialog", "Enter the name for the script", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("LoadScriptDialog", "Script name:", None, QtGui.QApplication.UnicodeUTF8))
        self.scriptFileEdit.setToolTip(QtGui.QApplication.translate("LoadScriptDialog", "Enter the name of the script file.", None, QtGui.QApplication.UnicodeUTF8))
        self.executeCheckBox.setToolTip(QtGui.QApplication.translate("LoadScriptDialog", "Select whether the script should be loaded and executed.", None, QtGui.QApplication.UnicodeUTF8))
        self.executeCheckBox.setText(QtGui.QApplication.translate("LoadScriptDialog", "Load and execute script", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteCheckBox.setText(QtGui.QApplication.translate("LoadScriptDialog", "Delete script after execution", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("LoadScriptDialog", "Script file:", None, QtGui.QApplication.UnicodeUTF8))
        self.fileSelectButton.setToolTip(QtGui.QApplication.translate("LoadScriptDialog", "Press to select the script file via a file selection dialog.", None, QtGui.QApplication.UnicodeUTF8))
        self.fileSelectButton.setText(QtGui.QApplication.translate("LoadScriptDialog", "...", None, QtGui.QApplication.UnicodeUTF8))



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