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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Project/AddFileDialog.ui'
#
# Created: Sat Feb  3 15:34:02 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_AddFileDialog(object):
    def setupUi(self, AddFileDialog):
        AddFileDialog.setObjectName("AddFileDialog")
        AddFileDialog.resize(QtCore.QSize(QtCore.QRect(0,0,391,127).size()).expandedTo(AddFileDialog.minimumSizeHint()))
        AddFileDialog.setSizeGripEnabled(True)

        self.vboxlayout = QtGui.QVBoxLayout(AddFileDialog)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

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

        self.sourceFileButton = QtGui.QPushButton(AddFileDialog)
        self.sourceFileButton.setObjectName("sourceFileButton")
        self.gridlayout.addWidget(self.sourceFileButton,0,2,1,1)

        self.targetDirLabel = QtGui.QLabel(AddFileDialog)
        self.targetDirLabel.setObjectName("targetDirLabel")
        self.gridlayout.addWidget(self.targetDirLabel,1,0,1,1)

        self.targetDirEdit = QtGui.QLineEdit(AddFileDialog)
        self.targetDirEdit.setObjectName("targetDirEdit")
        self.gridlayout.addWidget(self.targetDirEdit,1,1,1,1)

        self.targetDirButton = QtGui.QPushButton(AddFileDialog)
        self.targetDirButton.setObjectName("targetDirButton")
        self.gridlayout.addWidget(self.targetDirButton,1,2,1,1)

        self.sourceFileLabel = QtGui.QLabel(AddFileDialog)
        self.sourceFileLabel.setObjectName("sourceFileLabel")
        self.gridlayout.addWidget(self.sourceFileLabel,0,0,1,1)

        self.sourceFileEdit = QtGui.QLineEdit(AddFileDialog)
        self.sourceFileEdit.setObjectName("sourceFileEdit")
        self.gridlayout.addWidget(self.sourceFileEdit,0,1,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.sourcecodeCheckBox = QtGui.QCheckBox(AddFileDialog)
        self.sourcecodeCheckBox.setObjectName("sourcecodeCheckBox")
        self.vboxlayout.addWidget(self.sourcecodeCheckBox)

        self.buttonBox = QtGui.QDialogButtonBox(AddFileDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)
        self.targetDirLabel.setBuddy(self.targetDirEdit)
        self.sourceFileLabel.setBuddy(self.sourceFileEdit)

        self.retranslateUi(AddFileDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),AddFileDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),AddFileDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(AddFileDialog)
        AddFileDialog.setTabOrder(self.sourceFileEdit,self.sourceFileButton)
        AddFileDialog.setTabOrder(self.sourceFileButton,self.targetDirEdit)
        AddFileDialog.setTabOrder(self.targetDirEdit,self.targetDirButton)
        AddFileDialog.setTabOrder(self.targetDirButton,self.sourcecodeCheckBox)

    def retranslateUi(self, AddFileDialog):
        AddFileDialog.setWindowTitle(QtGui.QApplication.translate("AddFileDialog", "Add Files", None, QtGui.QApplication.UnicodeUTF8))
        AddFileDialog.setWhatsThis(QtGui.QApplication.translate("AddFileDialog", "<b>Add Files Dialog</b>\n"
        "<p>This dialog is used to add files to the current project.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.sourceFileButton.setWhatsThis(QtGui.QApplication.translate("AddFileDialog", "<b>Source Files</b>\n"
        "<p>Select the source files via a files selection dialog.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.sourceFileButton.setText(QtGui.QApplication.translate("AddFileDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.targetDirLabel.setText(QtGui.QApplication.translate("AddFileDialog", "&Target Directory:", None, QtGui.QApplication.UnicodeUTF8))
        self.targetDirEdit.setToolTip(QtGui.QApplication.translate("AddFileDialog", "Enter the target directory for the file", None, QtGui.QApplication.UnicodeUTF8))
        self.targetDirEdit.setWhatsThis(QtGui.QApplication.translate("AddFileDialog", "<b>Target Directory</b>\n"
        "<p>Enter the target directory. You may select it\n"
        " with a dialog by pressing the button to the right.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.targetDirButton.setWhatsThis(QtGui.QApplication.translate("AddFileDialog", "<b>Target Directory</b>\n"
        "<p>Select the target directory via a directory selection dialog.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.targetDirButton.setText(QtGui.QApplication.translate("AddFileDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.sourceFileLabel.setText(QtGui.QApplication.translate("AddFileDialog", "&Source Files:", None, QtGui.QApplication.UnicodeUTF8))
        self.sourceFileEdit.setToolTip(QtGui.QApplication.translate("AddFileDialog", "Enter the name of files to add separated by the path separator", None, QtGui.QApplication.UnicodeUTF8))
        self.sourceFileEdit.setWhatsThis(QtGui.QApplication.translate("AddFileDialog", "<b>Source Files</b>\n"
        "<p>Enter the name of files to add to the current project separated\n"
        "by the path separator. You may select them with a dialog by pressing \n"
        "the button to the right.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.sourcecodeCheckBox.setToolTip(QtGui.QApplication.translate("AddFileDialog", "Select, if the files should be added as sourcecode (overriding automatic detection)", None, QtGui.QApplication.UnicodeUTF8))
        self.sourcecodeCheckBox.setText(QtGui.QApplication.translate("AddFileDialog", "Is source&code files", None, QtGui.QApplication.UnicodeUTF8))
        self.sourcecodeCheckBox.setShortcut(QtGui.QApplication.translate("AddFileDialog", "Alt+C", None, QtGui.QApplication.UnicodeUTF8))



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