#include <klocalizedstring.h>

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

#ifndef UI_TEMPLATEPREVIEWTOOLVIEW_H
#define UI_TEMPLATEPREVIEWTOOLVIEW_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kmessagewidget.h"
#include "templatepreview.h"

QT_BEGIN_NAMESPACE

class Ui_TemplatePreviewToolView
{
public:
    QVBoxLayout *verticalLayout;
    KMessageWidget *messageWidget;
    TemplatePreview *preview;
    QGroupBox *groupBox_2;
    QVBoxLayout *verticalLayout_2;
    QRadioButton *projectRadioButton;
    QRadioButton *classRadioButton;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer;
    QLabel *emptyLinesPolicyLabel;
    QComboBox *emptyLinesPolicyComboBox;
    QSpacerItem *horizontalSpacer_2;

    void setupUi(QWidget *TemplatePreviewToolView)
    {
        if (TemplatePreviewToolView->objectName().isEmpty())
            TemplatePreviewToolView->setObjectName(QStringLiteral("TemplatePreviewToolView"));
        TemplatePreviewToolView->resize(686, 571);
        verticalLayout = new QVBoxLayout(TemplatePreviewToolView);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        messageWidget = new KMessageWidget(TemplatePreviewToolView);
        messageWidget->setObjectName(QStringLiteral("messageWidget"));

        verticalLayout->addWidget(messageWidget);

        preview = new TemplatePreview(TemplatePreviewToolView);
        preview->setObjectName(QStringLiteral("preview"));

        verticalLayout->addWidget(preview);

        groupBox_2 = new QGroupBox(TemplatePreviewToolView);
        groupBox_2->setObjectName(QStringLiteral("groupBox_2"));
        groupBox_2->setFlat(true);
        verticalLayout_2 = new QVBoxLayout(groupBox_2);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        projectRadioButton = new QRadioButton(groupBox_2);
        projectRadioButton->setObjectName(QStringLiteral("projectRadioButton"));
        projectRadioButton->setChecked(true);

        verticalLayout_2->addWidget(projectRadioButton);

        classRadioButton = new QRadioButton(groupBox_2);
        classRadioButton->setObjectName(QStringLiteral("classRadioButton"));

        verticalLayout_2->addWidget(classRadioButton);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Maximum, QSizePolicy::Minimum);

        horizontalLayout->addItem(horizontalSpacer);

        emptyLinesPolicyLabel = new QLabel(groupBox_2);
        emptyLinesPolicyLabel->setObjectName(QStringLiteral("emptyLinesPolicyLabel"));
        emptyLinesPolicyLabel->setEnabled(false);

        horizontalLayout->addWidget(emptyLinesPolicyLabel);

        emptyLinesPolicyComboBox = new QComboBox(groupBox_2);
        emptyLinesPolicyComboBox->setObjectName(QStringLiteral("emptyLinesPolicyComboBox"));
        emptyLinesPolicyComboBox->setEnabled(false);

        horizontalLayout->addWidget(emptyLinesPolicyComboBox);

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

        horizontalLayout->addItem(horizontalSpacer_2);


        verticalLayout_2->addLayout(horizontalLayout);


        verticalLayout->addWidget(groupBox_2);

#ifndef UI_QT_NO_SHORTCUT
        emptyLinesPolicyLabel->setBuddy(emptyLinesPolicyComboBox);
#endif // QT_NO_SHORTCUT

        retranslateUi(TemplatePreviewToolView);
        QObject::connect(classRadioButton, SIGNAL(toggled(bool)), emptyLinesPolicyComboBox, SLOT(setEnabled(bool)));
        QObject::connect(classRadioButton, SIGNAL(toggled(bool)), emptyLinesPolicyLabel, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *TemplatePreviewToolView)
    {
        groupBox_2->setTitle(tr2i18n("Template type", 0));
        projectRadioButton->setText(tr2i18n("Project template", 0));
        classRadioButton->setText(tr2i18n("Class template", 0));
        emptyLinesPolicyLabel->setText(tr2i18n("&Empty lines policy", 0));
        emptyLinesPolicyComboBox->clear();
        emptyLinesPolicyComboBox->insertItems(0, QStringList()
         << tr2i18n("Keep empty lines", 0)
         << tr2i18n("Remove repeated empty lines", 0)
         << tr2i18n("Remove all empty lines", 0)
        );
        Q_UNUSED(TemplatePreviewToolView);
    } // retranslateUi

};

namespace Ui {
    class TemplatePreviewToolView: public Ui_TemplatePreviewToolView {};
} // namespace Ui

QT_END_NAMESPACE

#endif // TEMPLATEPREVIEWTOOLVIEW_H

