QtPass 1.5.1
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
ui_usersdialog.h
Go to the documentation of this file.
1/********************************************************************************
2** Form generated from reading UI file 'usersdialog.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_USERSDIALOG_H
10#define UI_USERSDIALOG_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/QDialog>
18#include <QtWidgets/QDialogButtonBox>
19#include <QtWidgets/QHBoxLayout>
20#include <QtWidgets/QLabel>
21#include <QtWidgets/QLineEdit>
22#include <QtWidgets/QListWidget>
23#include <QtWidgets/QVBoxLayout>
24
25QT_BEGIN_NAMESPACE
26
28{
29public:
30 QVBoxLayout *verticalLayout;
31 QLabel *label;
32 QHBoxLayout *horizontalLayout;
33 QLineEdit *lineEdit;
34 QCheckBox *checkBox;
35 QListWidget *listWidget;
36 QDialogButtonBox *buttonBox;
37
38 void setupUi(QDialog *UsersDialog)
39 {
40 if (UsersDialog->objectName().isEmpty())
41 UsersDialog->setObjectName("UsersDialog");
42 UsersDialog->resize(566, 465);
43 QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
44 sizePolicy.setHorizontalStretch(0);
45 sizePolicy.setVerticalStretch(0);
46 sizePolicy.setHeightForWidth(UsersDialog->sizePolicy().hasHeightForWidth());
47 UsersDialog->setSizePolicy(sizePolicy);
48 QIcon icon;
49 icon.addFile(QString::fromUtf8(":/artwork/icon.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
50 UsersDialog->setWindowIcon(icon);
51 UsersDialog->setModal(true);
52 verticalLayout = new QVBoxLayout(UsersDialog);
53 verticalLayout->setObjectName("verticalLayout");
54 verticalLayout->setContentsMargins(6, 6, 6, 6);
55 label = new QLabel(UsersDialog);
56 label->setObjectName("label");
57 label->setTextFormat(Qt::PlainText);
58 label->setWordWrap(true);
59
60 verticalLayout->addWidget(label);
61
62 horizontalLayout = new QHBoxLayout();
63 horizontalLayout->setObjectName("horizontalLayout");
64 lineEdit = new QLineEdit(UsersDialog);
65 lineEdit->setObjectName("lineEdit");
66 lineEdit->setMinimumSize(QSize(0, 26));
67
68 horizontalLayout->addWidget(lineEdit);
69
70 checkBox = new QCheckBox(UsersDialog);
71 checkBox->setObjectName("checkBox");
72
73 horizontalLayout->addWidget(checkBox);
74
75
77
78 listWidget = new QListWidget(UsersDialog);
79 listWidget->setObjectName("listWidget");
80 listWidget->setFrameShadow(QFrame::Plain);
81 listWidget->setAlternatingRowColors(true);
82 listWidget->setSortingEnabled(true);
83
84 verticalLayout->addWidget(listWidget);
85
86 buttonBox = new QDialogButtonBox(UsersDialog);
87 buttonBox->setObjectName("buttonBox");
88 buttonBox->setOrientation(Qt::Horizontal);
89 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
90
91 verticalLayout->addWidget(buttonBox);
92
93 QWidget::setTabOrder(lineEdit, listWidget);
94
96
97 QMetaObject::connectSlotsByName(UsersDialog);
98 } // setupUi
99
101 {
102 UsersDialog->setWindowTitle(QCoreApplication::translate("UsersDialog", "Read access users", nullptr));
103 label->setText(QCoreApplication::translate("UsersDialog", "Select which users should be able to decrypt passwords stored in this folder.\n"
104"Note: Existing files will not be modified, and retain the old permissions until you edit them.\n"
105"Blue entries have a secret key available, select one of these to be able to decrypt.\n"
106"Red entries are not valid, you will not be able to encrypt to these.", nullptr));
107 lineEdit->setPlaceholderText(QCoreApplication::translate("UsersDialog", "Search for users", nullptr));
108 checkBox->setText(QCoreApplication::translate("UsersDialog", "Show unusable keys", nullptr));
109 } // retranslateUi
110
111};
112
113namespace Ui {
114 class UsersDialog: public Ui_UsersDialog {};
115} // namespace Ui
116
117QT_END_NAMESPACE
118
119#endif // UI_USERSDIALOG_H
QCheckBox * checkBox
QHBoxLayout * horizontalLayout
QLineEdit * lineEdit
QDialogButtonBox * buttonBox
void setupUi(QDialog *UsersDialog)
QVBoxLayout * verticalLayout
QListWidget * listWidget
void retranslateUi(QDialog *UsersDialog)
Handles listing and editing of GPG users.
Definition usersdialog.h:25