/********************************************************************************
** Form generated from reading UI file 'enterpassworddialog.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_ENTERPASSWORDDIALOG_H
#define UI_ENTERPASSWORDDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QGraphicsView>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "widgets/clearlineedit.h"

namespace QtUtilities {

class Ui_EnterPasswordDialog
{
public:
    QVBoxLayout *verticalLayout;
    QWidget *mainWidget;
    QVBoxLayout *verticalLayout_2;
    QLabel *instructionLabel;
    QLabel *descLabel;
    QtUtilities::ClearLineEdit *userNameLineEdit;
    QtUtilities::ClearLineEdit *password1LineEdit;
    QtUtilities::ClearLineEdit *password2LineEdit;
    QWidget *checkboxesWidget;
    QHBoxLayout *horizontalLayout_2;
    QCheckBox *showPasswordCheckBox;
    QCheckBox *noPwCheckBox;
    QWidget *bottomWidget;
    QHBoxLayout *horizontalLayout;
    QWidget *capslockWarningWidget;
    QHBoxLayout *horizontalLayout_3;
    QGraphicsView *capslockWarningGraphicsView;
    QLabel *capslockWarningLabel;
    QSpacerItem *horizontalSpacer;
    QPushButton *abortPushButton;
    QPushButton *confirmPushButton;

    void setupUi(QDialog *QtUtilities__EnterPasswordDialog)
    {
        if (QtUtilities__EnterPasswordDialog->objectName().isEmpty())
            QtUtilities__EnterPasswordDialog->setObjectName("QtUtilities__EnterPasswordDialog");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Minimum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(QtUtilities__EnterPasswordDialog->sizePolicy().hasHeightForWidth());
        QtUtilities__EnterPasswordDialog->setSizePolicy(sizePolicy);
        QtUtilities__EnterPasswordDialog->setModal(true);
        verticalLayout = new QVBoxLayout(QtUtilities__EnterPasswordDialog);
        verticalLayout->setSpacing(0);
        verticalLayout->setObjectName("verticalLayout");
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        mainWidget = new QWidget(QtUtilities__EnterPasswordDialog);
        mainWidget->setObjectName("mainWidget");
        verticalLayout_2 = new QVBoxLayout(mainWidget);
        verticalLayout_2->setObjectName("verticalLayout_2");
        instructionLabel = new QLabel(mainWidget);
        instructionLabel->setObjectName("instructionLabel");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(instructionLabel->sizePolicy().hasHeightForWidth());
        instructionLabel->setSizePolicy(sizePolicy1);
        instructionLabel->setMaximumSize(QSize(500, 16777215));
        instructionLabel->setWordWrap(true);

        verticalLayout_2->addWidget(instructionLabel);

        descLabel = new QLabel(mainWidget);
        descLabel->setObjectName("descLabel");

        verticalLayout_2->addWidget(descLabel);

        userNameLineEdit = new QtUtilities::ClearLineEdit(mainWidget);
        userNameLineEdit->setObjectName("userNameLineEdit");

        verticalLayout_2->addWidget(userNameLineEdit);

        password1LineEdit = new QtUtilities::ClearLineEdit(mainWidget);
        password1LineEdit->setObjectName("password1LineEdit");
        QSizePolicy sizePolicy2(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Maximum);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(password1LineEdit->sizePolicy().hasHeightForWidth());
        password1LineEdit->setSizePolicy(sizePolicy2);
        password1LineEdit->setMaxLength(32);
        password1LineEdit->setEchoMode(QLineEdit::Password);

        verticalLayout_2->addWidget(password1LineEdit);

        password2LineEdit = new QtUtilities::ClearLineEdit(mainWidget);
        password2LineEdit->setObjectName("password2LineEdit");
        password2LineEdit->setEnabled(true);
        password2LineEdit->setMaxLength(32);
        password2LineEdit->setEchoMode(QLineEdit::Password);

        verticalLayout_2->addWidget(password2LineEdit);

        checkboxesWidget = new QWidget(mainWidget);
        checkboxesWidget->setObjectName("checkboxesWidget");
        horizontalLayout_2 = new QHBoxLayout(checkboxesWidget);
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
        showPasswordCheckBox = new QCheckBox(checkboxesWidget);
        showPasswordCheckBox->setObjectName("showPasswordCheckBox");
        sizePolicy1.setHeightForWidth(showPasswordCheckBox->sizePolicy().hasHeightForWidth());
        showPasswordCheckBox->setSizePolicy(sizePolicy1);

        horizontalLayout_2->addWidget(showPasswordCheckBox);

        noPwCheckBox = new QCheckBox(checkboxesWidget);
        noPwCheckBox->setObjectName("noPwCheckBox");

        horizontalLayout_2->addWidget(noPwCheckBox);


        verticalLayout_2->addWidget(checkboxesWidget);


        verticalLayout->addWidget(mainWidget);

        bottomWidget = new QWidget(QtUtilities__EnterPasswordDialog);
        bottomWidget->setObjectName("bottomWidget");
        sizePolicy2.setHeightForWidth(bottomWidget->sizePolicy().hasHeightForWidth());
        bottomWidget->setSizePolicy(sizePolicy2);
        horizontalLayout = new QHBoxLayout(bottomWidget);
        horizontalLayout->setObjectName("horizontalLayout");
        capslockWarningWidget = new QWidget(bottomWidget);
        capslockWarningWidget->setObjectName("capslockWarningWidget");
        horizontalLayout_3 = new QHBoxLayout(capslockWarningWidget);
        horizontalLayout_3->setSpacing(3);
        horizontalLayout_3->setObjectName("horizontalLayout_3");
        horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
        capslockWarningGraphicsView = new QGraphicsView(capslockWarningWidget);
        capslockWarningGraphicsView->setObjectName("capslockWarningGraphicsView");
        capslockWarningGraphicsView->setMaximumSize(QSize(16, 16));
        capslockWarningGraphicsView->setStyleSheet(QString::fromUtf8("background-color: transparent;"));
        capslockWarningGraphicsView->setFrameShape(QFrame::NoFrame);
        QBrush brush(QColor(0, 0, 0, 0));
        brush.setStyle(Qt::BrushStyle::NoBrush);
        capslockWarningGraphicsView->setBackgroundBrush(brush);
        capslockWarningGraphicsView->setSceneRect(QRectF(0, 0, 16, 16));

        horizontalLayout_3->addWidget(capslockWarningGraphicsView);

        capslockWarningLabel = new QLabel(capslockWarningWidget);
        capslockWarningLabel->setObjectName("capslockWarningLabel");
        capslockWarningLabel->setStyleSheet(QString::fromUtf8("font-weight: bold;"));

        horizontalLayout_3->addWidget(capslockWarningLabel);


        horizontalLayout->addWidget(capslockWarningWidget);

        horizontalSpacer = new QSpacerItem(168, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        horizontalLayout->addItem(horizontalSpacer);

        abortPushButton = new QPushButton(bottomWidget);
        abortPushButton->setObjectName("abortPushButton");
        abortPushButton->setStyleSheet(QString::fromUtf8("background: none;"));
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("window-close");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8(""), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        abortPushButton->setIcon(icon);

        horizontalLayout->addWidget(abortPushButton);

        confirmPushButton = new QPushButton(bottomWidget);
        confirmPushButton->setObjectName("confirmPushButton");
        confirmPushButton->setStyleSheet(QString::fromUtf8("background: none;"));
        QIcon icon1;
        iconThemeName = QString::fromUtf8("go-next");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon1 = QIcon::fromTheme(iconThemeName);
        } else {
            icon1.addFile(QString::fromUtf8(""), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        confirmPushButton->setIcon(icon1);

        horizontalLayout->addWidget(confirmPushButton);


        verticalLayout->addWidget(bottomWidget);

        QWidget::setTabOrder(password1LineEdit, password2LineEdit);
        QWidget::setTabOrder(password2LineEdit, confirmPushButton);
        QWidget::setTabOrder(confirmPushButton, abortPushButton);

        retranslateUi(QtUtilities__EnterPasswordDialog);

        confirmPushButton->setDefault(true);


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

    void retranslateUi(QDialog *QtUtilities__EnterPasswordDialog)
    {
        QtUtilities__EnterPasswordDialog->setWindowTitle(QCoreApplication::translate("QtUtilities::EnterPasswordDialog", "Enter the password", nullptr));
        instructionLabel->setText(QCoreApplication::translate("QtUtilities::EnterPasswordDialog", "Enter the password", nullptr));
        userNameLineEdit->setPlaceholderText(QCoreApplication::translate("QtUtilities::EnterPasswordDialog", "user name", nullptr));
        password1LineEdit->setText(QString());
        password1LineEdit->setPlaceholderText(QCoreApplication::translate("QtUtilities::EnterPasswordDialog", "password", nullptr));
        password2LineEdit->setPlaceholderText(QCoreApplication::translate("QtUtilities::EnterPasswordDialog", "repeat password", nullptr));
        showPasswordCheckBox->setText(QCoreApplication::translate("QtUtilities::EnterPasswordDialog", "show password", nullptr));
        noPwCheckBox->setText(QCoreApplication::translate("QtUtilities::EnterPasswordDialog", "don't use a password", nullptr));
        capslockWarningLabel->setText(QCoreApplication::translate("QtUtilities::EnterPasswordDialog", "Capslock is active", nullptr));
        abortPushButton->setText(QCoreApplication::translate("QtUtilities::EnterPasswordDialog", "Abort", nullptr));
        confirmPushButton->setText(QCoreApplication::translate("QtUtilities::EnterPasswordDialog", "Confirm", nullptr));
    } // retranslateUi

};

} // namespace QtUtilities

namespace QtUtilities {
namespace Ui {
    class EnterPasswordDialog: public Ui_EnterPasswordDialog {};
} // namespace Ui
} // namespace QtUtilities

#endif // UI_ENTERPASSWORDDIALOG_H
