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

# Form implementation generated from reading ui file 'eric/UI/SearchWidget.ui'
#
# Created: Sun Jun  7 11:02:37 2015
#      by: PyQt4 UI code generator 4.11.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_SearchWidget(object):
    def setupUi(self, SearchWidget):
        SearchWidget.setObjectName(_fromUtf8("SearchWidget"))
        SearchWidget.resize(274, 142)
        self.verticalLayout = QtGui.QVBoxLayout(SearchWidget)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.closeButton = QtGui.QToolButton(SearchWidget)
        self.closeButton.setText(_fromUtf8(""))
        self.closeButton.setObjectName(_fromUtf8("closeButton"))
        self.horizontalLayout.addWidget(self.closeButton)
        self.label = QtGui.QLabel(SearchWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.findtextCombo = QtGui.QComboBox(SearchWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.findtextCombo.sizePolicy().hasHeightForWidth())
        self.findtextCombo.setSizePolicy(sizePolicy)
        self.findtextCombo.setMinimumSize(QtCore.QSize(200, 0))
        self.findtextCombo.setEditable(True)
        self.findtextCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.findtextCombo.setDuplicatesEnabled(False)
        self.findtextCombo.setObjectName(_fromUtf8("findtextCombo"))
        self.horizontalLayout.addWidget(self.findtextCombo)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.caseCheckBox = QtGui.QCheckBox(SearchWidget)
        self.caseCheckBox.setObjectName(_fromUtf8("caseCheckBox"))
        self.horizontalLayout_2.addWidget(self.caseCheckBox)
        self.wordCheckBox = QtGui.QCheckBox(SearchWidget)
        self.wordCheckBox.setObjectName(_fromUtf8("wordCheckBox"))
        self.horizontalLayout_2.addWidget(self.wordCheckBox)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.findPrevButton = QtGui.QToolButton(SearchWidget)
        self.findPrevButton.setObjectName(_fromUtf8("findPrevButton"))
        self.horizontalLayout_3.addWidget(self.findPrevButton)
        self.findNextButton = QtGui.QToolButton(SearchWidget)
        self.findNextButton.setObjectName(_fromUtf8("findNextButton"))
        self.horizontalLayout_3.addWidget(self.findNextButton)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.statusLabel = QtGui.QLabel(SearchWidget)
        self.statusLabel.setText(_fromUtf8(""))
        self.statusLabel.setWordWrap(True)
        self.statusLabel.setObjectName(_fromUtf8("statusLabel"))
        self.verticalLayout.addWidget(self.statusLabel)

        self.retranslateUi(SearchWidget)
        QtCore.QMetaObject.connectSlotsByName(SearchWidget)
        SearchWidget.setTabOrder(self.findtextCombo, self.caseCheckBox)
        SearchWidget.setTabOrder(self.caseCheckBox, self.wordCheckBox)
        SearchWidget.setTabOrder(self.wordCheckBox, self.findPrevButton)
        SearchWidget.setTabOrder(self.findPrevButton, self.findNextButton)
        SearchWidget.setTabOrder(self.findNextButton, self.closeButton)

    def retranslateUi(self, SearchWidget):
        SearchWidget.setWindowTitle(_translate("SearchWidget", "Find", None))
        self.closeButton.setToolTip(_translate("SearchWidget", "Press to close the window", None))
        self.label.setText(_translate("SearchWidget", "Find:", None))
        self.caseCheckBox.setText(_translate("SearchWidget", "Match case", None))
        self.wordCheckBox.setText(_translate("SearchWidget", "Whole word", None))
        self.findPrevButton.setToolTip(_translate("SearchWidget", "Press to find the previous occurrence", None))
        self.findNextButton.setToolTip(_translate("SearchWidget", "Press to find the next occurrence", None))

