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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_2/eric4/Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardDialog.ui'
#
# Created: Mon Mar 17 18:35:53 2008
#      by: PyQt4 UI code generator 4.3.4-snapshot-20080307
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_PyRegExpWizardDialog(object):
    def setupUi(self, PyRegExpWizardDialog):
        PyRegExpWizardDialog.setObjectName("PyRegExpWizardDialog")
        PyRegExpWizardDialog.resize(QtCore.QSize(QtCore.QRect(0,0,750,600).size()).expandedTo(PyRegExpWizardDialog.minimumSizeHint()))
        PyRegExpWizardDialog.setProperty("sizeGripEnabled",QtCore.QVariant(True))

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

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

        self.variableLabel = QtGui.QLabel(PyRegExpWizardDialog)
        self.variableLabel.setObjectName("variableLabel")
        self.hboxlayout.addWidget(self.variableLabel)

        self.variableLineEdit = QtGui.QLineEdit(PyRegExpWizardDialog)
        self.variableLineEdit.setObjectName("variableLineEdit")
        self.hboxlayout.addWidget(self.variableLineEdit)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.importCheckBox = QtGui.QCheckBox(PyRegExpWizardDialog)
        self.importCheckBox.setObjectName("importCheckBox")
        self.vboxlayout.addWidget(self.importCheckBox)

        self.variableLine = QtGui.QFrame(PyRegExpWizardDialog)
        self.variableLine.setFrameShape(QtGui.QFrame.HLine)
        self.variableLine.setFrameShadow(QtGui.QFrame.Sunken)
        self.variableLine.setFrameShape(QtGui.QFrame.HLine)
        self.variableLine.setFrameShadow(QtGui.QFrame.Sunken)
        self.variableLine.setObjectName("variableLine")
        self.vboxlayout.addWidget(self.variableLine)

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

        self.commentButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.commentButton.setObjectName("commentButton")
        self.hboxlayout1.addWidget(self.commentButton)

        self.charButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.charButton.setObjectName("charButton")
        self.hboxlayout1.addWidget(self.charButton)

        self.anycharButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.anycharButton.setObjectName("anycharButton")
        self.hboxlayout1.addWidget(self.anycharButton)

        self.repeatButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.repeatButton.setObjectName("repeatButton")
        self.hboxlayout1.addWidget(self.repeatButton)

        self.nonGroupButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.nonGroupButton.setObjectName("nonGroupButton")
        self.hboxlayout1.addWidget(self.nonGroupButton)

        self.groupButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.groupButton.setObjectName("groupButton")
        self.hboxlayout1.addWidget(self.groupButton)

        self.namedGroupButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.namedGroupButton.setObjectName("namedGroupButton")
        self.hboxlayout1.addWidget(self.namedGroupButton)

        self.namedReferenceButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.namedReferenceButton.setObjectName("namedReferenceButton")
        self.hboxlayout1.addWidget(self.namedReferenceButton)

        self.altnButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.altnButton.setObjectName("altnButton")
        self.hboxlayout1.addWidget(self.altnButton)

        self.beglineButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.beglineButton.setObjectName("beglineButton")
        self.hboxlayout1.addWidget(self.beglineButton)

        self.endlineButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.endlineButton.setObjectName("endlineButton")
        self.hboxlayout1.addWidget(self.endlineButton)

        self.wordboundButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.wordboundButton.setObjectName("wordboundButton")
        self.hboxlayout1.addWidget(self.wordboundButton)

        self.nonwordboundButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.nonwordboundButton.setObjectName("nonwordboundButton")
        self.hboxlayout1.addWidget(self.nonwordboundButton)

        self.poslookaheadButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.poslookaheadButton.setObjectName("poslookaheadButton")
        self.hboxlayout1.addWidget(self.poslookaheadButton)

        self.neglookaheadButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.neglookaheadButton.setObjectName("neglookaheadButton")
        self.hboxlayout1.addWidget(self.neglookaheadButton)

        self.poslookbehindButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.poslookbehindButton.setObjectName("poslookbehindButton")
        self.hboxlayout1.addWidget(self.poslookbehindButton)

        self.neglookbehindButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.neglookbehindButton.setObjectName("neglookbehindButton")
        self.hboxlayout1.addWidget(self.neglookbehindButton)

        spacerItem = QtGui.QSpacerItem(16,20,QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem)

        self.undoButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.undoButton.setObjectName("undoButton")
        self.hboxlayout1.addWidget(self.undoButton)

        self.redoButton = QtGui.QToolButton(PyRegExpWizardDialog)
        self.redoButton.setObjectName("redoButton")
        self.hboxlayout1.addWidget(self.redoButton)

        spacerItem1 = QtGui.QSpacerItem(20,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem1)
        self.vboxlayout.addLayout(self.hboxlayout1)

        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setMargin(0)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.textLabel1 = QtGui.QLabel(PyRegExpWizardDialog)
        self.textLabel1.setAlignment(QtCore.Qt.AlignTop)
        self.textLabel1.setObjectName("textLabel1")
        self.gridlayout.addWidget(self.textLabel1,0,0,1,1)

        self.regexpTextEdit = QtGui.QTextEdit(PyRegExpWizardDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.regexpTextEdit.sizePolicy().hasHeightForWidth())
        self.regexpTextEdit.setSizePolicy(sizePolicy)
        self.regexpTextEdit.setAcceptRichText(False)
        self.regexpTextEdit.setObjectName("regexpTextEdit")
        self.gridlayout.addWidget(self.regexpTextEdit,0,1,1,1)

        self.resultTable = QtGui.QTableWidget(PyRegExpWizardDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(2)
        sizePolicy.setHeightForWidth(self.resultTable.sizePolicy().hasHeightForWidth())
        self.resultTable.setSizePolicy(sizePolicy)
        self.resultTable.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.resultTable.setObjectName("resultTable")
        self.gridlayout.addWidget(self.resultTable,3,0,1,2)

        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setMargin(0)
        self.gridlayout1.setSpacing(6)
        self.gridlayout1.setObjectName("gridlayout1")

        self.multilineCheckBox = QtGui.QCheckBox(PyRegExpWizardDialog)
        self.multilineCheckBox.setObjectName("multilineCheckBox")
        self.gridlayout1.addWidget(self.multilineCheckBox,0,1,1,1)

        self.unicodeCheckBox = QtGui.QCheckBox(PyRegExpWizardDialog)
        self.unicodeCheckBox.setObjectName("unicodeCheckBox")
        self.gridlayout1.addWidget(self.unicodeCheckBox,1,2,1,1)

        self.verboseCheckBox = QtGui.QCheckBox(PyRegExpWizardDialog)
        self.verboseCheckBox.setObjectName("verboseCheckBox")
        self.gridlayout1.addWidget(self.verboseCheckBox,1,0,1,1)

        self.caseSensitiveCheckBox = QtGui.QCheckBox(PyRegExpWizardDialog)
        self.caseSensitiveCheckBox.setChecked(True)
        self.caseSensitiveCheckBox.setObjectName("caseSensitiveCheckBox")
        self.gridlayout1.addWidget(self.caseSensitiveCheckBox,0,0,1,1)

        self.localeCheckBox = QtGui.QCheckBox(PyRegExpWizardDialog)
        self.localeCheckBox.setObjectName("localeCheckBox")
        self.gridlayout1.addWidget(self.localeCheckBox,1,1,1,1)

        self.dotallCheckBox = QtGui.QCheckBox(PyRegExpWizardDialog)
        self.dotallCheckBox.setObjectName("dotallCheckBox")
        self.gridlayout1.addWidget(self.dotallCheckBox,0,2,1,1)
        self.gridlayout.addLayout(self.gridlayout1,2,0,1,2)

        self.textLabel2 = QtGui.QLabel(PyRegExpWizardDialog)
        self.textLabel2.setAlignment(QtCore.Qt.AlignTop)
        self.textLabel2.setObjectName("textLabel2")
        self.gridlayout.addWidget(self.textLabel2,1,0,1,1)

        self.textTextEdit = QtGui.QTextEdit(PyRegExpWizardDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.textTextEdit.sizePolicy().hasHeightForWidth())
        self.textTextEdit.setSizePolicy(sizePolicy)
        self.textTextEdit.setAcceptRichText(False)
        self.textTextEdit.setObjectName("textTextEdit")
        self.gridlayout.addWidget(self.textTextEdit,1,1,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(PyRegExpWizardDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Close|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(PyRegExpWizardDialog)
        QtCore.QMetaObject.connectSlotsByName(PyRegExpWizardDialog)
        PyRegExpWizardDialog.setTabOrder(self.variableLineEdit,self.importCheckBox)
        PyRegExpWizardDialog.setTabOrder(self.importCheckBox,self.regexpTextEdit)
        PyRegExpWizardDialog.setTabOrder(self.regexpTextEdit,self.textTextEdit)
        PyRegExpWizardDialog.setTabOrder(self.textTextEdit,self.caseSensitiveCheckBox)
        PyRegExpWizardDialog.setTabOrder(self.caseSensitiveCheckBox,self.verboseCheckBox)
        PyRegExpWizardDialog.setTabOrder(self.verboseCheckBox,self.multilineCheckBox)
        PyRegExpWizardDialog.setTabOrder(self.multilineCheckBox,self.localeCheckBox)
        PyRegExpWizardDialog.setTabOrder(self.localeCheckBox,self.dotallCheckBox)
        PyRegExpWizardDialog.setTabOrder(self.dotallCheckBox,self.unicodeCheckBox)
        PyRegExpWizardDialog.setTabOrder(self.unicodeCheckBox,self.resultTable)
        PyRegExpWizardDialog.setTabOrder(self.resultTable,self.commentButton)
        PyRegExpWizardDialog.setTabOrder(self.commentButton,self.charButton)
        PyRegExpWizardDialog.setTabOrder(self.charButton,self.anycharButton)
        PyRegExpWizardDialog.setTabOrder(self.anycharButton,self.repeatButton)
        PyRegExpWizardDialog.setTabOrder(self.repeatButton,self.nonGroupButton)
        PyRegExpWizardDialog.setTabOrder(self.nonGroupButton,self.groupButton)
        PyRegExpWizardDialog.setTabOrder(self.groupButton,self.namedGroupButton)
        PyRegExpWizardDialog.setTabOrder(self.namedGroupButton,self.namedReferenceButton)
        PyRegExpWizardDialog.setTabOrder(self.namedReferenceButton,self.altnButton)
        PyRegExpWizardDialog.setTabOrder(self.altnButton,self.beglineButton)
        PyRegExpWizardDialog.setTabOrder(self.beglineButton,self.endlineButton)
        PyRegExpWizardDialog.setTabOrder(self.endlineButton,self.wordboundButton)
        PyRegExpWizardDialog.setTabOrder(self.wordboundButton,self.nonwordboundButton)
        PyRegExpWizardDialog.setTabOrder(self.nonwordboundButton,self.poslookaheadButton)
        PyRegExpWizardDialog.setTabOrder(self.poslookaheadButton,self.neglookaheadButton)
        PyRegExpWizardDialog.setTabOrder(self.neglookaheadButton,self.poslookbehindButton)
        PyRegExpWizardDialog.setTabOrder(self.poslookbehindButton,self.neglookbehindButton)
        PyRegExpWizardDialog.setTabOrder(self.neglookbehindButton,self.undoButton)
        PyRegExpWizardDialog.setTabOrder(self.undoButton,self.redoButton)

    def retranslateUi(self, PyRegExpWizardDialog):
        PyRegExpWizardDialog.setWindowTitle(QtGui.QApplication.translate("PyRegExpWizardDialog", "Python re Wizard", None, QtGui.QApplication.UnicodeUTF8))
        self.variableLabel.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "Variable Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.importCheckBox.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "Include import statement", None, QtGui.QApplication.UnicodeUTF8))
        self.commentButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Comment: (?#)</b>\n"
        "<p>Insert some comment inside your regexp.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.commentButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Comment: (?#)</b>\n"
        "<p>Insert some comment inside your regexp.The regex engine ignores everything after the (?# until the first closing round bracket. \n"
        "The following example could clarify the regexp which match a valid date: </p>\n"
        "<p>(?#year)(19|20)\\d\\d[- /.](?#month)(0[1-9]|1[012])[- /.](?#day)(0[1-9]|[12][0-9]|3[01])</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.commentButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.charButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Single character of a range (e.g. [abcd])</b><p>Select a single character of a range via a specific dialog.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.charButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Single character of a range (e.g. [abcd])</b><p>Select a single character of a range via a specific dialog. This dialog will help to edit the range of characters and add some specific conditions.</p>s", None, QtGui.QApplication.UnicodeUTF8))
        self.charButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.anycharButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Any character: \'.\'</b>\n"
        "<p>Select to insert a dot (.) in your regexp.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.anycharButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Any character: \'.\'</b>\n"
        "<p>Select to insert a dot (.) in your regexp. The dot matches a single character, except line break characters (by default). \n"
        "E.g. \'gr.y\' matches \'gray\', \'grey\', \'gr%y\', etc. Use the dot sparingly. Often, a character class or negated\n"
        "character class is faster and more precise.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.anycharButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.repeatButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Repeat contents</b>\n"
        "<p>Select a repetition condition via a specific dialog. This dialog will help to specify the allowed range for repetitions.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.repeatButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Repeat contents</b>\n"
        "<p>Select a repetition condition via a specific dialog. This dialog will help to specify the allowed range for repetitions.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.repeatButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.nonGroupButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Non capturing parentheses: (?:)</b>\n"
        "<p>Select to insert some non capturing brackets.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.nonGroupButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Non capturing parentheses: (?:)</b>\n"
        "<p>Select to insert some non capturing brackets. It can be used to apply a regexp quantifier (eg. \'?\' or \'+\') to the entire\n"
        "group of characters inside the brakets. E.g. the regex \'Set(?:Value)?\' matches \'Set\' or \'SetValue\'. The \'?:\' inside the brakets\n"
        "means that the content of the match (called the backreference) is not stored for further use.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.nonGroupButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.groupButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Group: ()</b>\n"
        "<p>Select to insert some capturing brackets.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.groupButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Group: ()</b>\n"
        "<p>Select to insert some capturing brackets. They can be used to apply a regexp quantifier (e.g. \'?\' or \'+\') to the entire group of \n"
        "characters inside the brakets. E.g. the regex \'Set(Value)?\' matches \'Set\' or \'SetValue\'. Contrary to non-capturing parentheses, \n"
        "the backreference matched inside the brakets is stored for further use (i.e. \'Value\' in the second example above). \n"
        "One can access the backereference with the \'\\1\' expression. </p>\n"
        "<p>E.g. \'([a-c])x\\1x\\1\' will match \'axaxa\', \'bxbxb\' and \'cxcxc\'.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.groupButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.namedGroupButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Named group: (?P&lt;<i>groupname</i>&gt;)</b>\n"
        "<p>Select to insert some named group brackets.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.namedGroupButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Named group: (?P&lt;<i>groupname</i>&gt;)</b>\n"
        "<p>Select to insert some named group brackets. Usage is similar to standard group parentheses as the matched \n"
        "backreference is also stored for further usage. The difference is that a name is given to the match. This is useful when \n"
        "the work to do on the match becomes a bit complicated. One can access the backreference via the group name (i.e (?P=<i>groupname</i>)).\n"
        "E.g. (?P<foo>[abc])x(?P=foo)x(?P=foo)x matches \'axaxax\',\'bxbxbx\' or \'cxcxcx\' (\'foo\' is the group name)</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.namedGroupButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.namedReferenceButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Reference named group: (?P=<i>groupname</i>)</b>\n"
        "<p>Select to insert a reference to named group previously declared.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.namedReferenceButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Reference named group: (?P=<i>groupname</i>)</b>\n"
        "<p>Select to insert a reference to named group previously declared. Each reference group refers to the match\n"
        " found by the corresponding named group. In the following example, (?P=foo) may refer to the charaters \'a\',\'b\' or \'c\'.</p>\n"
        "<p>E.g. (?P<foo>[abc])x(?P=foo)x(?P=foo)x matches \'axaxax\',\'bxbxbx\' or \'cxcxcx\'.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.namedReferenceButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.altnButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Alternatives: \'|\'</b>\n"
        "<p>Select to insert the alternation symbol \'|\'. </p>", None, QtGui.QApplication.UnicodeUTF8))
        self.altnButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Alternatives: \'|\'</b>\n"
        "<p>Select to insert the alternation symbol \'|\'. The alternation is used to match a single regular expression out of \n"
        "several possible regular expressions. E.g. \'cat|dog|mouse|fish\' matches words containing the word \'cat\', \'dog\',\'mouse\' or \'fish\'.\n"
        "Be aware that in the above example, the alternatives refer to whole or part of words. If you want to match exactly the\n"
        " words \'cat\', \'dog\', ... you should express the fact that you only want to match complete words: \'\\b(cat|dog|mouse|fish)\\b\'</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.altnButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.beglineButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Begin of line: \'^\'</b>\n"
        "<p>Select to insert the start line character (^).</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.beglineButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Begin of line: \'^\'</b>\n"
        "<p>Select to insert the start line character (^). It is used to find some expressions at the begining of lines.\n"
        "E.g. \'^[A-Z]\' match lines starting with a capitalized character. </p>", None, QtGui.QApplication.UnicodeUTF8))
        self.beglineButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.endlineButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>End of line: \'$\'</b>\n"
        "<p>Select to insert the end of line character ($).</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.endlineButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>End of line: \'$\'</b>\n"
        "<p>Select to insert the end of line character ($). It is used to find some expressions at the end of lines.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.endlineButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.wordboundButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Word boundary</b>\n"
        "<p>Select to insert the word boudary character (\\b).</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.wordboundButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Word boundary</b>\n"
        "<p>Select to insert the word boudary character (\\b). This character is used to express the fact that word \n"
        "must begin or end at this position. E.g. \'\\bcat\\b\' matches exactly the word \'cat\' while \'concatenation\' is ignored.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.wordboundButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.nonwordboundButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Non word boundary</b>\n"
        "<p>Select to insert the word boudary character (\\B). \\B is the negated version of \\b.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.nonwordboundButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Non word boundary</b>\n"
        "<p>Select to insert the word boudary character (\\B). \\B is the negated version of \\b. \\B matches at every position where \\b \n"
        "does not. Effectively, \\B matches at any position between two word characters as well as at any position between two non-word characters.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.nonwordboundButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.poslookaheadButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Positive lookahead: (?=<i>regexpr</i>)</b>\n"
        "<p>Select to insert the positive lookhead brackets.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.poslookaheadButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Positive lookahead: (?=<i>regexpr</i>)</b>\n"
        "<p>Select to insert the positive lookhead brackets. Basically, positive lookhead is used to match a character only if followed by another one.\n"
        "Writting \'q(?=u)\' means that you want to match the \'q\' character only if it is followed by \'u\'. In this statement \'u\' is a trivial \n"
        "regexp which may be replaced by a more complex expression; q(?=[abc])\' will match a \'q\' if followed by either \'a\', \'b\' or \'c\'.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.poslookaheadButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.neglookaheadButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Negative lookahead: (?!<i>regexpr</i>)</b>\n"
        "<p>Select to insert the negative lookhead brackets.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.neglookaheadButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Negative lookahead: (?!<i>regexpr</i>)</b>\n"
        "<p>Select to insert the negative lookhead brackets. Basically, negative lookhead is used to match a character only if it is not\n"
        "followed by a another one. Writting \'q(?!u)\' means that you want to match \'q\' only if it is not followed by \'u\'. In this statement, \'u\' is a\n"
        "trivial regexp which may be replaced by a more complex expression; \'q(?![abc])\' will match a \'q\' if it is followed by anything else than \'a\', \'b\' or \'c\'.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.neglookaheadButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.poslookbehindButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Positive lookbehind: (?&lt;=<i>regexpr</i>)</b>\n"
        "<p>Select to insert the positive lookbehind brackets.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.poslookbehindButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Positive lookbehind: (?&lt;=<i>regexpr</i>)</b>\n"
        "<p>Select to insert the positive lookbehind brackets. Lookbehind has the same effect as lookahead, but works backwards. \n"
        "It is used to match a character only if preceded by another one. Writting \'(?&lt;=u)q\' means that you want to match the \'q\' character \n"
        "only if it is preceded by \'u\'. As with lookhead, \'u\' may be replaced by a more complex expression; \'(?&lt;=[abc])q\' will match a \'q\' if preceded by either \'a\', \'b\' or \'c\'.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.poslookbehindButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.neglookbehindButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Negative lookbehind (?&lt;!<i>regexpr</i>)</b>\n"
        "<p>Select to insert the negative lookbehind brackets.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.neglookbehindButton.setWhatsThis(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Negative lookbehind (?&lt;!<i>regexpr</i>)</b>\n"
        "<p>Select to insert the negative lookbehind brackets. Lookbehind has the same effect as lookahead, \n"
        "but works backwards. It is used to match a character only if not preceded by another one. Writting \'(?&lt;!u)q\' means that you want to match the \'q\' \n"
        "character only if it is not preceded by \'u\'. As other lookaround, \'u\' may be replaced by a more complex \n"
        "expression; \'(?&lt;![abc])q\' will match a \'q\' only if not preceded by either \'a\', \'b\' nor \'c\'.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.neglookbehindButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.undoButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Undo last edit</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.undoButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.redoButton.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "<b>Redo last edit</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.redoButton.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "Regexp:", None, QtGui.QApplication.UnicodeUTF8))
        self.resultTable.clear()
        self.resultTable.setColumnCount(0)
        self.resultTable.setRowCount(0)
        self.multilineCheckBox.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "\"^\" matches beginning of line, \"$\" matches end of line", None, QtGui.QApplication.UnicodeUTF8))
        self.multilineCheckBox.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "Match Linebreaks", None, QtGui.QApplication.UnicodeUTF8))
        self.unicodeCheckBox.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "Unicode", None, QtGui.QApplication.UnicodeUTF8))
        self.verboseCheckBox.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "Verbose Regexp", None, QtGui.QApplication.UnicodeUTF8))
        self.caseSensitiveCheckBox.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "Case Sensitive", None, QtGui.QApplication.UnicodeUTF8))
        self.localeCheckBox.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "Observe Locale", None, QtGui.QApplication.UnicodeUTF8))
        self.dotallCheckBox.setToolTip(QtGui.QApplication.translate("PyRegExpWizardDialog", "\".\" matches linebreaks as well", None, QtGui.QApplication.UnicodeUTF8))
        self.dotallCheckBox.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "Dot matches Linebreak", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("PyRegExpWizardDialog", "Text:", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    PyRegExpWizardDialog = QtGui.QWidget()
    ui = Ui_PyRegExpWizardDialog()
    ui.setupUi(PyRegExpWizardDialog)
    PyRegExpWizardDialog.show()
    sys.exit(app.exec_())
