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

#ifndef UI_QTLANGUAGEOPTIONPAGE_H
#define UI_QTLANGUAGEOPTIONPAGE_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

namespace QtUtilities {

class Ui_QtLanguageOptionPage
{
public:
    QVBoxLayout *verticalLayout;
    QGridLayout *gridLayout;
    QComboBox *localeComboBox;
    QLabel *localeLabel;
    QLabel *defaultLabel;
    QCheckBox *localeCheckBox;
    QLabel *languageLabel;
    QSpacerItem *verticalSpacer;
    QLabel *label;

    void setupUi(QWidget *QtUtilities__QtLanguageOptionPage)
    {
        if (QtUtilities__QtLanguageOptionPage->objectName().isEmpty())
            QtUtilities__QtLanguageOptionPage->setObjectName("QtUtilities__QtLanguageOptionPage");
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("preferences-desktop-locale");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        QtUtilities__QtLanguageOptionPage->setWindowIcon(icon);
        QtUtilities__QtLanguageOptionPage->setStyleSheet(QString::fromUtf8("QGroupBox { font-weight: bold };"));
        verticalLayout = new QVBoxLayout(QtUtilities__QtLanguageOptionPage);
        verticalLayout->setObjectName("verticalLayout");
        gridLayout = new QGridLayout();
        gridLayout->setObjectName("gridLayout");
        localeComboBox = new QComboBox(QtUtilities__QtLanguageOptionPage);
        localeComboBox->setObjectName("localeComboBox");
        localeComboBox->setEnabled(false);
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(localeComboBox->sizePolicy().hasHeightForWidth());
        localeComboBox->setSizePolicy(sizePolicy);
        localeComboBox->setEditable(true);

        gridLayout->addWidget(localeComboBox, 1, 1, 1, 1);

        localeLabel = new QLabel(QtUtilities__QtLanguageOptionPage);
        localeLabel->setObjectName("localeLabel");
        localeLabel->setMinimumSize(QSize(60, 0));
        localeLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(localeLabel, 1, 0, 1, 1);

        defaultLabel = new QLabel(QtUtilities__QtLanguageOptionPage);
        defaultLabel->setObjectName("defaultLabel");

        gridLayout->addWidget(defaultLabel, 0, 2, 1, 1);

        localeCheckBox = new QCheckBox(QtUtilities__QtLanguageOptionPage);
        localeCheckBox->setObjectName("localeCheckBox");
        localeCheckBox->setChecked(true);

        gridLayout->addWidget(localeCheckBox, 1, 2, 1, 1, Qt::AlignHCenter);

        languageLabel = new QLabel(QtUtilities__QtLanguageOptionPage);
        languageLabel->setObjectName("languageLabel");
        languageLabel->setTextFormat(Qt::RichText);

        gridLayout->addWidget(languageLabel, 2, 1, 1, 1);


        verticalLayout->addLayout(gridLayout);

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

        verticalLayout->addItem(verticalSpacer);

        label = new QLabel(QtUtilities__QtLanguageOptionPage);
        label->setObjectName("label");
        QFont font;
        font.setBold(true);
        label->setFont(font);
        label->setTextFormat(Qt::PlainText);

        verticalLayout->addWidget(label);


        retranslateUi(QtUtilities__QtLanguageOptionPage);
        QObject::connect(localeCheckBox, &QCheckBox::toggled, localeComboBox, &QComboBox::setDisabled);

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

    void retranslateUi(QWidget *QtUtilities__QtLanguageOptionPage)
    {
        QtUtilities__QtLanguageOptionPage->setWindowTitle(QCoreApplication::translate("QtUtilities::QtLanguageOptionPage", "Localization", nullptr));
        localeLabel->setText(QCoreApplication::translate("QtUtilities::QtLanguageOptionPage", "Locale", nullptr));
        defaultLabel->setText(QCoreApplication::translate("QtUtilities::QtLanguageOptionPage", "Use system default", nullptr));
        languageLabel->setText(QString());
        label->setText(QCoreApplication::translate("QtUtilities::QtLanguageOptionPage", "These settings take effect after restarting the application.", nullptr));
    } // retranslateUi

};

} // namespace QtUtilities

namespace QtUtilities {
namespace Ui {
    class QtLanguageOptionPage: public Ui_QtLanguageOptionPage {};
} // namespace Ui
} // namespace QtUtilities

#endif // UI_QTLANGUAGEOPTIONPAGE_H
