#include <klocalizedstring.h>

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

#ifndef UI_PREFCARDAPPEARANCEBASE_H
#define UI_PREFCARDAPPEARANCEBASE_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QWidget>
#include <kwqcardview.h>
#include "kcolorbutton.h"
#include "kfontrequester.h"

QT_BEGIN_NAMESPACE

class Ui_PrefCardAppearanceBase
{
public:
    QGridLayout *gridLayout;
    QSpacerItem *spacerItem;
    KWQCardView *flashcard;
    QSpacerItem *spacerItem1;
    QGridLayout *gridLayout1;
    QPushButton *flipButton;
    QLabel *fontLabel;
    QStackedWidget *widgetStack;
    QWidget *backStackPage;
    QGridLayout *gridLayout2;
    KFontRequester *kcfg_BackFont;
    KColorButton *kcfg_BackTextColor;
    KColorButton *kcfg_BackFrameColor;
    KColorButton *kcfg_BackCardColor;
    QWidget *frontStackPage;
    QGridLayout *gridLayout3;
    KFontRequester *kcfg_FrontFont;
    KColorButton *kcfg_FrontTextColor;
    KColorButton *kcfg_FrontFrameColor;
    KColorButton *kcfg_FrontCardColor;
    QLabel *textColorLabel;
    QLabel *cardColorLabel;
    QLabel *frameColorLabel;

    void setupUi(QWidget *PrefCardAppearanceBase)
    {
        if (PrefCardAppearanceBase->objectName().isEmpty())
            PrefCardAppearanceBase->setObjectName(QStringLiteral("PrefCardAppearanceBase"));
        PrefCardAppearanceBase->resize(555, 353);
        gridLayout = new QGridLayout(PrefCardAppearanceBase);
        gridLayout->setContentsMargins(0, 0, 0, 0);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        spacerItem = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);

        gridLayout->addItem(spacerItem, 0, 0, 1, 1);

