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

# Form implementation generated from reading ui file 'eric/HexEdit/HexEditReplaceWidget.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# 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_HexEditReplaceWidget(object):
    def setupUi(self, HexEditReplaceWidget):
        HexEditReplaceWidget.setObjectName(_fromUtf8("HexEditReplaceWidget"))
        HexEditReplaceWidget.resize(600, 58)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(HexEditReplaceWidget.sizePolicy().hasHeightForWidth())
        HexEditReplaceWidget.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(HexEditReplaceWidget)
        self.gridLayout.setMargin(1)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.closeButton = QtGui.QToolButton(HexEditReplaceWidget)
        self.closeButton.setText(_fromUtf8(""))
        self.closeButton.setObjectName(_fromUtf8("closeButton"))
        self.gridLayout.addWidget(self.closeButton, 0, 0, 1, 1)
        self.label = QtGui.QLabel(HexEditReplaceWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 1, 1, 1)
        self.findFormatCombo = QtGui.QComboBox(HexEditReplaceWidget)
        self.findFormatCombo.setObjectName(_fromUtf8("findFormatCombo"))
        self.gridLayout.addWidget(self.findFormatCombo, 0, 2, 1, 1)
        self.findtextCombo = QtGui.QComboBox(HexEditReplaceWidget)
        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.setMinimumSize(QtCore.QSize(300, 0))
        self.findtextCombo.setEditable(True)
        self.findtextCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.findtextCombo.setDuplicatesEnabled(False)
        self.findtextCombo.setObjectName(_fromUtf8("findtextCombo"))
        self.gridLayout.addWidget(self.findtextCombo, 0, 3, 1, 1)
        self.findPrevButton = QtGui.QToolButton(HexEditReplaceWidget)
        self.findPrevButton.setObjectName(_fromUtf8("findPrevButton"))
        self.gridLayout.addWidget(self.findPrevButton, 0, 4, 1, 1)
        self.findNextButton = QtGui.QToolButton(HexEditReplaceWidget)
        self.findNextButton.setObjectName(_fromUtf8("findNextButton"))
        self.gridLayout.addWidget(self.findNextButton, 0, 5, 1, 1)
        self.label_2 = QtGui.QLabel(HexEditReplaceWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 1, 1, 1)
        self.replaceFormatCombo = QtGui.QComboBox(HexEditReplaceWidget)
        self.replaceFormatCombo.setObjectName(_fromUtf8("replaceFormatCombo"))
        self.gridLayout.addWidget(self.replaceFormatCombo, 1, 2, 1, 1)
        self.replacetextCombo = QtGui.QComboBox(HexEditReplaceWidget)
        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.setMinimumSize(QtCore.QSize(300, 0))
        self.replacetextCombo.setEditable(True)
        self.replacetextCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.replacetextCombo.setDuplicatesEnabled(False)
        self.replacetextCombo.setObjectName(_fromUtf8("replacetextCombo"))
        self.gridLayout.addWidget(self.replacetextCombo, 1, 3, 1, 1)
        self.replaceButton = QtGui.QToolButton(HexEditReplaceWidget)
        self.replaceButton.setObjectName(_fromUtf8("replaceButton"))
        self.gridLayout.addWidget(self.replaceButton, 1, 4, 1, 1)
        self.replaceSearchButton = QtGui.QToolButton(HexEditReplaceWidget)
        self.replaceSearchButton.setObjectName(_fromUtf8("replaceSearchButton"))
        self.gridLayout.addWidget(self.replaceSearchButton, 1, 5, 1, 1)
        self.replaceAllButton = QtGui.QToolButton(HexEditReplaceWidget)
        self.replaceAllButton.setObjectName(_fromUtf8("replaceAllButton"))
        self.gridLayout.addWidget(self.replaceAllButton, 1, 6, 1, 1)

        self.retranslateUi(HexEditReplaceWidget)
        QtCore.QMetaObject.connectSlotsByName(HexEditReplaceWidget)
        HexEditReplaceWidget.setTabOrder(self.findFormatCombo, self.findtextCombo)
        HexEditReplaceWidget.setTabOrder(self.findtextCombo, self.replaceFormatCombo)
        HexEditReplaceWidget.setTabOrder(self.replaceFormatCombo, self.replacetextCombo)
        HexEditReplaceWidget.setTabOrder(self.replacetextCombo, self.findPrevButton)
        HexEditReplaceWidget.setTabOrder(self.findPrevButton, self.findNextButton)
        HexEditReplaceWidget.setTabOrder(self.findNextButton, self.replaceButton)
        HexEditReplaceWidget.setTabOrder(self.replaceButton, self.replaceSearchButton)
        HexEditReplaceWidget.setTabOrder(self.replaceSearchButton, self.replaceAllButton)
        HexEditReplaceWidget.setTabOrder(self.replaceAllButton, self.closeButton)

    def retranslateUi(self, HexEditReplaceWidget):
        HexEditReplaceWidget.setWindowTitle(_translate("HexEditReplaceWidget", "Find and Replace", None))
        self.closeButton.setToolTip(_translate("HexEditReplaceWidget", "Press to close the window", None))
        self.label.setText(_translate("HexEditReplaceWidget", "Find:", None))
        self.findFormatCombo.setToolTip(_translate("HexEditReplaceWidget", "Select the data format of the find data field", None))
        self.findPrevButton.setToolTip(_translate("HexEditReplaceWidget", "Press to find the previous occurrence", None))
        self.findNextButton.setToolTip(_translate("HexEditReplaceWidget", "Press to find the next occurrence", None))
        self.label_2.setText(_translate("HexEditReplaceWidget", "Replace:", None))
        self.replaceFormatCombo.setToolTip(_translate("HexEditReplaceWidget", "Select the data format of the replace data field", None))
        self.replaceButton.setToolTip(_translate("HexEditReplaceWidget", "Press to replace the selection", None))
        self.replaceSearchButton.setToolTip(_translate("HexEditReplaceWidget", "Press to replace the selection and search for the next occurence", None))
        self.replaceAllButton.setToolTip(_translate("HexEditReplaceWidget", "Press to replace all occurrences", None))

