1# -*- coding: utf-8 -*-
2
3# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/convert/debug.ui'
4#
5# Created by: PyQt5 UI code generator 5.15.6
6#
7# WARNING: Any manual changes made to this file will be lost when pyuic5 is
8# run again.  Do not edit this file unless you know what you are doing.
9
10
11from PyQt5 import QtCore, QtGui, QtWidgets
12
13
14class Ui_Form(object):
15    def setupUi(self, Form):
16        Form.setObjectName("Form")
17        Form.resize(436, 382)
18        self.gridLayout = QtWidgets.QGridLayout(Form)
19        self.gridLayout.setObjectName("gridLayout")
20        self.button_debug_dir = QtWidgets.QToolButton(Form)
21        icon = QtGui.QIcon()
22        icon.addPixmap(QtGui.QPixmap(I("document_open.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
23        self.button_debug_dir.setIcon(icon)
24        self.button_debug_dir.setObjectName("button_debug_dir")
25        self.gridLayout.addWidget(self.button_debug_dir, 1, 1, 1, 1)
26        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
27        self.gridLayout.addItem(spacerItem, 3, 0, 1, 1)
28        self.label = QtWidgets.QLabel(Form)
29        self.label.setWordWrap(True)
30        self.label.setObjectName("label")
31        self.gridLayout.addWidget(self.label, 0, 0, 1, 2)
32        self.label_2 = QtWidgets.QLabel(Form)
33        self.label_2.setWordWrap(True)
34        self.label_2.setObjectName("label_2")
35        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
36        self.opt_debug_pipeline = QtWidgets.QLineEdit(Form)
37        self.opt_debug_pipeline.setClearButtonEnabled(True)
38        self.opt_debug_pipeline.setObjectName("opt_debug_pipeline")
39        self.gridLayout.addWidget(self.opt_debug_pipeline, 1, 0, 1, 1)
40
41        self.retranslateUi(Form)
42        QtCore.QMetaObject.connectSlotsByName(Form)
43
44    def retranslateUi(self, Form):
45
46        Form.setWindowTitle(_("Form"))
47        self.button_debug_dir.setToolTip(_("Choose debug folder"))
48        self.button_debug_dir.setText(_("..."))
49        self.label.setText(_("Choose a folder to put the debug output into. If you specify a folder, calibre will place a lot of debug output into it. This will be useful in understanding the conversion process and figuring out the correct values for conversion parameters like Table of Contents and Chapter detection."))
50        self.label_2.setText(_("The debug process outputs the intermediate HTML generated at various stages of the conversion process. This HTML can sometimes serve as a good starting point for hand editing a conversion."))
51
52