LCOV - code coverage report
Current view: top level - src - ui_passworddialog.h (source / functions) Coverage Total Hit
Test: .lcov.total Lines: 100.0 % 96 96
Test Date: 2026-03-23 21:55:57 Functions: 100.0 % 2 2

            Line data    Source code
       1              : /********************************************************************************
       2              : ** Form generated from reading UI file 'passworddialog.ui'
       3              : **
       4              : ** Created by: Qt User Interface Compiler version 6.10.2
       5              : **
       6              : ** WARNING! All changes made in this file will be lost when recompiling UI file!
       7              : ********************************************************************************/
       8              : 
       9              : #ifndef UI_PASSWORDDIALOG_H
      10              : #define UI_PASSWORDDIALOG_H
      11              : 
      12              : #include <QtCore/QVariant>
      13              : #include <QtGui/QIcon>
      14              : #include <QtWidgets/QAbstractButton>
      15              : #include <QtWidgets/QApplication>
      16              : #include <QtWidgets/QCheckBox>
      17              : #include <QtWidgets/QComboBox>
      18              : #include <QtWidgets/QDialog>
      19              : #include <QtWidgets/QDialogButtonBox>
      20              : #include <QtWidgets/QFormLayout>
      21              : #include <QtWidgets/QHBoxLayout>
      22              : #include <QtWidgets/QLabel>
      23              : #include <QtWidgets/QLineEdit>
      24              : #include <QtWidgets/QPlainTextEdit>
      25              : #include <QtWidgets/QSpacerItem>
      26              : #include <QtWidgets/QSpinBox>
      27              : #include <QtWidgets/QToolButton>
      28              : #include <QtWidgets/QVBoxLayout>
      29              : #include <QtWidgets/QWidget>
      30              : 
      31              : QT_BEGIN_NAMESPACE
      32              : 
      33              : class Ui_PasswordDialog
      34              : {
      35              : public:
      36              :     QVBoxLayout *verticalLayout_2;
      37              :     QWidget *widget;
      38              :     QVBoxLayout *verticalLayout;
      39              :     QHBoxLayout *horizontalLayout;
      40              :     QLineEdit *lineEditPassword;
      41              :     QToolButton *createPasswordButton;
      42              :     QHBoxLayout *horizontalLayout_2;
      43              :     QCheckBox *checkBoxShow;
      44              :     QSpacerItem *horizontalSpacer;
      45              :     QLabel *label_characterset;
      46              :     QComboBox *passwordTemplateSwitch;
      47              :     QLabel *label_length;
      48              :     QSpinBox *spinBox_pwdLength;
      49              :     QFormLayout *formLayout;
      50              :     QPlainTextEdit *plainTextEdit;
      51              :     QDialogButtonBox *buttonBox;
      52              : 
      53          288 :     void setupUi(QDialog *PasswordDialog)
      54              :     {
      55          576 :         if (PasswordDialog->objectName().isEmpty())
      56          288 :             PasswordDialog->setObjectName("PasswordDialog");
      57          288 :         PasswordDialog->resize(504, 263);
      58          288 :         QIcon icon;
      59          288 :         icon.addFile(QString::fromUtf8(":/artwork/icon.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
      60          288 :         PasswordDialog->setWindowIcon(icon);
      61          288 :         verticalLayout_2 = new QVBoxLayout(PasswordDialog);
      62          288 :         verticalLayout_2->setObjectName("verticalLayout_2");
      63          288 :         verticalLayout_2->setContentsMargins(6, 6, 6, 6);
      64          288 :         widget = new QWidget(PasswordDialog);
      65          288 :         widget->setObjectName("widget");
      66          288 :         QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
      67              :         sizePolicy.setHorizontalStretch(0);
      68              :         sizePolicy.setVerticalStretch(0);
      69          288 :         sizePolicy.setHeightForWidth(widget->sizePolicy().hasHeightForWidth());
      70          288 :         widget->setSizePolicy(sizePolicy);
      71          288 :         verticalLayout = new QVBoxLayout(widget);
      72          288 :         verticalLayout->setObjectName("verticalLayout");
      73          288 :         verticalLayout->setContentsMargins(0, 0, 0, 0);
      74          288 :         horizontalLayout = new QHBoxLayout();
      75          288 :         horizontalLayout->setObjectName("horizontalLayout");
      76          288 :         lineEditPassword = new QLineEdit(widget);
      77          288 :         lineEditPassword->setObjectName("lineEditPassword");
      78          288 :         lineEditPassword->setEchoMode(QLineEdit::Password);
      79              : 
      80          288 :         horizontalLayout->addWidget(lineEditPassword);
      81              : 
      82          288 :         createPasswordButton = new QToolButton(widget);
      83          288 :         createPasswordButton->setObjectName("createPasswordButton");
      84          288 :         createPasswordButton->setEnabled(true);
      85              : 
      86          288 :         horizontalLayout->addWidget(createPasswordButton);
      87              : 
      88              : 
      89          288 :         verticalLayout->addLayout(horizontalLayout);
      90              : 
      91          288 :         horizontalLayout_2 = new QHBoxLayout();
      92          288 :         horizontalLayout_2->setObjectName("horizontalLayout_2");
      93          288 :         checkBoxShow = new QCheckBox(widget);
      94          288 :         checkBoxShow->setObjectName("checkBoxShow");
      95              : 
      96          288 :         horizontalLayout_2->addWidget(checkBoxShow);
      97              : 
      98          288 :         horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
      99              : 
     100          288 :         horizontalLayout_2->addItem(horizontalSpacer);
     101              : 
     102          288 :         label_characterset = new QLabel(widget);
     103          288 :         label_characterset->setObjectName("label_characterset");
     104              : 
     105          288 :         horizontalLayout_2->addWidget(label_characterset);
     106              : 
     107          288 :         passwordTemplateSwitch = new QComboBox(widget);
     108          576 :         passwordTemplateSwitch->addItem(QString());
     109          576 :         passwordTemplateSwitch->addItem(QString());
     110          576 :         passwordTemplateSwitch->addItem(QString());
     111          576 :         passwordTemplateSwitch->addItem(QString());
     112          288 :         passwordTemplateSwitch->setObjectName("passwordTemplateSwitch");
     113              : 
     114          288 :         horizontalLayout_2->addWidget(passwordTemplateSwitch);
     115              : 
     116          288 :         label_length = new QLabel(widget);
     117          288 :         label_length->setObjectName("label_length");
     118          288 :         QSizePolicy sizePolicy1(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Preferred);
     119              :         sizePolicy1.setHorizontalStretch(0);
     120              :         sizePolicy1.setVerticalStretch(0);
     121          288 :         sizePolicy1.setHeightForWidth(label_length->sizePolicy().hasHeightForWidth());
     122          288 :         label_length->setSizePolicy(sizePolicy1);
     123              : 
     124          288 :         horizontalLayout_2->addWidget(label_length);
     125              : 
     126          288 :         spinBox_pwdLength = new QSpinBox(widget);
     127          288 :         spinBox_pwdLength->setObjectName("spinBox_pwdLength");
     128          288 :         spinBox_pwdLength->setMinimum(8);
     129          288 :         spinBox_pwdLength->setMaximum(255);
     130              : 
     131          288 :         horizontalLayout_2->addWidget(spinBox_pwdLength);
     132              : 
     133              : 
     134          288 :         verticalLayout->addLayout(horizontalLayout_2);
     135              : 
     136          288 :         formLayout = new QFormLayout();
     137          288 :         formLayout->setObjectName("formLayout");
     138          288 :         formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
     139          288 :         formLayout->setLabelAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
     140          288 :         formLayout->setFormAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
     141              : 
     142          288 :         verticalLayout->addLayout(formLayout);
     143              : 
     144          288 :         plainTextEdit = new QPlainTextEdit(widget);
     145          288 :         plainTextEdit->setObjectName("plainTextEdit");
     146              : 
     147          288 :         verticalLayout->addWidget(plainTextEdit);
     148              : 
     149          288 :         buttonBox = new QDialogButtonBox(widget);
     150          288 :         buttonBox->setObjectName("buttonBox");
     151          288 :         buttonBox->setOrientation(Qt::Horizontal);
     152          288 :         buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
     153              : 
     154          288 :         verticalLayout->addWidget(buttonBox);
     155              : 
     156              : 
     157          288 :         verticalLayout_2->addWidget(widget);
     158              : 
     159          288 :         QWidget::setTabOrder(lineEditPassword, createPasswordButton);
     160          288 :         QWidget::setTabOrder(createPasswordButton, checkBoxShow);
     161          288 :         QWidget::setTabOrder(checkBoxShow, passwordTemplateSwitch);
     162          288 :         QWidget::setTabOrder(passwordTemplateSwitch, spinBox_pwdLength);
     163          288 :         QWidget::setTabOrder(spinBox_pwdLength, plainTextEdit);
     164              : 
     165          288 :         retranslateUi(PasswordDialog);
     166          288 :         QObject::connect(buttonBox, &QDialogButtonBox::accepted, PasswordDialog, qOverload<>(&QDialog::accept));
     167          288 :         QObject::connect(buttonBox, &QDialogButtonBox::rejected, PasswordDialog, qOverload<>(&QDialog::reject));
     168              : 
     169          288 :         QMetaObject::connectSlotsByName(PasswordDialog);
     170          288 :     } // setupUi
     171              : 
     172          288 :     void retranslateUi(QDialog *PasswordDialog)
     173              :     {
     174          288 :         PasswordDialog->setWindowTitle(QCoreApplication::translate("PasswordDialog", "Password", nullptr));
     175          288 :         lineEditPassword->setText(QString());
     176          288 :         lineEditPassword->setPlaceholderText(QCoreApplication::translate("PasswordDialog", "Password", nullptr));
     177          288 :         createPasswordButton->setText(QCoreApplication::translate("PasswordDialog", "Generate", nullptr));
     178          288 :         checkBoxShow->setText(QCoreApplication::translate("PasswordDialog", "Show password", nullptr));
     179          288 :         label_characterset->setText(QCoreApplication::translate("PasswordDialog", "Character Set:", nullptr));
     180          288 :         passwordTemplateSwitch->setItemText(0, QCoreApplication::translate("PasswordDialog", "All Characters", nullptr));
     181          288 :         passwordTemplateSwitch->setItemText(1, QCoreApplication::translate("PasswordDialog", "Alphabetical", nullptr));
     182          288 :         passwordTemplateSwitch->setItemText(2, QCoreApplication::translate("PasswordDialog", "Alphanumerical", nullptr));
     183          288 :         passwordTemplateSwitch->setItemText(3, QCoreApplication::translate("PasswordDialog", "Custom", nullptr));
     184              : 
     185          288 :         label_length->setText(QCoreApplication::translate("PasswordDialog", "Length:", nullptr));
     186          288 :     } // retranslateUi
     187              : 
     188              : };
     189              : 
     190              : namespace Ui {
     191              :     class PasswordDialog: public Ui_PasswordDialog {};
     192              : } // namespace Ui
     193              : 
     194              : QT_END_NAMESPACE
     195              : 
     196              : #endif // UI_PASSWORDDIALOG_H
        

Generated by: LCOV version 2.4-beta