/********************************************************************************
** Form generated from reading UI file 'CrashHandler.ui'
**
** Created by: Qt User Interface Compiler version 6.11.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_CRASHHANDLER_H
#define UI_CRASHHANDLER_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPlainTextEdit>
#include <QtWidgets/QProgressBar>
#include <QtWidgets/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_CrashHandler
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *labelIntro;
    QLabel *labelIntroTesseract;
    QLabel *labelAutosave;
    QPlainTextEdit *plainTextEditBacktrace;
    QProgressBar *progressBarBacktrace;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *CrashHandler)
    {
        if (CrashHandler->objectName().isEmpty())
            CrashHandler->setObjectName("CrashHandler");
        CrashHandler->resize(480, 352);
        verticalLayout = new QVBoxLayout(CrashHandler);
        verticalLayout->setSpacing(4);
        verticalLayout->setObjectName("verticalLayout");
        verticalLayout->setContentsMargins(4, 4, 4, 4);
        labelIntro = new QLabel(CrashHandler);
        labelIntro->setObjectName("labelIntro");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(labelIntro->sizePolicy().hasHeightForWidth());
        labelIntro->setSizePolicy(sizePolicy);
        labelIntro->setWordWrap(true);
        labelIntro->setOpenExternalLinks(true);

        verticalLayout->addWidget(labelIntro);

        labelIntroTesseract = new QLabel(CrashHandler);
        labelIntroTesseract->setObjectName("labelIntroTesseract");
        sizePolicy.setHeightForWidth(labelIntroTesseract->sizePolicy().hasHeightForWidth());
        labelIntroTesseract->setSizePolicy(sizePolicy);
        labelIntroTesseract->setWordWrap(true);

        verticalLayout->addWidget(labelIntroTesseract);

        labelAutosave = new QLabel(CrashHandler);
        labelAutosave->setObjectName("labelAutosave");
        sizePolicy.setHeightForWidth(labelAutosave->sizePolicy().hasHeightForWidth());
        labelAutosave->setSizePolicy(sizePolicy);
        labelAutosave->setWordWrap(true);

        verticalLayout->addWidget(labelAutosave);

        plainTextEditBacktrace = new QPlainTextEdit(CrashHandler);
        plainTextEditBacktrace->setObjectName("plainTextEditBacktrace");
        plainTextEditBacktrace->setEnabled(true);
        plainTextEditBacktrace->setStyleSheet(QString::fromUtf8("color: rgb(144, 144, 144);"));
        plainTextEditBacktrace->setReadOnly(true);

        verticalLayout->addWidget(plainTextEditBacktrace);

        progressBarBacktrace = new QProgressBar(CrashHandler);
        progressBarBacktrace->setObjectName("progressBarBacktrace");
        progressBarBacktrace->setMaximum(0);
        progressBarBacktrace->setValue(0);

        verticalLayout->addWidget(progressBarBacktrace);

        buttonBox = new QDialogButtonBox(CrashHandler);
        buttonBox->setObjectName("buttonBox");
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Close);

        verticalLayout->addWidget(buttonBox);


        retranslateUi(CrashHandler);
        QObject::connect(buttonBox, &QDialogButtonBox::accepted, CrashHandler, qOverload<>(&QDialog::accept));
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, CrashHandler, qOverload<>(&QDialog::reject));

        QMetaObject::connectSlotsByName(CrashHandler);
    } // setupUi

    void retranslateUi(QDialog *CrashHandler)
    {
        labelIntro->setText(gettext("<html><head/><body><p><span style=\" font-weight:600;\">The application has crashed</span></p><p>Apologies for the inconvenience. To help improve the application, please consider reporting the issue to <a href=\"mailto:manisandro@gmail.com?subject=gImageReader%20Crash\">manisandro@gmail.com</a>. Please try to describe what you were doing before the application crashed. Also, include the information below. Thank you.</p></body></html>"));
        labelIntroTesseract->setText(gettext("<html><head/><body><p><span style=\" font-weight:600;\">Tesseract has aborted</span></p><p>Tesseract (the OCR engine) has aborted while recognizing text. This may occur if the used traineddatas are corrupt or incomplatible with the version of tesseract in use, or due to a bug in tesseract.</p><p>The stacktrace below may provide additional information about where the crash occurred.</p></body></html>"));
        labelAutosave->setText(QString());
        (void)CrashHandler;
    } // retranslateUi

};

namespace Ui {
    class CrashHandler: public Ui_CrashHandler {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_CRASHHANDLER_H
