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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Helpviewer/SearchDialog.ui'
#
# Created: Sat Feb  3 15:33:26 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# 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(QtCore.QSize(QtCore.QRect(0,0,433,153).size()).expandedTo(SearchDialog.minimumSizeHint()))
        SearchDialog.setSizeGripEnabled(True)

        self.vboxlayout = QtGui.QVBoxLayout(SearchDialog)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.TextLabel1 = QtGui.QLabel(SearchDialog)
        self.TextLabel1.setObjectName("TextLabel1")
        self.hboxlayout.addWidget(self.TextLabel1)

        self.findtextCombo = QtGui.QComboBox(SearchDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        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.setDuplicatesEnabled(False)
        self.findtextCombo.setObjectName("findtextCombo")
        self.hboxlayout.addWidget(self.findtextCombo)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setMargin(0)
        self.hboxlayout1.setSpacing(6)
        self.hboxlayout1.setObjectName("hboxlayout1")

        self.groupBox_2 = QtGui.QGroupBox(SearchDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(5))
        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.vboxlayout1 = QtGui.QVBoxLayout(self.groupBox_2)
        self.vboxlayout1.setMargin(6)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")

        self.caseCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.caseCheckBox.setObjectName("caseCheckBox")
        self.vboxlayout1.addWidget(self.caseCheckBox)

        self.wordCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.wordCheckBox.setObjectName("wordCheckBox")
        self.vboxlayout1.addWidget(self.wordCheckBox)
        self.hboxlayout1.addWidget(self.groupBox_2)

        self.groupBox = QtGui.QGroupBox(SearchDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")

        self.vboxlayout2 = QtGui.QVBoxLayout(self.groupBox)
        self.vboxlayout2.setMargin(6)
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setObjectName("vboxlayout2")

        self.forwardButton = QtGui.QRadioButton(self.groupBox)
        self.forwardButton.setChecked(True)
        self.forwardButton.setObjectName("forwardButton")
        self.vboxlayout2.addWidget(self.forwardButton)

        self.backwardsButton = QtGui.QRadioButton(self.groupBox)
        self.backwardsButton.setObjectName("backwardsButton")
        self.vboxlayout2.addWidget(self.backwardsButton)
        self.hboxlayout1.addWidget(self.groupBox)
        self.vboxlayout.addLayout(self.hboxlayout1)

        self.buttonBox = QtGui.QDialogButtonBox(SearchDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)
        self.TextLabel1.setBuddy(self.findtextCombo)

        self.retranslateUi(SearchDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),SearchDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),SearchDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(SearchDialog)
        SearchDialog.setTabOrder(self.findtextCombo,self.caseCheckBox)
        SearchDialog.setTabOrder(self.caseCheckBox,self.wordCheckBox)

    def retranslateUi(self, SearchDialog):
        SearchDialog.setWindowTitle(QtGui.QApplication.translate("SearchDialog", "Find", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1.setText(QtGui.QApplication.translate("SearchDialog", "Find &text:", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("SearchDialog", "Options", None, QtGui.QApplication.UnicodeUTF8))
        self.caseCheckBox.setText(QtGui.QApplication.translate("SearchDialog", "&Match upper/lower case", None, QtGui.QApplication.UnicodeUTF8))
        self.wordCheckBox.setText(QtGui.QApplication.translate("SearchDialog", "Whole &word", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("SearchDialog", "Direction", None, QtGui.QApplication.UnicodeUTF8))
        self.forwardButton.setText(QtGui.QApplication.translate("SearchDialog", "F&orward", None, QtGui.QApplication.UnicodeUTF8))
        self.backwardsButton.setText(QtGui.QApplication.translate("SearchDialog", "&Backwards", 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_())
