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

# Form implementation generated from reading ui file '/home/george/salix/calibre/src/calibre/src/calibre/gui2/catalog/catalog_epub_mobi.ui'
#
# Created: Wed Aug 15 18:27:50 2012
#      by: PyQt4 UI code generator 4.9.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_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(650, 603)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())
        Form.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(Form)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.includedSections = QtGui.QGroupBox(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.includedSections.sizePolicy().hasHeightForWidth())
        self.includedSections.setSizePolicy(sizePolicy)
        self.includedSections.setMinimumSize(QtCore.QSize(0, 0))
        self.includedSections.setObjectName(_fromUtf8("includedSections"))
        self.gridLayout_2 = QtGui.QGridLayout(self.includedSections)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.generate_genres = QtGui.QCheckBox(self.includedSections)
        self.generate_genres.setObjectName(_fromUtf8("generate_genres"))
        self.gridLayout_2.addWidget(self.generate_genres, 0, 1, 1, 1)
        self.generate_recently_added = QtGui.QCheckBox(self.includedSections)
        self.generate_recently_added.setObjectName(_fromUtf8("generate_recently_added"))
        self.gridLayout_2.addWidget(self.generate_recently_added, 4, 1, 1, 1)
        self.generate_descriptions = QtGui.QCheckBox(self.includedSections)
        self.generate_descriptions.setObjectName(_fromUtf8("generate_descriptions"))
        self.gridLayout_2.addWidget(self.generate_descriptions, 5, 1, 1, 1)
        self.generate_series = QtGui.QCheckBox(self.includedSections)
        self.generate_series.setObjectName(_fromUtf8("generate_series"))
        self.gridLayout_2.addWidget(self.generate_series, 5, 0, 1, 1)
        self.generate_titles = QtGui.QCheckBox(self.includedSections)
        self.generate_titles.setObjectName(_fromUtf8("generate_titles"))
        self.gridLayout_2.addWidget(self.generate_titles, 4, 0, 1, 1)
        self.generate_authors = QtGui.QCheckBox(self.includedSections)
        self.generate_authors.setEnabled(True)
        self.generate_authors.setChecked(False)
        self.generate_authors.setObjectName(_fromUtf8("generate_authors"))
        self.gridLayout_2.addWidget(self.generate_authors, 0, 0, 1, 1)
        self.verticalLayout.addWidget(self.includedSections)
        self.excludedGenres = QtGui.QGroupBox(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.excludedGenres.sizePolicy().hasHeightForWidth())
        self.excludedGenres.setSizePolicy(sizePolicy)
        self.excludedGenres.setMinimumSize(QtCore.QSize(0, 0))
        self.excludedGenres.setObjectName(_fromUtf8("excludedGenres"))
        self.formLayout_3 = QtGui.QFormLayout(self.excludedGenres)
        self.formLayout_3.setFieldGrowthPolicy(QtGui.QFormLayout.FieldsStayAtSizeHint)
        self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(-1)
        self.horizontalLayout.setContentsMargins(0, -1, -1, -1)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(self.excludedGenres)
        self.label.setMinimumSize(QtCore.QSize(175, 0))
        self.label.setMaximumSize(QtCore.QSize(200, 16777215))
        self.label.setTextFormat(QtCore.Qt.AutoText)
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.exclude_genre = QtGui.QLineEdit(self.excludedGenres)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.exclude_genre.sizePolicy().hasHeightForWidth())
        self.exclude_genre.setSizePolicy(sizePolicy)
        self.exclude_genre.setMinimumSize(QtCore.QSize(0, 0))
        self.exclude_genre.setToolTip(_fromUtf8(""))
        self.exclude_genre.setObjectName(_fromUtf8("exclude_genre"))
        self.horizontalLayout.addWidget(self.exclude_genre)
        self.reset_exclude_genres_tb = QtGui.QToolButton(self.excludedGenres)
        self.reset_exclude_genres_tb.setObjectName(_fromUtf8("reset_exclude_genres_tb"))
        self.horizontalLayout.addWidget(self.reset_exclude_genres_tb)
        self.formLayout_3.setLayout(0, QtGui.QFormLayout.SpanningRole, self.horizontalLayout)
        self.verticalLayout.addWidget(self.excludedGenres)
        self.exclusion_rules_gb = QtGui.QGroupBox(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.exclusion_rules_gb.sizePolicy().hasHeightForWidth())
        self.exclusion_rules_gb.setSizePolicy(sizePolicy)
        self.exclusion_rules_gb.setMinimumSize(QtCore.QSize(0, 0))
        self.exclusion_rules_gb.setObjectName(_fromUtf8("exclusion_rules_gb"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.exclusion_rules_gb)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.horizontalLayout_4.addLayout(self.horizontalLayout_3)
        self.verticalLayout.addWidget(self.exclusion_rules_gb)
        self.prefix_rules_gb = QtGui.QGroupBox(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.prefix_rules_gb.sizePolicy().hasHeightForWidth())
        self.prefix_rules_gb.setSizePolicy(sizePolicy)
        self.prefix_rules_gb.setObjectName(_fromUtf8("prefix_rules_gb"))
        self.horizontalLayout_8 = QtGui.QHBoxLayout(self.prefix_rules_gb)
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.horizontalLayout_8.addLayout(self.horizontalLayout_6)
        self.verticalLayout.addWidget(self.prefix_rules_gb)
        self.otherOptions = QtGui.QGroupBox(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.otherOptions.sizePolicy().hasHeightForWidth())
        self.otherOptions.setSizePolicy(sizePolicy)
        self.otherOptions.setMinimumSize(QtCore.QSize(0, 0))
        self.otherOptions.setObjectName(_fromUtf8("otherOptions"))
        self.formLayout_4 = QtGui.QFormLayout(self.otherOptions)
        self.formLayout_4.setFieldGrowthPolicy(QtGui.QFormLayout.FieldsStayAtSizeHint)
        self.formLayout_4.setObjectName(_fromUtf8("formLayout_4"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.label_10 = QtGui.QLabel(self.otherOptions)
        self.label_10.setMinimumSize(QtCore.QSize(175, 0))
        self.label_10.setMaximumSize(QtCore.QSize(200, 16777215))
        self.label_10.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.horizontalLayout_5.addWidget(self.label_10)
        self.thumb_width = QtGui.QDoubleSpinBox(self.otherOptions)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.thumb_width.sizePolicy().hasHeightForWidth())
        self.thumb_width.setSizePolicy(sizePolicy)
        self.thumb_width.setMaximumSize(QtCore.QSize(137, 16777215))
        self.thumb_width.setDecimals(2)
        self.thumb_width.setMinimum(1.0)
        self.thumb_width.setMaximum(2.0)
        self.thumb_width.setSingleStep(0.1)
        self.thumb_width.setObjectName(_fromUtf8("thumb_width"))
        self.horizontalLayout_5.addWidget(self.thumb_width)
        self.line_3 = QtGui.QFrame(self.otherOptions)
        self.line_3.setFrameShape(QtGui.QFrame.VLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName(_fromUtf8("line_3"))
        self.horizontalLayout_5.addWidget(self.line_3)
        self.label_3 = QtGui.QLabel(self.otherOptions)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout_5.addWidget(self.label_3)
        self.header_note_source_field = QtGui.QComboBox(self.otherOptions)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.header_note_source_field.sizePolicy().hasHeightForWidth())
        self.header_note_source_field.setSizePolicy(sizePolicy)
        self.header_note_source_field.setMinimumSize(QtCore.QSize(0, 0))
        self.header_note_source_field.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.header_note_source_field.setObjectName(_fromUtf8("header_note_source_field"))
        self.horizontalLayout_5.addWidget(self.header_note_source_field)
        self.formLayout_4.setLayout(0, QtGui.QFormLayout.SpanningRole, self.horizontalLayout_5)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.label_9 = QtGui.QLabel(self.otherOptions)
        self.label_9.setMinimumSize(QtCore.QSize(175, 0))
        self.label_9.setMaximumSize(QtCore.QSize(200, 16777215))
        self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.horizontalLayout_7.addWidget(self.label_9)
        self.merge_source_field = QtGui.QComboBox(self.otherOptions)
        self.merge_source_field.setMinimumSize(QtCore.QSize(0, 0))
        self.merge_source_field.setObjectName(_fromUtf8("merge_source_field"))
        self.horizontalLayout_7.addWidget(self.merge_source_field)
        self.line_2 = QtGui.QFrame(self.otherOptions)
        self.line_2.setFrameShape(QtGui.QFrame.VLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.horizontalLayout_7.addWidget(self.line_2)
        self.merge_before = QtGui.QRadioButton(self.otherOptions)
        self.merge_before.setObjectName(_fromUtf8("merge_before"))
        self.horizontalLayout_7.addWidget(self.merge_before)
        self.merge_after = QtGui.QRadioButton(self.otherOptions)
        self.merge_after.setObjectName(_fromUtf8("merge_after"))
        self.horizontalLayout_7.addWidget(self.merge_after)
        self.line = QtGui.QFrame(self.otherOptions)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.horizontalLayout_7.addWidget(self.line)
        self.include_hr = QtGui.QCheckBox(self.otherOptions)
        self.include_hr.setObjectName(_fromUtf8("include_hr"))
        self.horizontalLayout_7.addWidget(self.include_hr)
        self.formLayout_4.setLayout(1, QtGui.QFormLayout.SpanningRole, self.horizontalLayout_7)
        self.verticalLayout.addWidget(self.otherOptions)
        self.label.setBuddy(self.exclude_genre)
        self.label_10.setBuddy(self.merge_source_field)
        self.label_3.setBuddy(self.header_note_source_field)
        self.label_9.setBuddy(self.merge_source_field)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(_("Form"))
        self.includedSections.setToolTip(_("Enabled sections will be included in the generated catalog."))
        self.includedSections.setTitle(_("Included sections"))
        self.generate_genres.setText(_("Books by &Genre"))
        self.generate_recently_added.setText(_("Recently &Added"))
        self.generate_descriptions.setText(_("&Descriptions"))
        self.generate_series.setText(_("Books by &Series"))
        self.generate_titles.setText(_("Books by &Title"))
        self.generate_authors.setText(_("Books by Author"))
        self.excludedGenres.setToolTip(_("A regular expression describing genres to be excluded from the generated catalog. Genres are derived from the tags applied to your books.\n"
"The default pattern \\[.+\\]|\\+ excludes tags of the form [tag], e.g., [Test book], and \'+\', the default tag for a read book."))
        self.excludedGenres.setTitle(_("Excluded genres"))
        self.label.setText(_("Tags to &exclude"))
        self.reset_exclude_genres_tb.setToolTip(_("Reset to default"))
        self.reset_exclude_genres_tb.setText(_("..."))
        self.exclusion_rules_gb.setToolTip(_("Books matching any of the exclusion rules will be excluded from the generated catalog. "))
        self.exclusion_rules_gb.setTitle(_("Excluded books"))
        self.prefix_rules_gb.setToolTip(_("The first matching prefix rule applies a prefix to book listings in the generated catalog."))
        self.prefix_rules_gb.setTitle(_("Prefixes"))
        self.otherOptions.setTitle(_("Other options"))
        self.label_10.setText(_("&Thumb width"))
        self.thumb_width.setToolTip(_("Size hint for cover thumbnails included in Descriptions section."))
        self.thumb_width.setSuffix(_(" inch"))
        self.label_3.setText(_("&Extra note"))
        self.header_note_source_field.setToolTip(_("Custom column source for text to include in Description section."))
        self.label_9.setText(_("&Merge with Comments"))
        self.merge_source_field.setToolTip(_("Custom column containing additional content to be merged with Comments metadata."))
        self.merge_before.setToolTip(_("Merge additional content before Comments metadata."))
        self.merge_before.setText(_("&Before"))
        self.merge_after.setToolTip(_("Merge additional content after Comments metadata."))
        self.merge_after.setText(_("&After"))
        self.include_hr.setToolTip(_("Separate Comments metadata and additional content with a horizontal rule."))
        self.include_hr.setText(_("&Separator"))

