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

# Form implementation generated from reading ui file '/tmp/SBo/calibre/src/calibre/gui2/convert/pdf_output.ui'
#
# Created: Sat Jan  2 08:38:10 2016
#      by: PyQt4 UI code generator 4.9.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    pass
except AttributeError:
    pass

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(638, 498)
        self.formLayout = QtGui.QFormLayout(Form)
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_10 = QtGui.QLabel(Form)
        self.label_10.setWordWrap(True)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.SpanningRole, self.label_10)
        self.opt_override_profile_size = QtGui.QCheckBox(Form)
        self.opt_override_profile_size.setObjectName(_fromUtf8("opt_override_profile_size"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.SpanningRole, self.opt_override_profile_size)
        self.label = QtGui.QLabel(Form)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label)
        self.opt_paper_size = QtGui.QComboBox(Form)
        self.opt_paper_size.setObjectName(_fromUtf8("opt_paper_size"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.opt_paper_size)
        self.label_3 = QtGui.QLabel(Form)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.opt_custom_size = QtGui.QLineEdit(Form)
        self.opt_custom_size.setObjectName(_fromUtf8("opt_custom_size"))
        self.horizontalLayout.addWidget(self.opt_custom_size)
        self.label_11 = QtGui.QLabel(Form)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.horizontalLayout.addWidget(self.label_11)
        self.opt_unit = QtGui.QComboBox(Form)
        self.opt_unit.setObjectName(_fromUtf8("opt_unit"))
        self.horizontalLayout.addWidget(self.opt_unit)
        self.formLayout.setLayout(3, QtGui.QFormLayout.FieldRole, self.horizontalLayout)
        self.opt_preserve_cover_aspect_ratio = QtGui.QCheckBox(Form)
        self.opt_preserve_cover_aspect_ratio.setObjectName(_fromUtf8("opt_preserve_cover_aspect_ratio"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.SpanningRole, self.opt_preserve_cover_aspect_ratio)
        self.opt_pdf_page_numbers = QtGui.QCheckBox(Form)
        self.opt_pdf_page_numbers.setObjectName(_fromUtf8("opt_pdf_page_numbers"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.SpanningRole, self.opt_pdf_page_numbers)
        self.label_4 = QtGui.QLabel(Form)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout.setWidget(10, QtGui.QFormLayout.LabelRole, self.label_4)
        self.opt_pdf_serif_family = QtGui.QFontComboBox(Form)
        self.opt_pdf_serif_family.setObjectName(_fromUtf8("opt_pdf_serif_family"))
        self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.opt_pdf_serif_family)
        self.label_5 = QtGui.QLabel(Form)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.formLayout.setWidget(11, QtGui.QFormLayout.LabelRole, self.label_5)
        self.opt_pdf_sans_family = QtGui.QFontComboBox(Form)
        self.opt_pdf_sans_family.setObjectName(_fromUtf8("opt_pdf_sans_family"))
        self.formLayout.setWidget(11, QtGui.QFormLayout.FieldRole, self.opt_pdf_sans_family)
        self.label_6 = QtGui.QLabel(Form)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.formLayout.setWidget(12, QtGui.QFormLayout.LabelRole, self.label_6)
        self.opt_pdf_mono_family = QtGui.QFontComboBox(Form)
        self.opt_pdf_mono_family.setObjectName(_fromUtf8("opt_pdf_mono_family"))
        self.formLayout.setWidget(12, QtGui.QFormLayout.FieldRole, self.opt_pdf_mono_family)
        self.label_7 = QtGui.QLabel(Form)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.formLayout.setWidget(13, QtGui.QFormLayout.LabelRole, self.label_7)
        self.opt_pdf_standard_font = QtGui.QComboBox(Form)
        self.opt_pdf_standard_font.setObjectName(_fromUtf8("opt_pdf_standard_font"))
        self.formLayout.setWidget(13, QtGui.QFormLayout.FieldRole, self.opt_pdf_standard_font)
        self.label_8 = QtGui.QLabel(Form)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout.setWidget(14, QtGui.QFormLayout.LabelRole, self.label_8)
        self.opt_pdf_default_font_size = QtGui.QSpinBox(Form)
        self.opt_pdf_default_font_size.setObjectName(_fromUtf8("opt_pdf_default_font_size"))
        self.formLayout.setWidget(14, QtGui.QFormLayout.FieldRole, self.opt_pdf_default_font_size)
        self.label_9 = QtGui.QLabel(Form)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.formLayout.setWidget(15, QtGui.QFormLayout.LabelRole, self.label_9)
        self.opt_pdf_mono_font_size = QtGui.QSpinBox(Form)
        self.opt_pdf_mono_font_size.setObjectName(_fromUtf8("opt_pdf_mono_font_size"))
        self.formLayout.setWidget(15, QtGui.QFormLayout.FieldRole, self.opt_pdf_mono_font_size)
        self.groupBox = QtGui.QGroupBox(Form)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.formLayout_2 = QtGui.QFormLayout(self.groupBox)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setWordWrap(True)
        self.label_2.setOpenExternalLinks(True)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.SpanningRole, self.label_2)
        self.label_12 = QtGui.QLabel(self.groupBox)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_12)
        self.opt_pdf_header_template = QtGui.QLineEdit(self.groupBox)
        self.opt_pdf_header_template.setObjectName(_fromUtf8("opt_pdf_header_template"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.opt_pdf_header_template)
        self.label_13 = QtGui.QLabel(self.groupBox)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_13)
        self.opt_pdf_footer_template = QtGui.QLineEdit(self.groupBox)
        self.opt_pdf_footer_template.setObjectName(_fromUtf8("opt_pdf_footer_template"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.opt_pdf_footer_template)
        self.formLayout.setWidget(16, QtGui.QFormLayout.SpanningRole, self.groupBox)
        self.opt_pdf_add_toc = QtGui.QCheckBox(Form)
        self.opt_pdf_add_toc.setObjectName(_fromUtf8("opt_pdf_add_toc"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.SpanningRole, self.opt_pdf_add_toc)
        self.opt_toc_title = QtGui.QLineEdit(Form)
        self.opt_toc_title.setObjectName(_fromUtf8("opt_toc_title"))
        self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.opt_toc_title)
        self.label_14 = QtGui.QLabel(Form)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.label_14)
        self.label.setBuddy(self.opt_paper_size)
        self.label_3.setBuddy(self.opt_custom_size)
        self.label_11.setBuddy(self.opt_unit)
        self.label_4.setBuddy(self.opt_pdf_serif_family)
        self.label_5.setBuddy(self.opt_pdf_sans_family)
        self.label_6.setBuddy(self.opt_pdf_mono_family)
        self.label_7.setBuddy(self.opt_pdf_standard_font)
        self.label_8.setBuddy(self.opt_pdf_default_font_size)
        self.label_9.setBuddy(self.opt_pdf_mono_font_size)
        self.label_12.setBuddy(self.opt_pdf_header_template)
        self.label_13.setBuddy(self.opt_pdf_footer_template)
        self.label_14.setBuddy(self.opt_toc_title)

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(_("Form"))
        self.label_10.setText(_("<b>Note:</b> The paper size settings below only take effect if you enable the \"Override\" checkbox below. Otherwise the size from the output profile will be used."))
        self.opt_override_profile_size.setText(_("&Override paper size set in output profile"))
        self.label.setText(_("&Paper Size:"))
        self.label_3.setText(_("&Custom size:"))
        self.label_11.setText(_("&Unit:"))
        self.opt_preserve_cover_aspect_ratio.setText(_("Preserve &aspect ratio of cover"))
        self.opt_pdf_page_numbers.setText(_("Add page &numbers to the bottom of every page"))
        self.label_4.setText(_("Se&rif family:"))
        self.label_5.setText(_("&Sans family:"))
        self.label_6.setText(_("&Monospace family:"))
        self.label_7.setText(_("S&tandard font:"))
        self.label_8.setText(_("Default font si&ze:"))
        self.opt_pdf_default_font_size.setSuffix(_(" px"))
        self.label_9.setText(_("Monospace &font size:"))
        self.opt_pdf_mono_font_size.setSuffix(_(" px"))
        self.groupBox.setTitle(_("Page headers and footers"))
        self.label_2.setText(_("You can insert headers and footers into every page of the produced PDF file by using header and footer templates. For examples, see the <a href=\"http://manual.calibre-ebook.com/conversion.html#converting-to-pdf\">documentation</a>."))
        self.label_12.setText(_("&Header template:"))
        self.label_13.setText(_("&Footer template:"))
        self.opt_pdf_add_toc.setText(_("Add a printable &Table of Contents at the end"))
        self.label_14.setText(_("&Title for ToC:"))

