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

#ifndef UI_CONFIGPREVIEWWIDGET_H
#define UI_CONFIGPREVIEWWIDGET_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "../common/utils/colorbutton.h"

QT_BEGIN_NAMESPACE

class Ui_ConfigPreviewWidget
{
public:
    QVBoxLayout *verticalLayout;
    QFormLayout *buildFormLayout;
    QLabel *buildLabel;
    QRadioButton *buildAutomaticallyRadio;
    QRadioButton *buildManuallyRadio;
    QFormLayout *coordinatesFormLayout;
    QCheckBox *showCoordinatesCheck;
    QRadioButton *bestPrecisionRadio;
    QWidget *specifyPrecisionWidget;
    QHBoxLayout *horizontalLayout;
    QRadioButton *specifyPrecisionRadio;
    QSpinBox *specifyPrecisionSpinBox;
    QGridLayout *whiteSpaceGridLayout;
    ColorButton *backgroundColorButton;
    QLabel *colorBackgroundLabel;
    QSpacerItem *verticalSpacer;
    QButtonGroup *buildButtonGroup;
    QButtonGroup *precisionButtonGroup;

    void setupUi(QWidget *ConfigPreviewWidget)
    {
        if (ConfigPreviewWidget->objectName().isEmpty())
            ConfigPreviewWidget->setObjectName(QString::fromUtf8("ConfigPreviewWidget"));
        verticalLayout = new QVBoxLayout(ConfigPreviewWidget);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        buildFormLayout = new QFormLayout();
        buildFormLayout->setObjectName(QString::fromUtf8("buildFormLayout"));
        buildFormLayout->setVerticalSpacing(2);
        buildLabel = new QLabel(ConfigPreviewWidget);
        buildLabel->setObjectName(QString::fromUtf8("buildLabel"));

        buildFormLayout->setWidget(0, QFormLayout::LabelRole, buildLabel);

        buildAutomaticallyRadio = new QRadioButton(ConfigPreviewWidget);
        buildButtonGroup = new QButtonGroup(ConfigPreviewWidget);
        buildButtonGroup->setObjectName(QString::fromUtf8("buildButtonGroup"));
        buildButtonGroup->addButton(buildAutomaticallyRadio);
        buildAutomaticallyRadio->setObjectName(QString::fromUtf8("buildAutomaticallyRadio"));

        buildFormLayout->setWidget(0, QFormLayout::FieldRole, buildAutomaticallyRadio);

        buildManuallyRadio = new QRadioButton(ConfigPreviewWidget);
        buildButtonGroup->addButton(buildManuallyRadio);
        buildManuallyRadio->setObjectName(QString::fromUtf8("buildManuallyRadio"));

        buildFormLayout->setWidget(1, QFormLayout::FieldRole, buildManuallyRadio);


        verticalLayout->addLayout(buildFormLayout);

        coordinatesFormLayout = new QFormLayout();
        coordinatesFormLayout->setObjectName(QString::fromUtf8("coordinatesFormLayout"));
        showCoordinatesCheck = new QCheckBox(ConfigPreviewWidget);
        showCoordinatesCheck->setObjectName(QString::fromUtf8("showCoordinatesCheck"));

        coordinatesFormLayout->setWidget(0, QFormLayout::LabelRole, showCoordinatesCheck);

        bestPrecisionRadio = new QRadioButton(ConfigPreviewWidget);
        precisionButtonGroup = new QButtonGroup(ConfigPreviewWidget);
        precisionButtonGroup->setObjectName(QString::fromUtf8("precisionButtonGroup"));
        precisionButtonGroup->addButton(bestPrecisionRadio);
        bestPrecisionRadio->setObjectName(QString::fromUtf8("bestPrecisionRadio"));
        bestPrecisionRadio->setEnabled(false);
        bestPrecisionRadio->setChecked(true);

        coordinatesFormLayout->setWidget(0, QFormLayout::FieldRole, bestPrecisionRadio);

        specifyPrecisionWidget = new QWidget(ConfigPreviewWidget);
        specifyPrecisionWidget->setObjectName(QString::fromUtf8("specifyPrecisionWidget"));
        specifyPrecisionWidget->setEnabled(false);
        horizontalLayout = new QHBoxLayout(specifyPrecisionWidget);
        horizontalLayout->setContentsMargins(0, 0, 0, 0);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        specifyPrecisionRadio = new QRadioButton(specifyPrecisionWidget);
        precisionButtonGroup->addButton(specifyPrecisionRadio);
        specifyPrecisionRadio->setObjectName(QString::fromUtf8("specifyPrecisionRadio"));

        horizontalLayout->addWidget(specifyPrecisionRadio);

        specifyPrecisionSpinBox = new QSpinBox(specifyPrecisionWidget);
        specifyPrecisionSpinBox->setObjectName(QString::fromUtf8("specifyPrecisionSpinBox"));
        specifyPrecisionSpinBox->setEnabled(false);

        horizontalLayout->addWidget(specifyPrecisionSpinBox);


        coordinatesFormLayout->setWidget(1, QFormLayout::FieldRole, specifyPrecisionWidget);


        verticalLayout->addLayout(coordinatesFormLayout);

        whiteSpaceGridLayout = new QGridLayout();
        whiteSpaceGridLayout->setObjectName(QString::fromUtf8("whiteSpaceGridLayout"));
        backgroundColorButton = new ColorButton(ConfigPreviewWidget);
        backgroundColorButton->setObjectName(QString::fromUtf8("backgroundColorButton"));
        backgroundColorButton->setEnabled(true);

        whiteSpaceGridLayout->addWidget(backgroundColorButton, 0, 1, 1, 1);

        colorBackgroundLabel = new QLabel(ConfigPreviewWidget);
        colorBackgroundLabel->setObjectName(QString::fromUtf8("colorBackgroundLabel"));
        colorBackgroundLabel->setEnabled(true);
        colorBackgroundLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);

