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

/********************************************************************************
** Form generated from reading UI file 'creationsourcedetailsui.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_CREATIONSOURCEDETAILSUI_H
#define UI_CREATIONSOURCEDETAILSUI_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/QWidget>
#include "kcombobox.h"
#include "klanguagebutton.h"
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_CreationSourceDetailsUI
{
public:
    QGridLayout *gridLayout;
    QCheckBox *spellCheckBox;
    QLabel *encodingLabel;
    QLabel *urlLabel;
    KUrlRequester *url;
    KComboBox *encodingCombo;
    KUrlRequester *ooDictURL;
    KLanguageButton *languageButton;
    QLabel *languageLabel;

    void setupUi(QWidget *CreationSourceDetailsUI)
    {
        if (CreationSourceDetailsUI->objectName().isEmpty())
            CreationSourceDetailsUI->setObjectName(QString::fromUtf8("CreationSourceDetailsUI"));
        CreationSourceDetailsUI->resize(421, 189);
        gridLayout = new QGridLayout(CreationSourceDetailsUI);
#ifndef UI_Q_OS_MAC
        gridLayout->setSpacing(6);
#endif
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        spellCheckBox = new QCheckBox(CreationSourceDetailsUI);
        spellCheckBox->setObjectName(QString::fromUtf8("spellCheckBox"));
        spellCheckBox->setChecked(false);

        gridLayout->addWidget(spellCheckBox, 3, 0, 1, 2);

        encodingLabel = new QLabel(CreationSourceDetailsUI);
        encodingLabel->setObjectName(QString::fromUtf8("encodingLabel"));
        QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(0));
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(encodingLabel->sizePolicy().hasHeightForWidth());
        encodingLabel->setSizePolicy(sizePolicy);

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

        urlLabel = new QLabel(CreationSourceDetailsUI);
        urlLabel->setObjectName(QString::fromUtf8("urlLabel"));
        sizePolicy.setHeightForWidth(urlLabel->sizePolicy().hasHeightForWidth());
        urlLabel->setSizePolicy(sizePolicy);

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

        url = new KUrlRequester(CreationSourceDetailsUI);
        url->setObjectName(QString::fromUtf8("url"));
        QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
        sizePolicy1.setHorizontalStretch(1);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(url->sizePolicy().hasHeightForWidth());
        url->setSizePolicy(sizePolicy1);

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

        encodingCombo = new KComboBox(CreationSourceDetailsUI);
        encodingCombo->setObjectName(QString::fromUtf8("encodingCombo"));
        QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(0));
        sizePolicy2.setHorizontalStretch(1);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(encodingCombo->sizePolicy().hasHeightForWidth());
        encodingCombo->setSizePolicy(sizePolicy2);

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

        ooDictURL = new KUrlRequester(CreationSourceDetailsUI);
        ooDictURL->setObjectName(QString::fromUtf8("ooDictURL"));
        ooDictURL->setEnabled(false);
        QSizePolicy sizePolicy3(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(0));
        sizePolicy3.setHorizontalStretch(1);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(ooDictURL->sizePolicy().hasHeightForWidth());
        ooDictURL->setSizePolicy(sizePolicy3);

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

        languageButton = new KLanguageButton(CreationSourceDetailsUI);
        languageButton->setObjectName(QString::fromUtf8("languageButton"));

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

        languageLabel = new QLabel(CreationSourceDetailsUI);
        languageLabel->setObjectName(QString::fromUtf8("languageLabel"));
        sizePolicy.setHeightForWidth(languageLabel->sizePolicy().hasHeightForWidth());
        languageLabel->setSizePolicy(sizePolicy);

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

#ifndef UI_QT_NO_SHORTCUT
        encodingLabel->setBuddy(encodingCombo);
        urlLabel->setBuddy(url);
#endif // QT_NO_SHORTCUT

        retranslateUi(CreationSourceDetailsUI);
        QObject::connect(spellCheckBox, SIGNAL(toggled(bool)), ooDictURL, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *CreationSourceDetailsUI)
    {
#ifndef UI_QT_NO_WHATSTHIS
        spellCheckBox->setWhatsThis(tr2i18n("If you select this check box the words are spell-checked before they are inserted into the new dictionary.", 0));
#endif // QT_NO_WHATSTHIS
        spellCheckBox->setText(tr2i18n("C&ompare to OpenOffice.org dictionary:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        encodingLabel->setWhatsThis(tr2i18n("With this combo box you select the character encoding used to load text files. This combo box is not used for XML files or for dictionary files.", 0));
#endif // QT_NO_WHATSTHIS
        encodingLabel->setText(tr2i18n("Character &encoding:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        urlLabel->setWhatsThis(tr2i18n("With this input field you specify which file you want to load for creating the new dictionary.", 0));
#endif // QT_NO_WHATSTHIS
        urlLabel->setText(tr2i18n("&Filename:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        url->setWhatsThis(tr2i18n("With this input field you specify which file you want to load for creating the new dictionary.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        encodingCombo->setWhatsThis(tr2i18n("With this combo box you select the character encoding used to load text files. This combo box is not used for XML files or for dictionary files.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        ooDictURL->setWhatsThis(tr2i18n("With this input field you select the OpenOffice.org directory that will be used to spellcheck the words of the new dictionary.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        languageLabel->setWhatsThis(tr2i18n("With this combo box you decide which language should be associated with the new dictionary.", 0));
#endif // QT_NO_WHATSTHIS
        languageLabel->setText(tr2i18n("&Language:", 0));
        Q_UNUSED(CreationSourceDetailsUI);
    } // retranslateUi

};

namespace Ui {
    class CreationSourceDetailsUI: public Ui_CreationSourceDetailsUI {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CREATIONSOURCEDETAILSUI_H

