QtPass 1.7.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
ui_passworddialog.h
1/********************************************************************************
2** Form generated from reading UI file 'passworddialog.ui'
3**
4** Created by: Qt User Interface Compiler version 6.8.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
31QT_BEGIN_NAMESPACE
32
34{
35public:
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 void setupUi(QDialog *PasswordDialog)
54 {
55 if (PasswordDialog->objectName().isEmpty())
56 PasswordDialog->setObjectName("PasswordDialog");
57 PasswordDialog->resize(504, 263);
58 QIcon icon;
59 icon.addFile(QString::fromUtf8(":/artwork/icon.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
60 PasswordDialog->setWindowIcon(icon);
61 verticalLayout_2 = new QVBoxLayout(PasswordDialog);
62 verticalLayout_2->setObjectName("verticalLayout_2");
63 verticalLayout_2->setContentsMargins(6, 6, 6, 6);
64 widget = new QWidget(PasswordDialog);
65 widget->setObjectName("widget");
66 QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
67 sizePolicy.setHorizontalStretch(0);
68 sizePolicy.setVerticalStretch(0);
69 sizePolicy.setHeightForWidth(widget->sizePolicy().hasHeightForWidth());
70 widget->setSizePolicy(sizePolicy);
71 verticalLayout = new QVBoxLayout(widget);
72 verticalLayout->setObjectName("verticalLayout");
73 verticalLayout->setContentsMargins(0, 0, 0, 0);
74 horizontalLayout = new QHBoxLayout();
75 horizontalLayout->setObjectName("horizontalLayout");
76 lineEditPassword = new QLineEdit(widget);
77 lineEditPassword->setObjectName("lineEditPassword");
78 lineEditPassword->setEchoMode(QLineEdit::Password);
79
80 horizontalLayout->addWidget(lineEditPassword);
81
82 createPasswordButton = new QToolButton(widget);
83 createPasswordButton->setObjectName("createPasswordButton");
84 createPasswordButton->setEnabled(true);
85
86 horizontalLayout->addWidget(createPasswordButton);
87
88
89 verticalLayout->addLayout(horizontalLayout);
90
91 horizontalLayout_2 = new QHBoxLayout();
92 horizontalLayout_2->setObjectName("horizontalLayout_2");
93 checkBoxShow = new QCheckBox(widget);
94 checkBoxShow->setObjectName("checkBoxShow");
95
96 horizontalLayout_2->addWidget(checkBoxShow);
97
98 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
99
100 horizontalLayout_2->addItem(horizontalSpacer);
101
102 label_characterset = new QLabel(widget);
103 label_characterset->setObjectName("label_characterset");
104
105 horizontalLayout_2->addWidget(label_characterset);
106
107 passwordTemplateSwitch = new QComboBox(widget);
108 passwordTemplateSwitch->addItem(QString());
109 passwordTemplateSwitch->addItem(QString());
110 passwordTemplateSwitch->addItem(QString());
111 passwordTemplateSwitch->addItem(QString());
112 passwordTemplateSwitch->setObjectName("passwordTemplateSwitch");
113
114 horizontalLayout_2->addWidget(passwordTemplateSwitch);
115
116 label_length = new QLabel(widget);
117 label_length->setObjectName("label_length");
118 QSizePolicy sizePolicy1(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Preferred);
119 sizePolicy1.setHorizontalStretch(0);
120 sizePolicy1.setVerticalStretch(0);
121 sizePolicy1.setHeightForWidth(label_length->sizePolicy().hasHeightForWidth());
122 label_length->setSizePolicy(sizePolicy1);
123
124 horizontalLayout_2->addWidget(label_length);
125
126 spinBox_pwdLength = new QSpinBox(widget);
127 spinBox_pwdLength->setObjectName("spinBox_pwdLength");
128 spinBox_pwdLength->setMinimum(8);
129 spinBox_pwdLength->setMaximum(255);
130
131 horizontalLayout_2->addWidget(spinBox_pwdLength);
132
133
134 verticalLayout->addLayout(horizontalLayout_2);
135
136 formLayout = new QFormLayout();
137 formLayout->setObjectName("formLayout");
138 formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
139 formLayout->setLabelAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
140 formLayout->setFormAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
141
142 verticalLayout->addLayout(formLayout);
143
144 plainTextEdit = new QPlainTextEdit(widget);
145 plainTextEdit->setObjectName("plainTextEdit");
146
147 verticalLayout->addWidget(plainTextEdit);
148
149 buttonBox = new QDialogButtonBox(widget);
150 buttonBox->setObjectName("buttonBox");
151 buttonBox->setOrientation(Qt::Horizontal);
152 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
153
154 verticalLayout->addWidget(buttonBox);
155
156
157 verticalLayout_2->addWidget(widget);
158
159 QWidget::setTabOrder(lineEditPassword, createPasswordButton);
160 QWidget::setTabOrder(createPasswordButton, checkBoxShow);
161 QWidget::setTabOrder(checkBoxShow, passwordTemplateSwitch);
162 QWidget::setTabOrder(passwordTemplateSwitch, spinBox_pwdLength);
163 QWidget::setTabOrder(spinBox_pwdLength, plainTextEdit);
164
165 retranslateUi(PasswordDialog);
166 QObject::connect(buttonBox, &QDialogButtonBox::accepted, PasswordDialog, qOverload<>(&QDialog::accept));
167 QObject::connect(buttonBox, &QDialogButtonBox::rejected, PasswordDialog, qOverload<>(&QDialog::reject));
168
169 QMetaObject::connectSlotsByName(PasswordDialog);
170 } // setupUi
171
172 void retranslateUi(QDialog *PasswordDialog)
173 {
174 PasswordDialog->setWindowTitle(QCoreApplication::translate("PasswordDialog", "Password", nullptr));
175 lineEditPassword->setText(QString());
176 lineEditPassword->setPlaceholderText(QCoreApplication::translate("PasswordDialog", "Password", nullptr));
177 createPasswordButton->setText(QCoreApplication::translate("PasswordDialog", "Generate", nullptr));
178 checkBoxShow->setText(QCoreApplication::translate("PasswordDialog", "Show password", nullptr));
179 label_characterset->setText(QCoreApplication::translate("PasswordDialog", "Character Set:", nullptr));
180 passwordTemplateSwitch->setItemText(0, QCoreApplication::translate("PasswordDialog", "All Characters", nullptr));
181 passwordTemplateSwitch->setItemText(1, QCoreApplication::translate("PasswordDialog", "Alphabetical", nullptr));
182 passwordTemplateSwitch->setItemText(2, QCoreApplication::translate("PasswordDialog", "Alphanumerical", nullptr));
183 passwordTemplateSwitch->setItemText(3, QCoreApplication::translate("PasswordDialog", "Custom", nullptr));
184
185 label_length->setText(QCoreApplication::translate("PasswordDialog", "Length:", nullptr));
186 } // retranslateUi
187
188};
189
190namespace Ui {
191 class PasswordDialog: public Ui_PasswordDialog {};
192} // namespace Ui
193
194QT_END_NAMESPACE
195
196#endif // UI_PASSWORDDIALOG_H
Dialog for inserting and editing passwords, optionally using templates.