/********************************************************************************
** Form generated from reading UI file 'qtappearanceoptionpage.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_QTAPPEARANCEOPTIONPAGE_H
#define UI_QTAPPEARANCEOPTIONPAGE_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFontComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "widgets/pathselection.h"

namespace QtUtilities {

class Ui_QtAppearanceOptionPage
{
public:
    QVBoxLayout *verticalLayout;
    QGridLayout *gridLayout;
    QLabel *useDefaultLabel;
    QLabel *fontLabel;
    QHBoxLayout *fontHorizontalLayout;
    QFontComboBox *fontComboBox;
    QPushButton *fontPushButton;
    QCheckBox *fontCheckBox;
    QLabel *widgetStyleLabel;
    QComboBox *widgetStyleComboBox;
    QCheckBox *widgetStyleCheckBox;
    QLabel *styleSheetLabel;
    QtUtilities::PathSelection *styleSheetPathSelection;
    QCheckBox *styleSheetCheckBox;
    QLabel *paletteLabel;
    QToolButton *paletteToolButton;
    QCheckBox *paletteCheckBox;
    QLabel *iconThemeLabel;
    QComboBox *iconThemeComboBox;
    QCheckBox *iconThemeCheckBox;
    QSpacerItem *verticalSpacer;
    QLabel *label;

    void setupUi(QWidget *QtUtilities__QtAppearanceOptionPage)
    {
        if (QtUtilities__QtAppearanceOptionPage->objectName().isEmpty())
            QtUtilities__QtAppearanceOptionPage->setObjectName("QtUtilities__QtAppearanceOptionPage");
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("preferences-desktop-icons");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        QtUtilities__QtAppearanceOptionPage->setWindowIcon(icon);
        QtUtilities__QtAppearanceOptionPage->setStyleSheet(QString::fromUtf8("QGroupBox { font-weight: bold };"));
        verticalLayout = new QVBoxLayout(QtUtilities__QtAppearanceOptionPage);
        verticalLayout->setObjectName("verticalLayout");
        gridLayout = new QGridLayout();
        gridLayout->setObjectName("gridLayout");
        useDefaultLabel = new QLabel(QtUtilities__QtAppearanceOptionPage);
        useDefaultLabel->setObjectName("useDefaultLabel");

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

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

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

        fontHorizontalLayout = new QHBoxLayout();
        fontHorizontalLayout->setSpacing(4);
        fontHorizontalLayout->setObjectName("fontHorizontalLayout");
        fontComboBox = new QFontComboBox(QtUtilities__QtAppearanceOptionPage);
        fontComboBox->setObjectName("fontComboBox");
        fontComboBox->setEnabled(false);
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(fontComboBox->sizePolicy().hasHeightForWidth());
        fontComboBox->setSizePolicy(sizePolicy);

        fontHorizontalLayout->addWidget(fontComboBox);

        fontPushButton = new QPushButton(QtUtilities__QtAppearanceOptionPage);
        fontPushButton->setObjectName("fontPushButton");
        fontPushButton->setEnabled(false);
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(fontPushButton->sizePolicy().hasHeightForWidth());
        fontPushButton->setSizePolicy(sizePolicy1);

        fontHorizontalLayout->addWidget(fontPushButton);


        gridLayout->addLayout(fontHorizontalLayout, 1, 1, 1, 1);

        fontCheckBox = new QCheckBox(QtUtilities__QtAppearanceOptionPage);
        fontCheckBox->setObjectName("fontCheckBox");
        fontCheckBox->setChecked(true);

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

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

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

        widgetStyleComboBox = new QComboBox(QtUtilities__QtAppearanceOptionPage);
        widgetStyleComboBox->setObjectName("widgetStyleComboBox");
        widgetStyleComboBox->setEnabled(false);
        QSizePolicy sizePolicy2(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(widgetStyleComboBox->sizePolicy().hasHeightForWidth());
        widgetStyleComboBox->setSizePolicy(sizePolicy2);
        widgetStyleComboBox->setEditable(true);

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

        widgetStyleCheckBox = new QCheckBox(QtUtilities__QtAppearanceOptionPage);
        widgetStyleCheckBox->setObjectName("widgetStyleCheckBox");
        widgetStyleCheckBox->setChecked(true);

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

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

        gridLayout->addWidget(styleSheetLabel, 3, 0, 1, 1);

        styleSheetPathSelection = new QtUtilities::PathSelection(QtUtilities__QtAppearanceOptionPage);
        styleSheetPathSelection->setObjectName("styleSheetPathSelection");
        styleSheetPathSelection->setEnabled(false);

        gridLayout->addWidget(styleSheetPathSelection, 3, 1, 1, 1);

        styleSheetCheckBox = new QCheckBox(QtUtilities__QtAppearanceOptionPage);
        styleSheetCheckBox->setObjectName("styleSheetCheckBox");
        styleSheetCheckBox->setChecked(true);

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

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

        gridLayout->addWidget(paletteLabel, 4, 0, 1, 1);

        paletteToolButton = new QToolButton(QtUtilities__QtAppearanceOptionPage);
        paletteToolButton->setObjectName("paletteToolButton");
        paletteToolButton->setEnabled(false);

        gridLayout->addWidget(paletteToolButton, 4, 1, 1, 1);

        paletteCheckBox = new QCheckBox(QtUtilities__QtAppearanceOptionPage);
        paletteCheckBox->setObjectName("paletteCheckBox");
        paletteCheckBox->setChecked(true);

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

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

        gridLayout->addWidget(iconThemeLabel, 5, 0, 1, 1);

        iconThemeComboBox = new QComboBox(QtUtilities__QtAppearanceOptionPage);
        iconThemeComboBox->setObjectName("iconThemeComboBox");
        iconThemeComboBox->setEnabled(false);
        sizePolicy2.setHeightForWidth(iconThemeComboBox->sizePolicy().hasHeightForWidth());
        iconThemeComboBox->setSizePolicy(sizePolicy2);
        iconThemeComboBox->setEditable(true);

        gridLayout->addWidget(iconThemeComboBox, 5, 1, 1, 1);

        iconThemeCheckBox = new QCheckBox(QtUtilities__QtAppearanceOptionPage);
        iconThemeCheckBox->setObjectName("iconThemeCheckBox");
        iconThemeCheckBox->setChecked(true);

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


        verticalLayout->addLayout(gridLayout);

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

        verticalLayout->addItem(verticalSpacer);

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

        verticalLayout->addWidget(label);


        retranslateUi(QtUtilities__QtAppearanceOptionPage);
        QObject::connect(fontCheckBox, &QCheckBox::toggled, fontComboBox, &QFontComboBox::setDisabled);
        QObject::connect(fontCheckBox, &QCheckBox::toggled, fontPushButton, &QPushButton::setDisabled);
        QObject::connect(widgetStyleCheckBox, &QCheckBox::toggled, widgetStyleComboBox, &QComboBox::setDisabled);
        QObject::connect(paletteCheckBox, &QCheckBox::toggled, paletteToolButton, &QToolButton::setDisabled);
        QObject::connect(styleSheetCheckBox, SIGNAL(toggled(bool)), styleSheetPathSelection, SLOT(setDisabled(bool)));
        QObject::connect(iconThemeCheckBox, &QCheckBox::toggled, iconThemeComboBox, &QComboBox::setDisabled);

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

    void retranslateUi(QWidget *QtUtilities__QtAppearanceOptionPage)
    {
        QtUtilities__QtAppearanceOptionPage->setWindowTitle(QCoreApplication::translate("QtUtilities::QtAppearanceOptionPage", "Appearance", nullptr));
        useDefaultLabel->setText(QCoreApplication::translate("QtUtilities::QtAppearanceOptionPage", "Use system default", nullptr));
        fontLabel->setText(QCoreApplication::translate("QtUtilities::QtAppearanceOptionPage", "Font", nullptr));
        fontPushButton->setText(QCoreApplication::translate("QtUtilities::QtAppearanceOptionPage", "More options ...", nullptr));
        widgetStyleLabel->setText(QCoreApplication::translate("QtUtilities::QtAppearanceOptionPage", "Widget style", nullptr));
        styleSheetLabel->setText(QCoreApplication::translate("QtUtilities::QtAppearanceOptionPage", "Style sheet", nullptr));
        paletteLabel->setText(QCoreApplication::translate("QtUtilities::QtAppearanceOptionPage", "Palette", nullptr));
        paletteToolButton->setText(QCoreApplication::translate("QtUtilities::QtAppearanceOptionPage", "select ...", nullptr));
        iconThemeLabel->setText(QCoreApplication::translate("QtUtilities::QtAppearanceOptionPage", "Icon theme", nullptr));
        label->setText(QCoreApplication::translate("QtUtilities::QtAppearanceOptionPage", "These settings take effect after restarting the application.\n"
"These settings might be overwritten by your Qt platform integration plugin and hence have no effect.", nullptr));
    } // retranslateUi

};

} // namespace QtUtilities

namespace QtUtilities {
namespace Ui {
    class QtAppearanceOptionPage: public Ui_QtAppearanceOptionPage {};
} // namespace Ui
} // namespace QtUtilities

#endif // UI_QTAPPEARANCEOPTIONPAGE_H
