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

# Form implementation generated from reading ui file 'eric/Project/AddFileDialog.ui'
#
# Created: Thu Feb 10 10:05:41 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_AddFileDialog(object):
    def setupUi(self, AddFileDialog):
        AddFileDialog.setObjectName(_fromUtf8("AddFileDialog"))
        AddFileDialog.resize(391, 141)
        AddFileDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtGui.QVBoxLayout(AddFileDialog)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.sourceFileButton = QtGui.QPushButton(AddFileDialog)
        self.sourceFileButton.setObjectName(_fromUtf8("sourceFileButton"))
        self.gridlayout.addWidget(self.sourceFileButton, 0, 2, 1, 1)
        self.targetDirLabel = QtGui.QLabel(AddFileDialog)
        self.targetDirLabel.setObjectName(_fromUtf8("targetDirLabel"))
        self.gridlayout.addWidget(self.targetDirLabel, 1, 0, 1, 1)
        self.targetDirEdit = QtGui.QLineEdit(AddFileDialog)
        self.targetDirEdit.setObjectName(_fromUtf8("targetDirEdit"))
        self.gridlayout.addWidget(self.targetDirEdit, 1, 1, 1, 1)
        self.targetDirButton = QtGui.QPushButton(AddFileDialog)
        self.targetDirButton.setObjectName(_fromUtf8("targetDirButton"))
        self.gridlayout.addWidget(self.targetDirButton, 1, 2, 1, 1)
        self.sourceFileLabel = QtGui.QLabel(AddFileDialog)
        self.sourceFileLabel.setObjectName(_fromUtf8("sourceFileLabel"))
        self.gridlayout.addWidget(self.sourceFileLabel, 0, 0, 1, 1)
        self.sourceFileEdit = QtGui.QLineEdit(AddFileDialog)
        self.sourceFileEdit.setObjectName(_fromUtf8("sourceFileEdit"))
        self.gridlayout.addWidget(self.sourceFileEdit, 0, 1, 1, 1)
        self.vboxlayout.addLayout(self.gridlayout)
        self.sourcecodeCheckBox = QtGui.QCheckBox(AddFileDialog)
        self.sourcecodeCheckBox.setObjectName(_fromUtf8("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.Ok)
        self.buttonBox.setObjectName(_fromUtf8("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(_fromUtf8("accepted()")), AddFileDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("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))

