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

# Form implementation generated from reading ui file '/work/a/ports/deskutils/calibre/work/calibre/src/calibre/gui2/convert/regex_builder.ui'
#
# Created: Tue Feb  1 01:53:06 2011
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_RegexBuilder(object):
    def setupUi(self, RegexBuilder):
        RegexBuilder.setObjectName(_fromUtf8("RegexBuilder"))
        RegexBuilder.resize(662, 505)
        self.gridLayout = QtGui.QGridLayout(RegexBuilder)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.groupBox = QtGui.QGroupBox(RegexBuilder)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.preview = QtGui.QPlainTextEdit(self.groupBox)
        self.preview.setUndoRedoEnabled(False)
        self.preview.setReadOnly(True)
        self.preview.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
        self.preview.setObjectName(_fromUtf8("preview"))
        self.verticalLayout.addWidget(self.preview)
        self.gridLayout.addWidget(self.groupBox, 1, 0, 1, 5)
        self.button_box = QtGui.QDialogButtonBox(RegexBuilder)
        self.button_box.setOrientation(QtCore.Qt.Horizontal)
        self.button_box.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.button_box.setObjectName(_fromUtf8("button_box"))
        self.gridLayout.addWidget(self.button_box, 2, 4, 1, 1)
        self.label = QtGui.QLabel(RegexBuilder)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.regex = QtGui.QLineEdit(RegexBuilder)
        self.regex.setObjectName(_fromUtf8("regex"))
        self.horizontalLayout.addWidget(self.regex)
        self.test = QtGui.QPushButton(RegexBuilder)
        self.test.setObjectName(_fromUtf8("test"))
        self.horizontalLayout.addWidget(self.test)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 1, 1, 4)

        self.retranslateUi(RegexBuilder)
        QtCore.QObject.connect(self.button_box, QtCore.SIGNAL(_fromUtf8("rejected()")), RegexBuilder.reject)
        QtCore.QMetaObject.connectSlotsByName(RegexBuilder)

    def retranslateUi(self, RegexBuilder):
        RegexBuilder.setWindowTitle(_("Regex Builder"))
        self.groupBox.setTitle(_("Preview"))
        self.label.setText(_("Regex:"))
        self.test.setText(_("Test"))