        flashcard = new KWQCardView(PrefCardAppearanceBase);
        flashcard->setObjectName(QStringLiteral("flashcard"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(flashcard->sizePolicy().hasHeightForWidth());
        flashcard->setSizePolicy(sizePolicy);
        flashcard->setMinimumSize(QSize(50, 30));
        flashcard->setMaximumSize(QSize(9000000, 9000000));
        flashcard->setAutoFillBackground(true);
        flashcard->setFrameShape(QFrame::Box);
        flashcard->setFrameShadow(QFrame::Plain);

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

        spacerItem1 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);

        gridLayout->addItem(spacerItem1, 0, 2, 1, 1);

        gridLayout1 = new QGridLayout();
        gridLayout1->setObjectName(QStringLiteral("gridLayout1"));
        flipButton = new QPushButton(PrefCardAppearanceBase);
        flipButton->setObjectName(QStringLiteral("flipButton"));

        gridLayout1->addWidget(flipButton, 0, 0, 1, 2);

        fontLabel = new QLabel(PrefCardAppearanceBase);
        fontLabel->setObjectName(QStringLiteral("fontLabel"));
        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(fontLabel->sizePolicy().hasHeightForWidth());
        fontLabel->setSizePolicy(sizePolicy1);

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

        widgetStack = new QStackedWidget(PrefCardAppearanceBase);
        widgetStack->setObjectName(QStringLiteral("widgetStack"));
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(widgetStack->sizePolicy().hasHeightForWidth());
        widgetStack->setSizePolicy(sizePolicy2);
        backStackPage = new QWidget();
        backStackPage->setObjectName(QStringLiteral("backStackPage"));
        gridLayout2 = new QGridLayout(backStackPage);
#ifndef UI_Q_OS_MAC
        gridLayout2->setSpacing(6);
#endif
        gridLayout2->setContentsMargins(0, 0, 0, 0);
        gridLayout2->setObjectName(QStringLiteral("gridLayout2"));
        kcfg_BackFont = new KFontRequester(backStackPage);
        kcfg_BackFont->setObjectName(QStringLiteral("kcfg_BackFont"));
        QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(kcfg_BackFont->sizePolicy().hasHeightForWidth());
        kcfg_BackFont->setSizePolicy(sizePolicy3);
        kcfg_BackFont->setFocusPolicy(Qt::TabFocus);

        gridLayout2->addWidget(kcfg_BackFont, 0, 0, 1, 1);

        kcfg_BackTextColor = new KColorButton(backStackPage);
        kcfg_BackTextColor->setObjectName(QStringLiteral("kcfg_BackTextColor"));

        gridLayout2->addWidget(kcfg_BackTextColor, 1, 0, 1, 1);

        kcfg_BackFrameColor = new KColorButton(backStackPage);
        kcfg_BackFrameColor->setObjectName(QStringLiteral("kcfg_BackFrameColor"));

        gridLayout2->addWidget(kcfg_BackFrameColor, 3, 0, 1, 1);

        kcfg_BackCardColor = new KColorButton(backStackPage);
        kcfg_BackCardColor->setObjectName(QStringLiteral("kcfg_BackCardColor"));

        gridLayout2->addWidget(kcfg_BackCardColor, 2, 0, 1, 1);

        widgetStack->addWidget(backStackPage);
        frontStackPage = new QWidget();
        frontStackPage->setObjectName(QStringLiteral("frontStackPage"));
        gridLayout3 = new QGridLayout(frontStackPage);
#ifndef UI_Q_OS_MAC
        gridLayout3->setSpacing(6);
#endif
        gridLayout3->setContentsMargins(0, 0, 0, 0);
        gridLayout3->setObjectName(QStringLiteral("gridLayout3"));
        kcfg_FrontFont = new KFontRequester(frontStackPage);
        kcfg_FrontFont->setObjectName(QStringLiteral("kcfg_FrontFont"));
        sizePolicy3.setHeightForWidth(kcfg_FrontFont->sizePolicy().hasHeightForWidth());
        kcfg_FrontFont->setSizePolicy(sizePolicy3);
        kcfg_FrontFont->setFocusPolicy(Qt::TabFocus);

        gridLayout3->addWidget(kcfg_FrontFont, 0, 0, 1, 1);

        kcfg_FrontTextColor = new KColorButton(frontStackPage);
        kcfg_FrontTextColor->setObjectName(QStringLiteral("kcfg_FrontTextColor"));

        gridLayout3->addWidget(kcfg_FrontTextColor, 1, 0, 1, 1);

        kcfg_FrontFrameColor = new KColorButton(frontStackPage);
        kcfg_FrontFrameColor->setObjectName(QStringLiteral("kcfg_FrontFrameColor"));

        gridLayout3->addWidget(kcfg_FrontFrameColor, 3, 0, 1, 1);

        kcfg_FrontCardColor = new KColorButton(frontStackPage);
        kcfg_FrontCardColor->setObjectName(QStringLiteral("kcfg_FrontCardColor"));

        gridLayout3->addWidget(kcfg_FrontCardColor, 2, 0, 1, 1);

        widgetStack->addWidget(frontStackPage);

        gridLayout1->addWidget(widgetStack, 1, 1, 4, 1);

        textColorLabel = new QLabel(PrefCardAppearanceBase);
        textColorLabel->setObjectName(QStringLiteral("textColorLabel"));
        sizePolicy1.setHeightForWidth(textColorLabel->sizePolicy().hasHeightForWidth());
        textColorLabel->setSizePolicy(sizePolicy1);

        gridLayout1->addWidget(textColorLabel, 2, 0, 1, 1);

        cardColorLabel = new QLabel(PrefCardAppearanceBase);
        cardColorLabel->setObjectName(QStringLiteral("cardColorLabel"));
        sizePolicy1.setHeightForWidth(cardColorLabel->sizePolicy().hasHeightForWidth());
        cardColorLabel->setSizePolicy(sizePolicy1);

        gridLayout1->addWidget(cardColorLabel, 3, 0, 1, 1);

        frameColorLabel = new QLabel(PrefCardAppearanceBase);
        frameColorLabel->setObjectName(QStringLiteral("frameColorLabel"));
        sizePolicy1.setHeightForWidth(frameColorLabel->sizePolicy().hasHeightForWidth());
        frameColorLabel->setSizePolicy(sizePolicy1);

        gridLayout1->addWidget(frameColorLabel, 4, 0, 1, 1);


        gridLayout->addLayout(gridLayout1, 1, 0, 1, 3);

        QWidget::setTabOrder(flipButton, kcfg_FrontFont);
        QWidget::setTabOrder(kcfg_FrontFont, kcfg_FrontTextColor);
        QWidget::setTabOrder(kcfg_FrontTextColor, kcfg_FrontCardColor);
        QWidget::setTabOrder(kcfg_FrontCardColor, kcfg_FrontFrameColor);

        retranslateUi(PrefCardAppearanceBase);

        widgetStack->setCurrentIndex(1);


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

    void retranslateUi(QWidget *PrefCardAppearanceBase)
    {
        PrefCardAppearanceBase->setWindowTitle(tr2i18n("Card Appearance", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        flashcard->setToolTip(QString());
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        flipButton->setToolTip(tr2i18n("Flip card", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        flipButton->setWhatsThis(tr2i18n("Use to show the other side of the card", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        flipButton->setText(tr2i18n("&Flip Card", Q_NULLPTR));
        fontLabel->setText(tr2i18n("F&ont:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_BackFont->setWhatsThis(tr2i18n("Use to select the font for displaying text on the back of the card", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        kcfg_BackTextColor->setToolTip(tr2i18n("Select text color", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_BackTextColor->setWhatsThis(tr2i18n("Use to select the color for text shown on the card", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        kcfg_BackFrameColor->setToolTip(tr2i18n("Select card frame color", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_BackFrameColor->setWhatsThis(tr2i18n("Use to select the color for drawing the frame of the card", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        kcfg_BackCardColor->setToolTip(tr2i18n("Select card color", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_BackCardColor->setWhatsThis(tr2i18n("Select color used to draw the card", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_FrontFont->setWhatsThis(tr2i18n("Use to select the font for displaying text on the front of the card", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        kcfg_FrontTextColor->setToolTip(tr2i18n("Select text color", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_FrontTextColor->setWhatsThis(tr2i18n("Use to select the color for text shown on the card", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        kcfg_FrontFrameColor->setToolTip(tr2i18n("Select card frame color", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_FrontFrameColor->setWhatsThis(tr2i18n("Use to select the color for drawing the frame of the card", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        kcfg_FrontCardColor->setToolTip(tr2i18n("Select card color", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_FrontCardColor->setWhatsThis(tr2i18n("Select color used to draw the card", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        textColorLabel->setText(tr2i18n("&Text color:", Q_NULLPTR));
        cardColorLabel->setText(tr2i18n("&Card color:", Q_NULLPTR));
        frameColorLabel->setText(tr2i18n("Fra&me color:", Q_NULLPTR));
    } // retranslateUi

};

namespace Ui {
    class PrefCardAppearanceBase: public Ui_PrefCardAppearanceBase {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PREFCARDAPPEARANCEBASE_H

