/********************************************************************************
** Form generated from reading UI file 'kpassworddialog.ui'
**
** Created by: Qt User Interface Compiler version 6.11.0
**
** 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/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#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 *pixmapLabel;
    QLabel *prompt;
    QSpacerItem *spacerItem;
    KTitleWidget *errorMessage;
    QRadioButton *anonymousRadioButton;
    QRadioButton *usePasswordButton;
    QWidget *credentialsGroup;
    QFormLayout *formLayout;
    QLabel *userNameLabel;
    QHBoxLayout *horizontalLayout;
    QLineEdit *userEdit;
    QPushButton *userEditContextHelpButton;
    QLabel *domainLabel;
    QLineEdit *domainEdit;
    QLabel *passwordLabel;
    KPasswordLineEdit *passEdit;
    QCheckBox *keepCheckBox;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *KPasswordDialog)
    {
        if (KPasswordDialog->objectName().isEmpty())
            KPasswordDialog->setObjectName("KPasswordDialog");
        QSizePolicy sizePolicy(QSizePolicy::Policy::MinimumExpanding, QSizePolicy::Policy::MinimumExpanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(KPasswordDialog->sizePolicy().hasHeightForWidth());
        KPasswordDialog->setSizePolicy(sizePolicy);
        vBoxLayout = new QVBoxLayout(KPasswordDialog);
        vBoxLayout->setObjectName("vBoxLayout");
        vBoxLayout->setSizeConstraint(QLayout::SetFixedSize);
        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName("hboxLayout");
        pixmapLabel = new QLabel(KPasswordDialog);
        pixmapLabel->setObjectName("pixmapLabel");
        pixmapLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);

        hboxLayout->addWidget(pixmapLabel);

        prompt = new QLabel(KPasswordDialog);
        prompt->setObjectName("prompt");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
        sizePolicy1.setHorizontalStretch(10);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(prompt->sizePolicy().hasHeightForWidth());
        prompt->setSizePolicy(sizePolicy1);
        prompt->setTextFormat(Qt::RichText);
        prompt->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
        prompt->setWordWrap(true);
        prompt->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse);

        hboxLayout->addWidget(prompt);


        vBoxLayout->addLayout(hboxLayout);

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

        vBoxLayout->addItem(spacerItem);

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

        vBoxLayout->addWidget(errorMessage);

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

        vBoxLayout->addWidget(anonymousRadioButton);

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

        vBoxLayout->addWidget(usePasswordButton);

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

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

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

        horizontalLayout->addWidget(userEdit);

        userEditContextHelpButton = new QPushButton(credentialsGroup);
        userEditContextHelpButton->setObjectName("userEditContextHelpButton");

        horizontalLayout->addWidget(userEditContextHelpButton);


        formLayout->setLayout(1, QFormLayout::ItemRole::FieldRole, horizontalLayout);

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

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

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

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

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

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

        passEdit = new KPasswordLineEdit(credentialsGroup);
        passEdit->setObjectName("passEdit");
        passEdit->setProperty("clearButtonEnabled", QVariant(true));

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

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

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


        vBoxLayout->addWidget(credentialsGroup);

        buttonBox = new QDialogButtonBox(KPasswordDialog);
        buttonBox->setObjectName("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, &QDialogButtonBox::accepted, KPasswordDialog, qOverload<>(&QDialog::accept));
        QObject::connect(usePasswordButton, &QRadioButton::toggled, credentialsGroup, &QWidget::setEnabled);
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, KPasswordDialog, qOverload<>(&QDialog::reject));
        QObject::connect(usePasswordButton, &QRadioButton::clicked, credentialsGroup, qOverload<>(&QWidget::setFocus));

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

    void retranslateUi(QDialog *KPasswordDialog)
    {
        prompt->setText(QCoreApplication::translate("KPasswordDialog", "Supply a username and password below.", nullptr));
        anonymousRadioButton->setText(QCoreApplication::translate("KPasswordDialog", "No password, use anonymous (or &guest) login", "@option:radio"));
        usePasswordButton->setText(QCoreApplication::translate("KPasswordDialog", "Use this password:", "@option:radio"));
        userNameLabel->setText(QCoreApplication::translate("KPasswordDialog", "Username:", "@label:textbox"));
        userEditContextHelpButton->setText(QString());
        domainLabel->setText(QCoreApplication::translate("KPasswordDialog", "Domain:", "@label:textbox"));
        passwordLabel->setText(QCoreApplication::translate("KPasswordDialog", "Password:", "@label:textbox"));
        keepCheckBox->setText(QCoreApplication::translate("KPasswordDialog", "Remember password", "@option:check"));
        (void)KPasswordDialog;
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // UI_KPASSWORDDIALOG_H
