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

# Form implementation generated from reading ui file 'eric/UI/FindFileDialog.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_FindFileDialog(object):
    def setupUi(self, FindFileDialog):
        FindFileDialog.setObjectName(_fromUtf8("FindFileDialog"))
        FindFileDialog.resize(600, 750)
        FindFileDialog.setWindowTitle(QtGui.QApplication.translate("FindFileDialog", "Find in Files", None, QtGui.QApplication.UnicodeUTF8))
        self.verticalLayout = QtGui.QVBoxLayout(FindFileDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.TextLabel1 = QtGui.QLabel(FindFileDialog)
        self.TextLabel1.setText(QtGui.QApplication.translate("FindFileDialog", "Find &text:", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1.setObjectName(_fromUtf8("TextLabel1"))
        self.gridLayout_3.addWidget(self.TextLabel1, 0, 0, 1, 1)
        self.findtextCombo = QtGui.QComboBox(FindFileDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.findtextCombo.sizePolicy().hasHeightForWidth())
        self.findtextCombo.setSizePolicy(sizePolicy)
        self.findtextCombo.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Enter the search text or regular expression", None, QtGui.QApplication.UnicodeUTF8))
        self.findtextCombo.setEditable(True)
        self.findtextCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.findtextCombo.setAutoCompletion(False)
        self.findtextCombo.setDuplicatesEnabled(False)
        self.findtextCombo.setObjectName(_fromUtf8("findtextCombo"))
        self.gridLayout_3.addWidget(self.findtextCombo, 0, 1, 1, 1)
        self.replaceLabel = QtGui.QLabel(FindFileDialog)
        self.replaceLabel.setText(QtGui.QApplication.translate("FindFileDialog", "Replace te&xt:", None, QtGui.QApplication.UnicodeUTF8))
        self.replaceLabel.setObjectName(_fromUtf8("replaceLabel"))
        self.gridLayout_3.addWidget(self.replaceLabel, 1, 0, 1, 1)
        self.replacetextCombo = QtGui.QComboBox(FindFileDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.replacetextCombo.sizePolicy().hasHeightForWidth())
        self.replacetextCombo.setSizePolicy(sizePolicy)
        self.replacetextCombo.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Enter the replacement text or regular expression", None, QtGui.QApplication.UnicodeUTF8))
        self.replacetextCombo.setEditable(True)
        self.replacetextCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.replacetextCombo.setAutoCompletion(False)
        self.replacetextCombo.setDuplicatesEnabled(False)
        self.replacetextCombo.setObjectName(_fromUtf8("replacetextCombo"))
        self.gridLayout_3.addWidget(self.replacetextCombo, 1, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_3)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.caseCheckBox = QtGui.QCheckBox(FindFileDialog)
        self.caseCheckBox.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Select to match case sensitive", None, QtGui.QApplication.UnicodeUTF8))
        self.caseCheckBox.setText(QtGui.QApplication.translate("FindFileDialog", "&Match upper/lower case", None, QtGui.QApplication.UnicodeUTF8))
        self.caseCheckBox.setObjectName(_fromUtf8("caseCheckBox"))
        self.horizontalLayout_2.addWidget(self.caseCheckBox)
        self.wordCheckBox = QtGui.QCheckBox(FindFileDialog)
        self.wordCheckBox.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Select to match whole words only", None, QtGui.QApplication.UnicodeUTF8))
        self.wordCheckBox.setText(QtGui.QApplication.translate("FindFileDialog", "Whole &word", None, QtGui.QApplication.UnicodeUTF8))
        self.wordCheckBox.setObjectName(_fromUtf8("wordCheckBox"))
        self.horizontalLayout_2.addWidget(self.wordCheckBox)
        self.regexpCheckBox = QtGui.QCheckBox(FindFileDialog)
        self.regexpCheckBox.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Select if the searchtext is a regular expression", None, QtGui.QApplication.UnicodeUTF8))
        self.regexpCheckBox.setText(QtGui.QApplication.translate("FindFileDialog", "Regular &Expression", None, QtGui.QApplication.UnicodeUTF8))
        self.regexpCheckBox.setObjectName(_fromUtf8("regexpCheckBox"))
        self.horizontalLayout_2.addWidget(self.regexpCheckBox)
        self.feelLikeCheckBox = QtGui.QCheckBox(FindFileDialog)
        self.feelLikeCheckBox.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Select to open the first occurence automatically", None, QtGui.QApplication.UnicodeUTF8))
        self.feelLikeCheckBox.setText(QtGui.QApplication.translate("FindFileDialog", "Feeling Like", None, QtGui.QApplication.UnicodeUTF8))
        self.feelLikeCheckBox.setObjectName(_fromUtf8("feelLikeCheckBox"))
        self.horizontalLayout_2.addWidget(self.feelLikeCheckBox)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.groupBox = QtGui.QGroupBox(FindFileDialog)
        self.groupBox.setTitle(QtGui.QApplication.translate("FindFileDialog", "File type", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.sourcesCheckBox = QtGui.QCheckBox(self.groupBox)
        self.sourcesCheckBox.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Search in source files", None, QtGui.QApplication.UnicodeUTF8))
        self.sourcesCheckBox.setText(QtGui.QApplication.translate("FindFileDialog", "&Sources", None, QtGui.QApplication.UnicodeUTF8))
        self.sourcesCheckBox.setChecked(True)
        self.sourcesCheckBox.setObjectName(_fromUtf8("sourcesCheckBox"))
        self.gridLayout.addWidget(self.sourcesCheckBox, 0, 0, 1, 1)
        self.resourcesCheckBox = QtGui.QCheckBox(self.groupBox)
        self.resourcesCheckBox.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Search in resources", None, QtGui.QApplication.UnicodeUTF8))
        self.resourcesCheckBox.setText(QtGui.QApplication.translate("FindFileDialog", "&Resources", None, QtGui.QApplication.UnicodeUTF8))
        self.resourcesCheckBox.setObjectName(_fromUtf8("resourcesCheckBox"))
        self.gridLayout.addWidget(self.resourcesCheckBox, 0, 1, 1, 1)
        self.formsCheckBox = QtGui.QCheckBox(self.groupBox)
        self.formsCheckBox.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Search in forms", None, QtGui.QApplication.UnicodeUTF8))
        self.formsCheckBox.setText(QtGui.QApplication.translate("FindFileDialog", "&Forms", None, QtGui.QApplication.UnicodeUTF8))
        self.formsCheckBox.setObjectName(_fromUtf8("formsCheckBox"))
        self.gridLayout.addWidget(self.formsCheckBox, 1, 0, 1, 1)
        self.interfacesCheckBox = QtGui.QCheckBox(self.groupBox)
        self.interfacesCheckBox.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Search in interfaces", None, QtGui.QApplication.UnicodeUTF8))
        self.interfacesCheckBox.setText(QtGui.QApplication.translate("FindFileDialog", "&Interfaces", None, QtGui.QApplication.UnicodeUTF8))
        self.interfacesCheckBox.setObjectName(_fromUtf8("interfacesCheckBox"))
        self.gridLayout.addWidget(self.interfacesCheckBox, 1, 1, 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.gridLayout.addWidget(self.line, 2, 0, 1, 2)
        self.filterCheckBox = QtGui.QCheckBox(self.groupBox)
        self.filterCheckBox.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Select to filter the files by a given filename pattern", None, QtGui.QApplication.UnicodeUTF8))
        self.filterCheckBox.setText(QtGui.QApplication.translate("FindFileDialog", "Fi&lter", None, QtGui.QApplication.UnicodeUTF8))
        self.filterCheckBox.setObjectName(_fromUtf8("filterCheckBox"))
        self.gridLayout.addWidget(self.filterCheckBox, 3, 0, 1, 1)
        self.filterEdit = QtGui.QLineEdit(self.groupBox)
        self.filterEdit.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.filterEdit.sizePolicy().hasHeightForWidth())
        self.filterEdit.setSizePolicy(sizePolicy)
        self.filterEdit.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Enter the filename wildcards separated by \';\'", None, QtGui.QApplication.UnicodeUTF8))
        self.filterEdit.setObjectName(_fromUtf8("filterEdit"))
        self.gridLayout.addWidget(self.filterEdit, 3, 1, 1, 1)
        self.horizontalLayout.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(FindFileDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setTitle(QtGui.QApplication.translate("FindFileDialog", "Find in", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.projectButton = QtGui.QRadioButton(self.groupBox_2)
        self.projectButton.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Search in files of the current project", None, QtGui.QApplication.UnicodeUTF8))
        self.projectButton.setText(QtGui.QApplication.translate("FindFileDialog", "&Project", None, QtGui.QApplication.UnicodeUTF8))
        self.projectButton.setChecked(True)
        self.projectButton.setObjectName(_fromUtf8("projectButton"))
        self.gridLayout_2.addWidget(self.projectButton, 0, 0, 1, 1)
        self.dirButton = QtGui.QRadioButton(self.groupBox_2)
        self.dirButton.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Search in files of a directory tree to be entered below", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setText(QtGui.QApplication.translate("FindFileDialog", "&Directory tree", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setObjectName(_fromUtf8("dirButton"))
        self.gridLayout_2.addWidget(self.dirButton, 0, 1, 1, 2)
        self.dirEdit = QtGui.QLineEdit(self.groupBox_2)
        self.dirEdit.setEnabled(False)
        self.dirEdit.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Enter the directory to search in", None, QtGui.QApplication.UnicodeUTF8))
        self.dirEdit.setObjectName(_fromUtf8("dirEdit"))
        self.gridLayout_2.addWidget(self.dirEdit, 1, 0, 1, 2)
        self.dirSelectButton = QtGui.QPushButton(self.groupBox_2)
        self.dirSelectButton.setEnabled(False)
        self.dirSelectButton.setFocusPolicy(QtCore.Qt.NoFocus)
        self.dirSelectButton.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Select the directory via a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.dirSelectButton.setText(QtGui.QApplication.translate("FindFileDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.dirSelectButton.setObjectName(_fromUtf8("dirSelectButton"))
        self.gridLayout_2.addWidget(self.dirSelectButton, 1, 2, 1, 1)
        self.openFilesButton = QtGui.QRadioButton(self.groupBox_2)
        self.openFilesButton.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Search in open files only ", None, QtGui.QApplication.UnicodeUTF8))
        self.openFilesButton.setText(QtGui.QApplication.translate("FindFileDialog", "&Open files only", None, QtGui.QApplication.UnicodeUTF8))
        self.openFilesButton.setObjectName(_fromUtf8("openFilesButton"))
        self.gridLayout_2.addWidget(self.openFilesButton, 2, 0, 1, 3)
        self.horizontalLayout.addWidget(self.groupBox_2)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.findProgressLabel = E4SqueezeLabelPath(FindFileDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.findProgressLabel.sizePolicy().hasHeightForWidth())
        self.findProgressLabel.setSizePolicy(sizePolicy)
        self.findProgressLabel.setText(_fromUtf8(""))
        self.findProgressLabel.setObjectName(_fromUtf8("findProgressLabel"))
        self.verticalLayout.addWidget(self.findProgressLabel)
        self.findProgress = QtGui.QProgressBar(FindFileDialog)
        self.findProgress.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Shows the progress of the search action", None, QtGui.QApplication.UnicodeUTF8))
        self.findProgress.setProperty("value", 0)
        self.findProgress.setOrientation(QtCore.Qt.Horizontal)
        self.findProgress.setObjectName(_fromUtf8("findProgress"))
        self.verticalLayout.addWidget(self.findProgress)
        self.findList = QtGui.QTreeWidget(FindFileDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.findList.sizePolicy().hasHeightForWidth())
        self.findList.setSizePolicy(sizePolicy)
        self.findList.setAlternatingRowColors(True)
        self.findList.setColumnCount(2)
        self.findList.setObjectName(_fromUtf8("findList"))
        self.findList.headerItem().setText(0, QtGui.QApplication.translate("FindFileDialog", "File/Line", None, QtGui.QApplication.UnicodeUTF8))
        self.findList.headerItem().setText(1, QtGui.QApplication.translate("FindFileDialog", "Text", None, QtGui.QApplication.UnicodeUTF8))
        self.verticalLayout.addWidget(self.findList)
        self.replaceButton = QtGui.QPushButton(FindFileDialog)
        self.replaceButton.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Press to apply the selected replacements", None, QtGui.QApplication.UnicodeUTF8))
        self.replaceButton.setText(QtGui.QApplication.translate("FindFileDialog", "Replace", None, QtGui.QApplication.UnicodeUTF8))
        self.replaceButton.setObjectName(_fromUtf8("replaceButton"))
        self.verticalLayout.addWidget(self.replaceButton)
        self.buttonBox = QtGui.QDialogButtonBox(FindFileDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)
        self.TextLabel1.setBuddy(self.findtextCombo)
        self.replaceLabel.setBuddy(self.findtextCombo)

        self.retranslateUi(FindFileDialog)
        QtCore.QObject.connect(self.dirButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.dirEdit.setEnabled)
        QtCore.QObject.connect(self.dirButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.dirSelectButton.setEnabled)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), FindFileDialog.close)
        QtCore.QObject.connect(self.filterCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.filterEdit.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(FindFileDialog)
        FindFileDialog.setTabOrder(self.findtextCombo, self.replacetextCombo)
        FindFileDialog.setTabOrder(self.replacetextCombo, self.caseCheckBox)
        FindFileDialog.setTabOrder(self.caseCheckBox, self.wordCheckBox)
        FindFileDialog.setTabOrder(self.wordCheckBox, self.regexpCheckBox)
        FindFileDialog.setTabOrder(self.regexpCheckBox, self.feelLikeCheckBox)
        FindFileDialog.setTabOrder(self.feelLikeCheckBox, self.sourcesCheckBox)
        FindFileDialog.setTabOrder(self.sourcesCheckBox, self.formsCheckBox)
        FindFileDialog.setTabOrder(self.formsCheckBox, self.resourcesCheckBox)
        FindFileDialog.setTabOrder(self.resourcesCheckBox, self.interfacesCheckBox)
        FindFileDialog.setTabOrder(self.interfacesCheckBox, self.filterCheckBox)
        FindFileDialog.setTabOrder(self.filterCheckBox, self.filterEdit)
        FindFileDialog.setTabOrder(self.filterEdit, self.projectButton)
        FindFileDialog.setTabOrder(self.projectButton, self.dirButton)
        FindFileDialog.setTabOrder(self.dirButton, self.dirEdit)
        FindFileDialog.setTabOrder(self.dirEdit, self.openFilesButton)
        FindFileDialog.setTabOrder(self.openFilesButton, self.findList)
        FindFileDialog.setTabOrder(self.findList, self.replaceButton)
        FindFileDialog.setTabOrder(self.replaceButton, self.buttonBox)

    def retranslateUi(self, FindFileDialog):
        self.findList.setSortingEnabled(True)

from E4Gui.E4SqueezeLabels import E4SqueezeLabelPath
