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

# Form implementation generated from reading ui file '/wrkdirs/usr/ports/deskutils/calibre/work/calibre-src/src/calibre/gui2/convert/mobi_output.ui'
#
# Created: Mon Jul 29 22:15:35 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(588, 416)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.opt_no_inline_toc = QtGui.QCheckBox(Form)
        self.opt_no_inline_toc.setObjectName(_fromUtf8("opt_no_inline_toc"))
        self.gridLayout.addWidget(self.opt_no_inline_toc, 0, 0, 1, 1)
        self.label = QtGui.QLabel(Form)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 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, 1, 1, 1, 1)
        self.opt_mobi_toc_at_start = QtGui.QCheckBox(Form)
        self.opt_mobi_toc_at_start.setObjectName(_fromUtf8("opt_mobi_toc_at_start"))
        self.gridLayout.addWidget(self.opt_mobi_toc_at_start, 2, 0, 1, 2)
        self.opt_mobi_ignore_margins = QtGui.QCheckBox(Form)
        self.opt_mobi_ignore_margins.setObjectName(_fromUtf8("opt_mobi_ignore_margins"))
        self.gridLayout.addWidget(self.opt_mobi_ignore_margins, 3, 0, 1, 1)
        self.opt_prefer_author_sort = QtGui.QCheckBox(Form)
        self.opt_prefer_author_sort.setObjectName(_fromUtf8("opt_prefer_author_sort"))
        self.gridLayout.addWidget(self.opt_prefer_author_sort, 4, 0, 1, 1)
        self.opt_mobi_keep_original_images = QtGui.QCheckBox(Form)
        self.opt_mobi_keep_original_images.setObjectName(_fromUtf8("opt_mobi_keep_original_images"))
        self.gridLayout.addWidget(self.opt_mobi_keep_original_images, 5, 0, 1, 2)
        self.opt_dont_compress = QtGui.QCheckBox(Form)
        self.opt_dont_compress.setObjectName(_fromUtf8("opt_dont_compress"))
        self.gridLayout.addWidget(self.opt_dont_compress, 6, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(Form)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.formLayout = QtGui.QFormLayout(self.groupBox)
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2)
        self.opt_mobi_file_type = QtGui.QComboBox(self.groupBox)
        self.opt_mobi_file_type.setObjectName(_fromUtf8("opt_mobi_file_type"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.opt_mobi_file_type)
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_3)
        self.opt_personal_doc = QtGui.QLineEdit(self.groupBox)
        self.opt_personal_doc.setObjectName(_fromUtf8("opt_personal_doc"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.opt_personal_doc)
        self.opt_share_not_sync = QtGui.QCheckBox(self.groupBox)
        self.opt_share_not_sync.setObjectName(_fromUtf8("opt_share_not_sync"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.SpanningRole, self.opt_share_not_sync)
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setWordWrap(True)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.SpanningRole, self.label_4)
        self.gridLayout.addWidget(self.groupBox, 7, 0, 1, 2)
        self.label.setBuddy(self.opt_toc_title)
        self.label_2.setBuddy(self.opt_mobi_file_type)

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(_("Form"))
        self.opt_no_inline_toc.setText(_("Do not add Table of Contents to book"))
        self.label.setText(_("&Title for Table of Contents:"))
        self.opt_mobi_toc_at_start.setText(_("Put generated Table of Contents at &start of book instead of end"))
        self.opt_mobi_ignore_margins.setText(_("Ignore &margins"))
        self.opt_prefer_author_sort.setText(_("Use author &sort for author"))
        self.opt_mobi_keep_original_images.setText(_("Do not convert all images to &JPEG (may result in images not working in older viewers)"))
        self.opt_dont_compress.setText(_("Disable compression of the file contents"))
        self.groupBox.setTitle(_("Kindle options"))
        self.label_2.setText(_("MOBI file &type:"))
        self.label_3.setText(_("Personal Doc tag:"))
        self.opt_share_not_sync.setText(_("Enable sharing of book content via Facebook, etc. WARNING: Disables last read syncing"))
        self.label_4.setText(_("<b>WARNING:</b> Various Kindle devices have trouble displaying the new or both MOBI filetypes. If you wish to use the new format on your device, convert to AZW3 instead of MOBI."))

