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

#ifndef UI_KPASSWORDDIALOG_H
#define UI_KPASSWORDDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kpasswordlineedit.h"
#include "ktitlewidget.h"

QT_BEGIN_NAMESPACE

class Ui_KPasswordDialog
{
public:
    QVBoxLayout *vBoxLayout;
    QHBoxLayout *hboxLayout;
    QLabel *prompt;
    QSpacerItem *spacerItem;
    KTitleWidget *errorMessage;
    QRadioButton *anonymousRadioButton;
    QRadioButton *usePasswordButton;
    QWidget *credentialsGroup;
    QFormLayout *formLayout;
    QLabel *userNameLabel;
    QLineEdit *userEdit;
    QLabel *domainLabel;
    QLineEdit *domainEdit;
    QLabel *passwordLabel;
    KPasswordLineEdit *passEdit;
    QCheckBox *keepCheckBox;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *KPasswordDialog)
    {
        if (KPasswordDialog->objectName().isEmpty())
            KPasswordDialog->setObjectName(QStringLiteral("KPasswordDialog"));
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(KPasswordDialog->sizePolicy().hasHeightForWidth());
        KPasswordDialog->setSizePolicy(sizePolicy);
        vBoxLayout = new QVBoxLayout(KPasswordDialog);
        vBoxLayout->setObjectName(QStringLiteral("vBoxLayout"));
        vBoxLayout->setSizeConstraint(QLayout::SetFixedSize);
        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        prompt = new QLabel(KPasswordDialog);
        prompt->setObjectName(QStringLiteral("prompt"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(10);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(prompt->sizePolicy().hasHeightForWidth());
        prompt->setSizePolicy(sizePolicy1);
        prompt->setTextFormat(Qt::RichText);
        prompt->setAlignment(Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft);
        prompt->setWordWrap(true);

        hboxLayout->addWidget(prompt);


        vBoxLayout->addLayout(hboxLayout);

        spacerItem = new QSpacerItem(400, 16, QSizePolicy::Minimum, QSizePolicy::Ignored);

        vBoxLayout->addItem(spacerItem);

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

        vBoxLayout->addWidget(errorMessage);

        anonymousRadioButton = new QRadioButton(KPasswordDialog);
        anonymousRadioButton->setObjectName(QStringLiteral("anonymousRadioButton"));

        vBoxLayout->addWidget(anonymousRadioButton);

        usePasswordButton = new QRadioButton(KPasswordDialog);
        usePasswordButton->setObjectName(QStringLiteral("usePasswordButton"));
        usePasswordButton->setChecked(true);

        vBoxLayout->addWidget(usePasswordButton);

        credentialsGroup = new QWidget(KPasswordDialog);
        credentialsGroup->setObjectName(QStringLiteral("credentialsGroup"));
        formLayout = new QFormLayout(credentialsGroup);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setContentsMargins(1, 1, 1, 1);
        userNameLabel = new QLabel(credentialsGroup);
        userNameLabel->setObjectName(QStringLiteral("userNameLabel"));

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

        userEdit = new QLineEdit(credentialsGroup);
        userEdit->setObjectName(QStringLiteral("userEdit"));
        userEdit->setClearButtonEnabled(true);

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

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

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

        domainEdit = new QLineEdit(credentialsGroup);
        domainEdit->setObjectName(QStringLiteral("domainEdit"));
        domainEdit->setClearButtonEnabled(true);

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

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

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

        passEdit = new KPasswordLineEdit(credentialsGroup);
        passEdit->setObjectName(QStringLiteral("passEdit"));
        passEdit->setClearButtonEnabled(true);

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

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

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


        vBoxLayout->addWidget(credentialsGroup);

        buttonBox = new QDialogButtonBox(KPasswordDialog);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        vBoxLayout->addWidget(buttonBox);

        QWidget::setTabOrder(anonymousRadioButton, usePasswordButton);
        QWidget::setTabOrder(usePasswordButton, userEdit);
        QWidget::setTabOrder(userEdit, domainEdit);
        QWidget::setTabOrder(domainEdit, passEdit);
        QWidget::setTabOrder(passEdit, keepCheckBox);

        retranslateUi(KPasswordDialog);
        QObject::connect(buttonBox, SIGNAL(accepted()), KPasswordDialog, SLOT(accept()));
        QObject::connect(usePasswordButton, SIGNAL(toggled(bool)), credentialsGroup, SLOT(setEnabled(bool)));
        QObject::connect(buttonBox, SIGNAL(rejected()), KPasswordDialog, SLOT(reject()));
        QObject::connect(usePasswordButton, SIGNAL(clicked()), credentialsGroup, SLOT(setFocus()));

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

    void retranslateUi(QDialog *KPasswordDialog)
    {
        prompt->setText(QApplication::translate("KPasswordDialog", "Supply a username and password below.", Q_NULLPTR));
        anonymousRadioButton->setText(QApplication::translate("KPasswordDialog", "No password, use anonymous (or &guest) login", Q_NULLPTR));
        usePasswordButton->setText(QApplication::translate("KPasswordDialog", "Use this password:", Q_NULLPTR));
        userNameLabel->setText(QApplication::translate("KPasswordDialog", "Username:", Q_NULLPTR));
        domainLabel->setText(QApplication::translate("KPasswordDialog", "Domain:", Q_NULLPTR));
        passwordLabel->setText(QApplication::translate("KPasswordDialog", "Password:", Q_NULLPTR));
        keepCheckBox->setText(QApplication::translate("KPasswordDialog", "Remember password", Q_NULLPTR));
        Q_UNUSED(KPasswordDialog);
    } // retranslateUi

};

namespace Ui {
    class KPasswordDialog: public Ui_KPasswordDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_KPASSWORDDIALOG_H
