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

# Form implementation generated from reading ui file 'eric/UI/FindFileDialog.ui'
#
# Created: Thu Jul  8 14:17:57 2010
#      by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_FindFileDialog(object):
    def setupUi(self, FindFileDialog):
        FindFileDialog.setObjectName("FindFileDialog")
        FindFileDialog.resize(600, 750)
        self.verticalLayout = QtGui.QVBoxLayout(FindFileDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.TextLabel1 = QtGui.QLabel(FindFileDialog)
        self.TextLabel1.setObjectName("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.setEditable(True)
        self.findtextCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.findtextCombo.setAutoCompletion(False)
        self.findtextCombo.setDuplicatesEnabled(False)
        self.findtextCombo.setObjectName("findtextCombo")
        self.gridLayout_3.addWidget(self.findtextCombo, 0, 1, 1, 1)
        self.replaceLabel = QtGui.QLabel(FindFileDialog)
        self.replaceLabel.setObjectName("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.setEditable(True)
        self.replacetextCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.replacetextCombo.setAutoCompletion(False)
        self.replacetextCombo.setDuplicatesEnabled(False)
        self.replacetextCombo.setObjectName("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("horizontalLayout_2")
        self.caseCheckBox = QtGui.QCheckBox(FindFileDialog)
        self.caseCheckBox.setObjectName("caseCheckBox")
        self.horizontalLayout_2.addWidget(self.caseCheckBox)
        self.wordCheckBox = QtGui.QCheckBox(FindFileDialog)
        self.wordCheckBox.setObjectName("wordCheckBox")
        self.horizontalLayout_2.addWidget(self.wordCheckBox)
        self.regexpCheckBox = QtGui.QCheckBox(FindFileDialog)
        self.regexpCheckBox.setObjectName("regexpCheckBox")
        self.horizontalLayout_2.addWidget(self.regexpCheckBox)
        self.feelLikeCheckBox = QtGui.QCheckBox(FindFileDialog)
        self.feelLikeCheckBox.setObjectName("feelLikeCheckBox")
        self.horizontalLayout_2.addWidget(self.feelLikeCheckBox)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.groupBox = QtGui.QGroupBox(FindFileDialog)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.sourcesCheckBox = QtGui.QCheckBox(self.groupBox)
        self.sourcesCheckBox.setChecked(True)
        self.sourcesCheckBox.setObjectName("sourcesCheckBox")
        self.gridLayout.addWidget(self.sourcesCheckBox, 0, 0, 1, 1)
        self.resourcesCheckBox = QtGui.QCheckBox(self.groupBox)
        self.resourcesCheckBox.setObjectName("resourcesCheckBox")
        self.gridLayout.addWidget(self.resourcesCheckBox, 0, 1, 1, 1)
        self.formsCheckBox = QtGui.QCheckBox(self.groupBox)
        self.formsCheckBox.setObjectName("formsCheckBox")
        self.gridLayout.addWidget(self.formsCheckBox, 1, 0, 1, 1)
        self.interfacesCheckBox = QtGui.QCheckBox(self.groupBox)
        self.interfacesCheckBox.setObjectName("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("line")
        self.gridLayout.addWidget(self.line, 2, 0, 1, 2)
        self.filterCheckBox = QtGui.QCheckBox(self.groupBox)
        self.filterCheckBox.setObjectName("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.setObjectName("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.setObjectName("groupBox_2")
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.projectButton = QtGui.QRadioButton(self.groupBox_2)
        self.projectButton.setChecked(True)
        self.projectButton.setObjectName("projectButton")
        self.gridLayout_2.addWidget(self.projectButton, 0, 0, 1, 1)
        self.dirButton = QtGui.QRadioButton(self.groupBox_2)
        self.dirButton.setObjectName("dirButton")
        self.gridLayout_2.addWidget(self.dirButton, 0, 1, 1, 2)
        self.dirEdit = QtGui.QLineEdit(self.groupBox_2)
        self.dirEdit.setEnabled(False)
        self.dirEdit.setObjectName("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.setObjectName("dirSelectButton")
        self.gridLayout_2.addWidget(self.dirSelectButton, 1, 2, 1, 1)
        self.openFilesButton = QtGui.QRadioButton(self.groupBox_2)
        self.openFilesButton.setObjectName("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("")
        self.findProgressLabel.setObjectName("findProgressLabel")
        self.verticalLayout.addWidget(self.findProgressLabel)
        self.findProgress = QtGui.QProgressBar(FindFileDialog)
        self.findProgress.setProperty("value", 0)
        self.findProgress.setOrientation(QtCore.Qt.Horizontal)
        self.findProgress.setObjectName("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("findList")
        self.verticalLayout.addWidget(self.findList)
        self.replaceButton = QtGui.QPushButton(FindFileDialog)
        self.replaceButton.setObjectName("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("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("toggled(bool)"), self.dirEdit.setEnabled)
        QtCore.QObject.connect(self.dirButton, QtCore.SIGNAL("toggled(bool)"), self.dirSelectButton.setEnabled)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), FindFileDialog.close)
        QtCore.QObject.connect(self.filterCheckBox, QtCore.SIGNAL("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):
        FindFileDialog.setWindowTitle(QtGui.QApplication.translate("FindFileDialog", "Find in Files", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1.setText(QtGui.QApplication.translate("FindFileDialog", "Find &text:", None, QtGui.QApplication.UnicodeUTF8))
        self.findtextCombo.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Enter the search text or regular expression", None, QtGui.QApplication.UnicodeUTF8))
        self.replaceLabel.setText(QtGui.QApplication.translate("FindFileDialog", "Replace te&xt:", None, QtGui.QApplication.UnicodeUTF8))
        self.replacetextCombo.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Enter the replacement text or regular expression", None, QtGui.QApplication.UnicodeUTF8))
        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.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.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.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.groupBox.setTitle(QtGui.QApplication.translate("FindFileDialog", "File type", None, QtGui.QApplication.UnicodeUTF8))
        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.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.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.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.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.filterEdit.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Enter the filename wildcards separated by \';\'", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("FindFileDialog", "Find in", None, QtGui.QApplication.UnicodeUTF8))
        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.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.dirEdit.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Enter the directory to search in", None, QtGui.QApplication.UnicodeUTF8))
        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.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.findProgress.setToolTip(QtGui.QApplication.translate("FindFileDialog", "Shows the progress of the search action", None, QtGui.QApplication.UnicodeUTF8))
        self.findList.setSortingEnabled(True)
        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.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))

from E4Gui.E4SqueezeLabels import E4SqueezeLabelPath
