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

# Form implementation generated from reading ui file 'eric/UI/FindFileNameDialog.ui'
#
# Created: Thu Mar 15 18:48:28 2012
#      by: PyQt4 UI code generator 4.8.5
#
# 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_FindFileNameDialog(object):
    def setupUi(self, FindFileNameDialog):
        FindFileNameDialog.setObjectName(_fromUtf8("FindFileNameDialog"))
        FindFileNameDialog.resize(599, 478)
        FindFileNameDialog.setWindowTitle(QtGui.QApplication.translate("FindFileNameDialog", "Find File", None, QtGui.QApplication.UnicodeUTF8))
        self.vboxlayout = QtGui.QVBoxLayout(FindFileNameDialog)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.textLabel1 = QtGui.QLabel(FindFileNameDialog)
        self.textLabel1.setText(QtGui.QApplication.translate("FindFileNameDialog", "Enter filename (? matches any single character, * matches everything)", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setObjectName(_fromUtf8("textLabel1"))
        self.vboxlayout.addWidget(self.textLabel1)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.fileNameEdit = QtGui.QLineEdit(FindFileNameDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(9)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fileNameEdit.sizePolicy().hasHeightForWidth())
        self.fileNameEdit.setSizePolicy(sizePolicy)
        self.fileNameEdit.setToolTip(QtGui.QApplication.translate("FindFileNameDialog", "Enter file name to search for ", None, QtGui.QApplication.UnicodeUTF8))
        self.fileNameEdit.setObjectName(_fromUtf8("fileNameEdit"))
        self.hboxlayout.addWidget(self.fileNameEdit)
        self.extsepLabel = QtGui.QLabel(FindFileNameDialog)
        self.extsepLabel.setText(QtGui.QApplication.translate("FindFileNameDialog", ".", None, QtGui.QApplication.UnicodeUTF8))
        self.extsepLabel.setObjectName(_fromUtf8("extsepLabel"))
        self.hboxlayout.addWidget(self.extsepLabel)
        self.fileExtEdit = QtGui.QLineEdit(FindFileNameDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fileExtEdit.sizePolicy().hasHeightForWidth())
        self.fileExtEdit.setSizePolicy(sizePolicy)
        self.fileExtEdit.setToolTip(QtGui.QApplication.translate("FindFileNameDialog", "Enter file extension to search for", None, QtGui.QApplication.UnicodeUTF8))
        self.fileExtEdit.setObjectName(_fromUtf8("fileExtEdit"))
        self.hboxlayout.addWidget(self.fileExtEdit)
        self.vboxlayout.addLayout(self.hboxlayout)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
        self.searchDirCheckBox = QtGui.QCheckBox(FindFileNameDialog)
        self.searchDirCheckBox.setEnabled(False)
        self.searchDirCheckBox.setToolTip(QtGui.QApplication.translate("FindFileNameDialog", "Enabled to include the entered directory into the search", None, QtGui.QApplication.UnicodeUTF8))
        self.searchDirCheckBox.setText(QtGui.QApplication.translate("FindFileNameDialog", "Search Path:", None, QtGui.QApplication.UnicodeUTF8))
        self.searchDirCheckBox.setObjectName(_fromUtf8("searchDirCheckBox"))
        self.hboxlayout1.addWidget(self.searchDirCheckBox)
        self.searchDirEdit = QtGui.QLineEdit(FindFileNameDialog)
        self.searchDirEdit.setToolTip(QtGui.QApplication.translate("FindFileNameDialog", "Enter the directory, the file should be searched in", None, QtGui.QApplication.UnicodeUTF8))
        self.searchDirEdit.setObjectName(_fromUtf8("searchDirEdit"))
        self.hboxlayout1.addWidget(self.searchDirEdit)
        self.searchDirButton = QtGui.QPushButton(FindFileNameDialog)
        self.searchDirButton.setToolTip(QtGui.QApplication.translate("FindFileNameDialog", "Press to select the directory, the file should be searched in", None, QtGui.QApplication.UnicodeUTF8))
        self.searchDirButton.setText(QtGui.QApplication.translate("FindFileNameDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.searchDirButton.setObjectName(_fromUtf8("searchDirButton"))
        self.hboxlayout1.addWidget(self.searchDirButton)
        self.vboxlayout.addLayout(self.hboxlayout1)
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setObjectName(_fromUtf8("hboxlayout2"))
        self.projectCheckBox = QtGui.QCheckBox(FindFileNameDialog)
        self.projectCheckBox.setToolTip(QtGui.QApplication.translate("FindFileNameDialog", "Select to search in the project path", None, QtGui.QApplication.UnicodeUTF8))
        self.projectCheckBox.setText(QtGui.QApplication.translate("FindFileNameDialog", "Search in &project", None, QtGui.QApplication.UnicodeUTF8))
        self.projectCheckBox.setShortcut(QtGui.QApplication.translate("FindFileNameDialog", "Alt+P", None, QtGui.QApplication.UnicodeUTF8))
        self.projectCheckBox.setObjectName(_fromUtf8("projectCheckBox"))
        self.hboxlayout2.addWidget(self.projectCheckBox)
        self.syspathCheckBox = QtGui.QCheckBox(FindFileNameDialog)
        self.syspathCheckBox.setToolTip(QtGui.QApplication.translate("FindFileNameDialog", "Select to search in sys.path", None, QtGui.QApplication.UnicodeUTF8))
        self.syspathCheckBox.setText(QtGui.QApplication.translate("FindFileNameDialog", "Search in &sys.path", None, QtGui.QApplication.UnicodeUTF8))
        self.syspathCheckBox.setShortcut(QtGui.QApplication.translate("FindFileNameDialog", "Alt+S", None, QtGui.QApplication.UnicodeUTF8))
        self.syspathCheckBox.setObjectName(_fromUtf8("syspathCheckBox"))
        self.hboxlayout2.addWidget(self.syspathCheckBox)
        self.vboxlayout.addLayout(self.hboxlayout2)
        self.fileList = QtGui.QTreeWidget(FindFileNameDialog)
        self.fileList.setRootIsDecorated(False)
        self.fileList.setObjectName(_fromUtf8("fileList"))
        self.fileList.headerItem().setText(0, QtGui.QApplication.translate("FindFileNameDialog", "Filename", None, QtGui.QApplication.UnicodeUTF8))
        self.fileList.headerItem().setText(1, QtGui.QApplication.translate("FindFileNameDialog", "Path", None, QtGui.QApplication.UnicodeUTF8))
        self.vboxlayout.addWidget(self.fileList)
        self.buttonBox = QtGui.QDialogButtonBox(FindFileNameDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close|QtGui.QDialogButtonBox.Open)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(FindFileNameDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), FindFileNameDialog.close)
        QtCore.QMetaObject.connectSlotsByName(FindFileNameDialog)
        FindFileNameDialog.setTabOrder(self.fileNameEdit, self.fileExtEdit)
        FindFileNameDialog.setTabOrder(self.fileExtEdit, self.searchDirEdit)
        FindFileNameDialog.setTabOrder(self.searchDirEdit, self.searchDirButton)
        FindFileNameDialog.setTabOrder(self.searchDirButton, self.searchDirCheckBox)
        FindFileNameDialog.setTabOrder(self.searchDirCheckBox, self.projectCheckBox)
        FindFileNameDialog.setTabOrder(self.projectCheckBox, self.syspathCheckBox)
        FindFileNameDialog.setTabOrder(self.syspathCheckBox, self.fileList)

    def retranslateUi(self, FindFileNameDialog):
        self.fileList.setSortingEnabled(True)

