#include <kdialog.h>
#include <klocale.h>

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

#ifndef UI_RESOURCESDIALOGPAGE_H
#define UI_RESOURCESDIALOGPAGE_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
#include "kbuttongroup.h"
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_ResourcesDialogPage
{
public:
    QGridLayout *gridLayout_2;
    KButtonGroup *kbuttongroup;
    QGridLayout *gridLayout;
    QCheckBox *kcfg_UseCourseRepository;
    QLabel *label_2;
    KUrlRequester *kcfg_CourseRepositoryPath;
    QSpacerItem *verticalSpacer;
    QLabel *label;

    void setupUi(QWidget *ResourcesDialogPage)
    {
        if (ResourcesDialogPage->objectName().isEmpty())
            ResourcesDialogPage->setObjectName(QString::fromUtf8("ResourcesDialogPage"));
        ResourcesDialogPage->resize(400, 250);
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(ResourcesDialogPage->sizePolicy().hasHeightForWidth());
        ResourcesDialogPage->setSizePolicy(sizePolicy);
        ResourcesDialogPage->setMinimumSize(QSize(400, 250));
        ResourcesDialogPage->setBaseSize(QSize(0, 0));
        gridLayout_2 = new QGridLayout(ResourcesDialogPage);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        kbuttongroup = new KButtonGroup(ResourcesDialogPage);
        kbuttongroup->setObjectName(QString::fromUtf8("kbuttongroup"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(kbuttongroup->sizePolicy().hasHeightForWidth());
        kbuttongroup->setSizePolicy(sizePolicy1);
        kbuttongroup->setMinimumSize(QSize(392, 0));
        gridLayout = new QGridLayout(kbuttongroup);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        kcfg_UseCourseRepository = new QCheckBox(kbuttongroup);
        kcfg_UseCourseRepository->setObjectName(QString::fromUtf8("kcfg_UseCourseRepository"));

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

        label_2 = new QLabel(kbuttongroup);
        label_2->setObjectName(QString::fromUtf8("label_2"));

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

        kcfg_CourseRepositoryPath = new KUrlRequester(kbuttongroup);
        kcfg_CourseRepositoryPath->setObjectName(QString::fromUtf8("kcfg_CourseRepositoryPath"));
        QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(kcfg_CourseRepositoryPath->sizePolicy().hasHeightForWidth());
        kcfg_CourseRepositoryPath->setSizePolicy(sizePolicy2);
        kcfg_CourseRepositoryPath->setMode(KFile::Directory|KFile::ExistingOnly|KFile::LocalOnly);

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

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

        gridLayout->addItem(verticalSpacer, 3, 0, 1, 1);


        gridLayout_2->addWidget(kbuttongroup, 2, 0, 1, 1);

        label = new QLabel(ResourcesDialogPage);
        label->setObjectName(QString::fromUtf8("label"));
        sizePolicy2.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
        label->setSizePolicy(sizePolicy2);
        label->setMinimumSize(QSize(0, 0));
        label->setBaseSize(QSize(0, 0));
        label->setWordWrap(true);

        gridLayout_2->addWidget(label, 1, 0, 1, 1);


        retranslateUi(ResourcesDialogPage);

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

    void retranslateUi(QWidget *ResourcesDialogPage)
    {
#ifndef UI_QT_NO_TOOLTIP
        kcfg_UseCourseRepository->setToolTip(tr2i18n("Use this option only if you are a course contributor and you are working on a course repository.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_UseCourseRepository->setText(tr2i18n("Use course contributor repository in trainer mode", 0));
        label_2->setText(tr2i18n("Course Contributor Repository:", 0));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_CourseRepositoryPath->setToolTip(tr2i18n("Path to the contributor repository.", 0));
#endif // QT_NO_TOOLTIP
        label->setText(tr2i18n("This dialog allows advanced settings. It is addressed only to translators, speakers, and other users of the course editor. Adding a repository allows you to work on courses and course skeletons in a structured way. For details please refer to the technical documentation.", 0));
        Q_UNUSED(ResourcesDialogPage);
    } // retranslateUi

};

namespace Ui {
    class ResourcesDialogPage: public Ui_ResourcesDialogPage {};
} // namespace Ui

QT_END_NAMESPACE

#endif // RESOURCESDIALOGPAGE_H

