#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'KexiPasswordWidget.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_KEXIPASSWORDWIDGET_H
#define UI_KEXIPASSWORDWIDGET_H

#include <KLineEdit>
#include <KTitleWidget>
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_KexiPasswordWidget
{
public:
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout;
    QLabel *prompt;
    KTitleWidget *errorMessage;
    QFormLayout *formLayout;
    QLabel *userNameLabel;
    KLineEdit *userEdit;
    QLabel *anonymousLabel;
    QCheckBox *anonymousCheckBox;
    QLabel *nameLabel;
    KLineEdit *nameEdit;
    QLabel *domainLabel;
    KLineEdit *domainEdit;
    QLabel *passwordLabel;
    KLineEdit *passEdit;
    QCheckBox *keepCheckBox;
    QLabel *keepCheckBoxLabel;

    void setupUi(QWidget *KexiPasswordWidget)
    {
        if (KexiPasswordWidget->objectName().isEmpty())
            KexiPasswordWidget->setObjectName(QStringLiteral("KexiPasswordWidget"));
        KexiPasswordWidget->resize(400, 197);
        vboxLayout = new QVBoxLayout(KexiPasswordWidget);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        hboxLayout->setContentsMargins(0, 0, 0, 0);
        prompt = new QLabel(KexiPasswordWidget);
        prompt->setObjectName(QStringLiteral("prompt"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(10);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(prompt->sizePolicy().hasHeightForWidth());
        prompt->setSizePolicy(sizePolicy);
        prompt->setTextFormat(Qt::RichText);
        prompt->setAlignment(Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft);
        prompt->setWordWrap(true);

        hboxLayout->addWidget(prompt);


        vboxLayout->addLayout(hboxLayout);

        errorMessage = new KTitleWidget(KexiPasswordWidget);
        errorMessage->setObjectName(QStringLiteral("errorMessage"));

        vboxLayout->addWidget(errorMessage);

        formLayout = new QFormLayout();
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        formLayout->setContentsMargins(0, 0, 0, 0);
        userNameLabel = new QLabel(KexiPasswordWidget);
        userNameLabel->setObjectName(QStringLiteral("userNameLabel"));

        formLayout->setWidget(0, QFormLayout::LabelRole, userNameLabel);

        userEdit = new KLineEdit(KexiPasswordWidget);
        userEdit->setObjectName(QStringLiteral("userEdit"));
        userEdit->setClearButtonEnabled(true);

        formLayout->setWidget(0, QFormLayout::FieldRole, userEdit);

        anonymousLabel = new QLabel(KexiPasswordWidget);
        anonymousLabel->setObjectName(QStringLiteral("anonymousLabel"));

        formLayout->setWidget(1, QFormLayout::LabelRole, anonymousLabel);

        anonymousCheckBox = new QCheckBox(KexiPasswordWidget);
        anonymousCheckBox->setObjectName(QStringLiteral("anonymousCheckBox"));

        formLayout->setWidget(1, QFormLayout::FieldRole, anonymousCheckBox);

        nameLabel = new QLabel(KexiPasswordWidget);
        nameLabel->setObjectName(QStringLiteral("nameLabel"));

        formLayout->setWidget(2, QFormLayout::LabelRole, nameLabel);

        nameEdit = new KLineEdit(KexiPasswordWidget);
        nameEdit->setObjectName(QStringLiteral("nameEdit"));
        nameEdit->setClearButtonEnabled(true);

        formLayout->setWidget(2, QFormLayout::FieldRole, nameEdit);

        domainLabel = new QLabel(KexiPasswordWidget);
        domainLabel->setObjectName(QStringLiteral("domainLabel"));

        formLayout->setWidget(3, QFormLayout::LabelRole, domainLabel);

        domainEdit = new KLineEdit(KexiPasswordWidget);
        domainEdit->setObjectName(QStringLiteral("domainEdit"));
        domainEdit->setClearButtonEnabled(true);

        formLayout->setWidget(3, QFormLayout::FieldRole, domainEdit);

        passwordLabel = new QLabel(KexiPasswordWidget);
        passwordLabel->setObjectName(QStringLiteral("passwordLabel"));

        formLayout->setWidget(4, QFormLayout::LabelRole, passwordLabel);

        passEdit = new KLineEdit(KexiPasswordWidget);
        passEdit->setObjectName(QStringLiteral("passEdit"));
        passEdit->setEchoMode(QLineEdit::Password);
        passEdit->setClearButtonEnabled(true);
        passEdit->setProperty("passwordMode", QVariant(true));

        formLayout->setWidget(4, QFormLayout::FieldRole, passEdit);

        keepCheckBox = new QCheckBox(KexiPasswordWidget);
        keepCheckBox->setObjectName(QStringLiteral("keepCheckBox"));

        formLayout->setWidget(5, QFormLayout::FieldRole, keepCheckBox);

        keepCheckBoxLabel = new QLabel(KexiPasswordWidget);
        keepCheckBoxLabel->setObjectName(QStringLiteral("keepCheckBoxLabel"));

        formLayout->setWidget(5, QFormLayout::LabelRole, keepCheckBoxLabel);


        vboxLayout->addLayout(formLayout);

#ifndef UI_QT_NO_SHORTCUT
        userNameLabel->setBuddy(userEdit);
        anonymousLabel->setBuddy(anonymousCheckBox);
        nameLabel->setBuddy(nameEdit);
        domainLabel->setBuddy(domainEdit);
        passwordLabel->setBuddy(passEdit);
        keepCheckBoxLabel->setBuddy(keepCheckBox);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(userEdit, anonymousCheckBox);
        QWidget::setTabOrder(anonymousCheckBox, domainEdit);
        QWidget::setTabOrder(domainEdit, passEdit);
        QWidget::setTabOrder(passEdit, keepCheckBox);

        retranslateUi(KexiPasswordWidget);

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

    void retranslateUi(QWidget *KexiPasswordWidget)
    {
        prompt->setText(tr2i18n("Supply a password below.", 0));
        userNameLabel->setText(tr2i18n("Username:", 0));
        anonymousLabel->setText(tr2i18n("Anonymous:", 0));
        anonymousCheckBox->setText(QString());
        nameLabel->setText(tr2i18n("Database name:", 0));
        domainLabel->setText(tr2i18n("Database server:", 0));
        passwordLabel->setText(tr2i18n("Password:", 0));
        keepCheckBox->setText(QString());
        keepCheckBoxLabel->setText(tr2i18n("Remember password:", 0));
        Q_UNUSED(KexiPasswordWidget);
    } // retranslateUi

};

namespace Ui {
    class KexiPasswordWidget: public Ui_KexiPasswordWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KEXIPASSWORDWIDGET_H

