# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/convert/htmlz_output.ui'
#
# Created by: PyQt6 UI code generator 6.9.0
#
# 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(438, 300)
        self.formLayout = QtWidgets.QFormLayout(Form)
        self.formLayout.setFieldGrowthPolicy(QtWidgets.QFormLayout.FieldGrowthPolicy.ExpandingFieldsGrow)
        self.formLayout.setObjectName("formLayout")
        self.label = QtWidgets.QLabel(parent=Form)
        self.label.setObjectName("label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label)
        self.opt_htmlz_css_type = QtWidgets.QComboBox(parent=Form)
        self.opt_htmlz_css_type.setMinimumContentsLength(20)
        self.opt_htmlz_css_type.setObjectName("opt_htmlz_css_type")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.FieldRole, self.opt_htmlz_css_type)
        self.label_2 = QtWidgets.QLabel(parent=Form)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_2)
        self.opt_htmlz_class_style = QtWidgets.QComboBox(parent=Form)
        self.opt_htmlz_class_style.setObjectName("opt_htmlz_class_style")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.ItemRole.FieldRole, self.opt_htmlz_class_style)
        self.opt_htmlz_title_filename = QtWidgets.QCheckBox(parent=Form)
        self.opt_htmlz_title_filename.setObjectName("opt_htmlz_title_filename")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.ItemRole.SpanningRole, self.opt_htmlz_title_filename)
        spacerItem = QtWidgets.QSpacerItem(20, 246, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.formLayout.setItem(3, QtWidgets.QFormLayout.ItemRole.LabelRole, spacerItem)
        self.label.setBuddy(self.opt_htmlz_css_type)
        self.label_2.setBuddy(self.opt_htmlz_class_style)

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

    def retranslateUi(self, Form):

        Form.setWindowTitle(_("Form"))
        self.label.setText(_("How to handle &CSS"))
        self.label_2.setText(_("How to handle class &based CSS"))
        self.opt_htmlz_title_filename.setText(_("Use book &title as the filename for the HTML file inside the archive"))
