# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/convert/mobi_output.ui'
#
# Created by: PyQt6 UI code generator 6.8.0.dev2410211537
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(588, 416)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setObjectName("verticalLayout")
        self.opt_no_inline_toc = QtWidgets.QCheckBox(parent=Form)
        self.opt_no_inline_toc.setObjectName("opt_no_inline_toc")
        self.verticalLayout.addWidget(self.opt_no_inline_toc)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(parent=Form)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.opt_toc_title = QtWidgets.QLineEdit(parent=Form)
        self.opt_toc_title.setClearButtonEnabled(True)
        self.opt_toc_title.setObjectName("opt_toc_title")
        self.horizontalLayout.addWidget(self.opt_toc_title)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.opt_mobi_toc_at_start = QtWidgets.QCheckBox(parent=Form)
        self.opt_mobi_toc_at_start.setObjectName("opt_mobi_toc_at_start")
        self.verticalLayout.addWidget(self.opt_mobi_toc_at_start)
        self.opt_mobi_ignore_margins = QtWidgets.QCheckBox(parent=Form)
        self.opt_mobi_ignore_margins.setObjectName("opt_mobi_ignore_margins")
        self.verticalLayout.addWidget(self.opt_mobi_ignore_margins)
        self.opt_prefer_author_sort = QtWidgets.QCheckBox(parent=Form)
        self.opt_prefer_author_sort.setObjectName("opt_prefer_author_sort")
        self.verticalLayout.addWidget(self.opt_prefer_author_sort)
        self.opt_mobi_keep_original_images = QtWidgets.QCheckBox(parent=Form)
        self.opt_mobi_keep_original_images.setObjectName("opt_mobi_keep_original_images")
        self.verticalLayout.addWidget(self.opt_mobi_keep_original_images)
        self.opt_dont_compress = QtWidgets.QCheckBox(parent=Form)
        self.opt_dont_compress.setObjectName("opt_dont_compress")
        self.verticalLayout.addWidget(self.opt_dont_compress)
        self.groupBox = QtWidgets.QGroupBox(parent=Form)
        self.groupBox.setObjectName("groupBox")
        self.formLayout = QtWidgets.QFormLayout(self.groupBox)
        self.formLayout.setObjectName("formLayout")
        self.label_2 = QtWidgets.QLabel(parent=self.groupBox)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_2)
        self.opt_mobi_file_type = QtWidgets.QComboBox(parent=self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.opt_mobi_file_type.sizePolicy().hasHeightForWidth())
        self.opt_mobi_file_type.setSizePolicy(sizePolicy)
        self.opt_mobi_file_type.setObjectName("opt_mobi_file_type")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.FieldRole, self.opt_mobi_file_type)
        self.label_4 = QtWidgets.QLabel(parent=self.groupBox)
        self.label_4.setWordWrap(True)
        self.label_4.setObjectName("label_4")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.ItemRole.SpanningRole, self.label_4)
        self.label_3 = QtWidgets.QLabel(parent=self.groupBox)
        self.label_3.setObjectName("label_3")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_3)
        self.opt_personal_doc = QtWidgets.QLineEdit(parent=self.groupBox)
        self.opt_personal_doc.setClearButtonEnabled(True)
        self.opt_personal_doc.setObjectName("opt_personal_doc")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.ItemRole.FieldRole, self.opt_personal_doc)
        self.opt_share_not_sync = QtWidgets.QCheckBox(parent=self.groupBox)
        self.opt_share_not_sync.setObjectName("opt_share_not_sync")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.ItemRole.SpanningRole, self.opt_share_not_sync)
        self.verticalLayout.addWidget(self.groupBox)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        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_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."))
        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"))
