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

# Form implementation generated from reading ui file '/work/a/ports/deskutils/calibre/work/calibre-src/src/calibre/gui2/convert/epub_output.ui'
#
# Created: Wed Aug 21 18:25:04 2013
#      by: PyQt4 UI code generator 4.10.2
#
# 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(644, 300)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.opt_preserve_cover_aspect_ratio = QtGui.QCheckBox(Form)
        self.opt_preserve_cover_aspect_ratio.setObjectName(_fromUtf8("opt_preserve_cover_aspect_ratio"))
        self.gridLayout.addWidget(self.opt_preserve_cover_aspect_ratio, 2, 1, 1, 1)
        self.label = QtGui.QLabel(Form)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 5, 0, 1, 1)
        self.opt_flow_size = QtGui.QSpinBox(Form)
        self.opt_flow_size.setMinimum(25)
        self.opt_flow_size.setMaximum(1000000)
        self.opt_flow_size.setSingleStep(20)
        self.opt_flow_size.setObjectName(_fromUtf8("opt_flow_size"))
        self.gridLayout.addWidget(self.opt_flow_size, 5, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 262, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 6, 0, 1, 1)
        self.opt_no_default_epub_cover = QtGui.QCheckBox(Form)
        self.opt_no_default_epub_cover.setObjectName(_fromUtf8("opt_no_default_epub_cover"))
        self.gridLayout.addWidget(self.opt_no_default_epub_cover, 1, 0, 1, 1)
        self.opt_no_svg_cover = QtGui.QCheckBox(Form)
        self.opt_no_svg_cover.setObjectName(_fromUtf8("opt_no_svg_cover"))
        self.gridLayout.addWidget(self.opt_no_svg_cover, 2, 0, 1, 1)
        self.opt_epub_inline_toc = QtGui.QCheckBox(Form)
        self.opt_epub_inline_toc.setObjectName(_fromUtf8("opt_epub_inline_toc"))
        self.gridLayout.addWidget(self.opt_epub_inline_toc, 3, 0, 1, 1)
        self.opt_dont_split_on_page_breaks = QtGui.QCheckBox(Form)
        self.opt_dont_split_on_page_breaks.setObjectName(_fromUtf8("opt_dont_split_on_page_breaks"))
        self.gridLayout.addWidget(self.opt_dont_split_on_page_breaks, 0, 0, 1, 2)
        self.opt_epub_toc_at_end = QtGui.QCheckBox(Form)
        self.opt_epub_toc_at_end.setObjectName(_fromUtf8("opt_epub_toc_at_end"))
        self.gridLayout.addWidget(self.opt_epub_toc_at_end, 3, 1, 1, 1)
        self.opt_epub_flatten = QtGui.QCheckBox(Form)
        self.opt_epub_flatten.setObjectName(_fromUtf8("opt_epub_flatten"))
        self.gridLayout.addWidget(self.opt_epub_flatten, 1, 1, 1, 1)
        self.label_2 = QtGui.QLabel(Form)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 4, 0, 1, 1)
        self.opt_toc_title = QtGui.QLineEdit(Form)
        self.opt_toc_title.setObjectName(_fromUtf8("opt_toc_title"))
        self.gridLayout.addWidget(self.opt_toc_title, 4, 1, 1, 1)
        self.label.setBuddy(self.opt_flow_size)
        self.label_2.setBuddy(self.opt_toc_title)

        self.retranslateUi(Form)
        QtCore.QObject.connect(self.opt_no_svg_cover, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.opt_preserve_cover_aspect_ratio.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(_("Form"))
        self.opt_preserve_cover_aspect_ratio.setText(_("Preserve cover &aspect ratio"))
        self.label.setText(_("Split files &larger than:"))
        self.opt_flow_size.setSuffix(_(" KB"))
        self.opt_no_default_epub_cover.setText(_("No default &cover"))
        self.opt_no_svg_cover.setText(_("No &SVG cover"))
        self.opt_epub_inline_toc.setText(_("Insert inline &Table of Contents"))
        self.opt_dont_split_on_page_breaks.setText(_("Do not &split on page breaks"))
        self.opt_epub_toc_at_end.setText(_("Put inserted Table of Contents at the &end of the book"))
        self.opt_epub_flatten.setText(_("&Flatten EPUB file structure"))
        self.label_2.setText(_("&Title for inserted ToC:"))

