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

# Form implementation generated from reading ui file '/home/offedetl/Development/Eric4/eric4_3/eric4/QScintilla/SearchDialog.ui'
#
# Created: Mon Oct  6 15:31:24 2008
#      by: PyQt4 UI code generator 4.4.4-snapshot-20080928
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_SearchDialog(object):
    def setupUi(self, SearchDialog):
        SearchDialog.setObjectName("SearchDialog")
        SearchDialog.resize(572, 174)
        SearchDialog.setSizeGripEnabled(True)
        self._2 = QtGui.QGridLayout(SearchDialog)
        self._2.setObjectName("_2")
        self.optionsBox = QtGui.QGroupBox(SearchDialog)
        self.optionsBox.setObjectName("optionsBox")
        self.gridlayout = QtGui.QGridLayout(self.optionsBox)
        self.gridlayout.setObjectName("gridlayout")
        self.wordCheckBox = QtGui.QCheckBox(self.optionsBox)
        self.wordCheckBox.setObjectName("wordCheckBox")
        self.gridlayout.addWidget(self.wordCheckBox, 0, 1, 1, 1)
        self.regexpCheckBox = QtGui.QCheckBox(self.optionsBox)
        self.regexpCheckBox.setObjectName("regexpCheckBox")
        self.gridlayout.addWidget(self.regexpCheckBox, 1, 0, 1, 1)
        self.wrapCheckBox = QtGui.QCheckBox(self.optionsBox)
        self.wrapCheckBox.setObjectName("wrapCheckBox")
        self.gridlayout.addWidget(self.wrapCheckBox, 1, 1, 1, 1)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.limitCheckBox = QtGui.QCheckBox(self.optionsBox)
        self.limitCheckBox.setObjectName("limitCheckBox")
        self.hboxlayout.addWidget(self.limitCheckBox)
        self.linesFrame = QtGui.QFrame(self.optionsBox)
        self.linesFrame.setEnabled(False)
        self.linesFrame.setFrameShape(QtGui.QFrame.NoFrame)
        self.linesFrame.setFrameShadow(QtGui.QFrame.Raised)
        self.linesFrame.setObjectName("linesFrame")
        self.hboxlayout1 = QtGui.QHBoxLayout(self.linesFrame)
        self.hboxlayout1.setObjectName("hboxlayout1")
        self.textLabel1 = QtGui.QLabel(self.linesFrame)
        self.textLabel1.setObjectName("textLabel1")
        self.hboxlayout1.addWidget(self.textLabel1)
        self.startLineSpinBox = QtGui.QSpinBox(self.linesFrame)
        self.startLineSpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.startLineSpinBox.setMinimum(1)
        self.startLineSpinBox.setMaximum(99999)
        self.startLineSpinBox.setObjectName("startLineSpinBox")
        self.hboxlayout1.addWidget(self.startLineSpinBox)
        self.textLabel2 = QtGui.QLabel(self.linesFrame)
        self.textLabel2.setObjectName("textLabel2")
        self.hboxlayout1.addWidget(self.textLabel2)
        self.endLineSpinBox = QtGui.QSpinBox(self.linesFrame)
        self.endLineSpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.endLineSpinBox.setMinimum(1)
        self.endLineSpinBox.setMaximum(99999)
        self.endLineSpinBox.setProperty("value", QtCore.QVariant(99999))
        self.endLineSpinBox.setObjectName("endLineSpinBox")
        self.hboxlayout1.addWidget(self.endLineSpinBox)
        self.hboxlayout.addWidget(self.linesFrame)
        spacerItem = QtGui.QSpacerItem(71, 23, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.gridlayout.addLayout(self.hboxlayout, 2, 0, 1, 2)
        self.caseCheckBox = QtGui.QCheckBox(self.optionsBox)
        self.caseCheckBox.setObjectName("caseCheckBox")
        self.gridlayout.addWidget(self.caseCheckBox, 0, 0, 1, 1)
        self._2.addWidget(self.optionsBox, 1, 1, 1, 1)
        self._3 = QtGui.QVBoxLayout()
        self._3.setObjectName("_3")
        self.findNextButton = QtGui.QPushButton(SearchDialog)
        self.findNextButton.setEnabled(False)
        self.findNextButton.setAutoDefault(False)
        self.findNextButton.setObjectName("findNextButton")
        self._3.addWidget(self.findNextButton)
        self.findPrevButton = QtGui.QPushButton(SearchDialog)
        self.findPrevButton.setEnabled(False)
        self.findPrevButton.setAutoDefault(False)
        self.findPrevButton.setObjectName("findPrevButton")
        self._3.addWidget(self.findPrevButton)
        self.cancelButton = QtGui.QPushButton(SearchDialog)
        self.cancelButton.setAutoDefault(False)
        self.cancelButton.setObjectName("cancelButton")
        self._3.addWidget(self.cancelButton)
        spacerItem1 = QtGui.QSpacerItem(75, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self._3.addItem(spacerItem1)
        self._2.addLayout(self._3, 0, 2, 2, 1)
        self.TextLabel1 = QtGui.QLabel(SearchDialog)
        self.TextLabel1.setObjectName("TextLabel1")
        self._2.addWidget(self.TextLabel1, 0, 0, 1, 1)
        self.findtextCombo = QtGui.QComboBox(SearchDialog)
        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._2.addWidget(self.findtextCombo, 0, 1, 1, 1)
        self.TextLabel1.setBuddy(self.findtextCombo)

        self.retranslateUi(SearchDialog)
        QtCore.QObject.connect(self.cancelButton, QtCore.SIGNAL("clicked()"), SearchDialog.close)
        QtCore.QObject.connect(self.limitCheckBox, QtCore.SIGNAL("toggled(bool)"), self.linesFrame.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(SearchDialog)
        SearchDialog.setTabOrder(self.findtextCombo, self.caseCheckBox)
        SearchDialog.setTabOrder(self.caseCheckBox, self.wordCheckBox)
        SearchDialog.setTabOrder(self.wordCheckBox, self.regexpCheckBox)
        SearchDialog.setTabOrder(self.regexpCheckBox, self.wrapCheckBox)
        SearchDialog.setTabOrder(self.wrapCheckBox, self.limitCheckBox)
        SearchDialog.setTabOrder(self.limitCheckBox, self.startLineSpinBox)
        SearchDialog.setTabOrder(self.startLineSpinBox, self.endLineSpinBox)
        SearchDialog.setTabOrder(self.endLineSpinBox, self.findNextButton)
        SearchDialog.setTabOrder(self.findNextButton, self.findPrevButton)
        SearchDialog.setTabOrder(self.findPrevButton, self.cancelButton)

    def retranslateUi(self, SearchDialog):
        SearchDialog.setWindowTitle(QtGui.QApplication.translate("SearchDialog", "Find", None, QtGui.QApplication.UnicodeUTF8))
        self.optionsBox.setTitle(QtGui.QApplication.translate("SearchDialog", "Options", None, QtGui.QApplication.UnicodeUTF8))
        self.wordCheckBox.setText(QtGui.QApplication.translate("SearchDialog", "Whole &word", None, QtGui.QApplication.UnicodeUTF8))
        self.wordCheckBox.setShortcut(QtGui.QApplication.translate("SearchDialog", "Alt+W", None, QtGui.QApplication.UnicodeUTF8))
        self.regexpCheckBox.setText(QtGui.QApplication.translate("SearchDialog", "Regular &Expression", None, QtGui.QApplication.UnicodeUTF8))
        self.regexpCheckBox.setShortcut(QtGui.QApplication.translate("SearchDialog", "Alt+E", None, QtGui.QApplication.UnicodeUTF8))
        self.wrapCheckBox.setText(QtGui.QApplication.translate("SearchDialog", "Wrap aroun&d", None, QtGui.QApplication.UnicodeUTF8))
        self.limitCheckBox.setToolTip(QtGui.QApplication.translate("SearchDialog", "Select, if the search should be limited to the specified lines", None, QtGui.QApplication.UnicodeUTF8))
        self.limitCheckBox.setText(QtGui.QApplication.translate("SearchDialog", "&Limit search", None, QtGui.QApplication.UnicodeUTF8))
        self.limitCheckBox.setShortcut(QtGui.QApplication.translate("SearchDialog", "Alt+L", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("SearchDialog", "Start line", None, QtGui.QApplication.UnicodeUTF8))
        self.startLineSpinBox.setToolTip(QtGui.QApplication.translate("SearchDialog", "Enter the line number to start the search", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("SearchDialog", "End line", None, QtGui.QApplication.UnicodeUTF8))
        self.endLineSpinBox.setToolTip(QtGui.QApplication.translate("SearchDialog", "Enter the line number to end the search", None, QtGui.QApplication.UnicodeUTF8))
        self.caseCheckBox.setText(QtGui.QApplication.translate("SearchDialog", "&Match upper/lower case", None, QtGui.QApplication.UnicodeUTF8))
        self.caseCheckBox.setShortcut(QtGui.QApplication.translate("SearchDialog", "Alt+M", None, QtGui.QApplication.UnicodeUTF8))
        self.findNextButton.setText(QtGui.QApplication.translate("SearchDialog", "Find &Next", None, QtGui.QApplication.UnicodeUTF8))
        self.findPrevButton.setText(QtGui.QApplication.translate("SearchDialog", "Find &Prev", None, QtGui.QApplication.UnicodeUTF8))
        self.cancelButton.setText(QtGui.QApplication.translate("SearchDialog", "&Close", None, QtGui.QApplication.UnicodeUTF8))
        self.cancelButton.setShortcut(QtGui.QApplication.translate("SearchDialog", "Alt+C", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1.setText(QtGui.QApplication.translate("SearchDialog", "Find &text:", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    SearchDialog = QtGui.QDialog()
    ui = Ui_SearchDialog()
    ui.setupUi(SearchDialog)
    SearchDialog.show()
    sys.exit(app.exec_())

