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

# Form implementation generated from reading ui file 'eric/QScintilla/ReplaceWidget.ui'
#
# Created: Thu Jul  8 14:18:16 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_ReplaceWidget(object):
    def setupUi(self, ReplaceWidget):
        ReplaceWidget.setObjectName("ReplaceWidget")
        ReplaceWidget.resize(722, 56)
        self.gridLayout = QtGui.QGridLayout(ReplaceWidget)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName("gridLayout")
        self.closeButton = QtGui.QToolButton(ReplaceWidget)
        self.closeButton.setText("")
        self.closeButton.setObjectName("closeButton")
        self.gridLayout.addWidget(self.closeButton, 0, 0, 1, 1)
        self.label = QtGui.QLabel(ReplaceWidget)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 1, 1, 1)
        self.findtextCombo = QtGui.QComboBox(ReplaceWidget)
        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.addWidget(self.findtextCombo, 0, 2, 1, 1)
        self.findPrevButton = QtGui.QToolButton(ReplaceWidget)
        self.findPrevButton.setObjectName("findPrevButton")
        self.gridLayout.addWidget(self.findPrevButton, 0, 3, 1, 1)
        self.findNextButton = QtGui.QToolButton(ReplaceWidget)
        self.findNextButton.setObjectName("findNextButton")
        self.gridLayout.addWidget(self.findNextButton, 0, 4, 1, 1)
        self.caseCheckBox = QtGui.QCheckBox(ReplaceWidget)
        self.caseCheckBox.setObjectName("caseCheckBox")
        self.gridLayout.addWidget(self.caseCheckBox, 0, 5, 1, 1)
        self.wordCheckBox = QtGui.QCheckBox(ReplaceWidget)
        self.wordCheckBox.setObjectName("wordCheckBox")
        self.gridLayout.addWidget(self.wordCheckBox, 0, 6, 1, 1)
        self.regexpCheckBox = QtGui.QCheckBox(ReplaceWidget)
        self.regexpCheckBox.setObjectName("regexpCheckBox")
        self.gridLayout.addWidget(self.regexpCheckBox, 0, 7, 1, 1)
        self.label_2 = QtGui.QLabel(ReplaceWidget)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 1, 1, 1)
        self.replacetextCombo = QtGui.QComboBox(ReplaceWidget)
        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.addWidget(self.replacetextCombo, 1, 2, 1, 1)
        self.replaceButton = QtGui.QToolButton(ReplaceWidget)
        self.replaceButton.setObjectName("replaceButton")
        self.gridLayout.addWidget(self.replaceButton, 1, 3, 1, 1)
        self.replaceAllButton = QtGui.QToolButton(ReplaceWidget)
        self.replaceAllButton.setObjectName("replaceAllButton")
        self.gridLayout.addWidget(self.replaceAllButton, 1, 4, 1, 1)
        self.wrapCheckBox = QtGui.QCheckBox(ReplaceWidget)
        self.wrapCheckBox.setObjectName("wrapCheckBox")
        self.gridLayout.addWidget(self.wrapCheckBox, 1, 5, 1, 1)
        self.selectionCheckBox = QtGui.QCheckBox(ReplaceWidget)
        self.selectionCheckBox.setObjectName("selectionCheckBox")
        self.gridLayout.addWidget(self.selectionCheckBox, 1, 6, 1, 1)

        self.retranslateUi(ReplaceWidget)
        QtCore.QMetaObject.connectSlotsByName(ReplaceWidget)
        ReplaceWidget.setTabOrder(self.findtextCombo, self.replacetextCombo)
        ReplaceWidget.setTabOrder(self.replacetextCombo, self.caseCheckBox)
        ReplaceWidget.setTabOrder(self.caseCheckBox, self.wordCheckBox)
        ReplaceWidget.setTabOrder(self.wordCheckBox, self.regexpCheckBox)
        ReplaceWidget.setTabOrder(self.regexpCheckBox, self.wrapCheckBox)
        ReplaceWidget.setTabOrder(self.wrapCheckBox, self.selectionCheckBox)
        ReplaceWidget.setTabOrder(self.selectionCheckBox, self.findNextButton)
        ReplaceWidget.setTabOrder(self.findNextButton, self.findPrevButton)
        ReplaceWidget.setTabOrder(self.findPrevButton, self.replaceButton)
        ReplaceWidget.setTabOrder(self.replaceButton, self.replaceAllButton)
        ReplaceWidget.setTabOrder(self.replaceAllButton, self.closeButton)

    def retranslateUi(self, ReplaceWidget):
        ReplaceWidget.setWindowTitle(QtGui.QApplication.translate("ReplaceWidget", "Find and Replace", None, QtGui.QApplication.UnicodeUTF8))
        self.closeButton.setToolTip(QtGui.QApplication.translate("ReplaceWidget", "Press to close the window", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("ReplaceWidget", "Find:", None, QtGui.QApplication.UnicodeUTF8))
        self.findPrevButton.setToolTip(QtGui.QApplication.translate("ReplaceWidget", "Press to find the previous occurrence", None, QtGui.QApplication.UnicodeUTF8))
        self.findNextButton.setToolTip(QtGui.QApplication.translate("ReplaceWidget", "Press to find the next occurrence", None, QtGui.QApplication.UnicodeUTF8))
        self.caseCheckBox.setText(QtGui.QApplication.translate("ReplaceWidget", "Match case", None, QtGui.QApplication.UnicodeUTF8))
        self.wordCheckBox.setText(QtGui.QApplication.translate("ReplaceWidget", "Whole word", None, QtGui.QApplication.UnicodeUTF8))
        self.regexpCheckBox.setText(QtGui.QApplication.translate("ReplaceWidget", "Regexp", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("ReplaceWidget", "Replace:", None, QtGui.QApplication.UnicodeUTF8))
        self.replaceButton.setToolTip(QtGui.QApplication.translate("ReplaceWidget", "Press to replace the selection", None, QtGui.QApplication.UnicodeUTF8))
        self.replaceAllButton.setToolTip(QtGui.QApplication.translate("ReplaceWidget", "Press to replace all occurrences", None, QtGui.QApplication.UnicodeUTF8))
        self.wrapCheckBox.setText(QtGui.QApplication.translate("ReplaceWidget", "Wrap around", None, QtGui.QApplication.UnicodeUTF8))
        self.selectionCheckBox.setText(QtGui.QApplication.translate("ReplaceWidget", "Selection only", None, QtGui.QApplication.UnicodeUTF8))