        whiteSpaceGridLayout->addWidget(colorBackgroundLabel, 0, 0, 1, 1);


        verticalLayout->addLayout(whiteSpaceGridLayout);

        verticalSpacer = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout->addItem(verticalSpacer);


        retranslateUi(ConfigPreviewWidget);
        QObject::connect(showCoordinatesCheck, SIGNAL(toggled(bool)), bestPrecisionRadio, SLOT(setEnabled(bool)));
        QObject::connect(showCoordinatesCheck, SIGNAL(toggled(bool)), specifyPrecisionWidget, SLOT(setEnabled(bool)));
        QObject::connect(specifyPrecisionRadio, SIGNAL(toggled(bool)), specifyPrecisionSpinBox, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *ConfigPreviewWidget)
    {
        ConfigPreviewWidget->setWindowTitle(QCoreApplication::translate("ConfigPreviewWidget", "Preview", nullptr));
#if QT_CONFIG(whatsthis)
        buildLabel->setWhatsThis(QCoreApplication::translate("ConfigPreviewWidget", "<p>Specify whether the preview should be generated automatically or manually.  If the option \"Automatically\" is checked, the TikZ code in the editor is compiled while editing.  If the option \"Manually\" is checked, a \"Build\" button is available and the TikZ code is only compiled when you press that button.</p>", nullptr));
#endif // QT_CONFIG(whatsthis)
        buildLabel->setText(QCoreApplication::translate("ConfigPreviewWidget", "Preview generation:", nullptr));
#if QT_CONFIG(whatsthis)
        buildAutomaticallyRadio->setWhatsThis(QCoreApplication::translate("ConfigPreviewWidget", "<p>If this option is checked, the TikZ code in the editor is compiled while editing.</p>", nullptr));
#endif // QT_CONFIG(whatsthis)
        buildAutomaticallyRadio->setText(QCoreApplication::translate("ConfigPreviewWidget", "&Automatically", nullptr));
#if QT_CONFIG(whatsthis)
        buildManuallyRadio->setWhatsThis(QCoreApplication::translate("ConfigPreviewWidget", "<p>If this option is checked, a \"Build\" button is available and the TikZ code is only compiled when you press that button.</p>", nullptr));
#endif // QT_CONFIG(whatsthis)
        buildManuallyRadio->setText(QCoreApplication::translate("ConfigPreviewWidget", "&Manually", nullptr));
#if QT_CONFIG(whatsthis)
        showCoordinatesCheck->setWhatsThis(QCoreApplication::translate("ConfigPreviewWidget", "<p>If this option is checked, the coordinates of the mouse cursor in the preview are shown.</p>", nullptr));
#endif // QT_CONFIG(whatsthis)
        showCoordinatesCheck->setText(QCoreApplication::translate("ConfigPreviewWidget", "S&how mouse coordinates:", nullptr));
#if QT_CONFIG(whatsthis)
        bestPrecisionRadio->setWhatsThis(QCoreApplication::translate("ConfigPreviewWidget", "<p>If this option is checked, the mouse coordinates are shown with enough precision but without redundant decimals.</p>", nullptr));
#endif // QT_CONFIG(whatsthis)
        bestPrecisionRadio->setText(QCoreApplication::translate("ConfigPreviewWidget", "Use &best precision", nullptr));
#if QT_CONFIG(whatsthis)
        specifyPrecisionRadio->setWhatsThis(QCoreApplication::translate("ConfigPreviewWidget", "<p>If this option is checked, the mouse coordinates are shown with the specified number of decimals.</p>", nullptr));
#endif // QT_CONFIG(whatsthis)
        specifyPrecisionRadio->setText(QCoreApplication::translate("ConfigPreviewWidget", "Speci&fy precision:", nullptr));
#if QT_CONFIG(whatsthis)
        specifyPrecisionSpinBox->setWhatsThis(QCoreApplication::translate("ConfigPreviewWidget", "<p>Specify the number of decimals with which the mouse coordinates are shown.</p>", nullptr));
#endif // QT_CONFIG(whatsthis)
#if QT_CONFIG(whatsthis)
        backgroundColorButton->setWhatsThis(QCoreApplication::translate("ConfigPreviewWidget", "<p>Select the color for the background.</p>", nullptr));
#endif // QT_CONFIG(whatsthis)
#if QT_CONFIG(whatsthis)
        colorBackgroundLabel->setWhatsThis(QCoreApplication::translate("ConfigPreviewWidget", "<p>Select the color for the background.</p>", nullptr));
#endif // QT_CONFIG(whatsthis)
        colorBackgroundLabel->setText(QCoreApplication::translate("ConfigPreviewWidget", "Background Color", nullptr));
    } // retranslateUi

};

namespace Ui {
    class ConfigPreviewWidget: public Ui_ConfigPreviewWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_CONFIGPREVIEWWIDGET_H
