Line data Source code
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 :
25 : QT_BEGIN_NAMESPACE
26 :
27 : class Ui_UsersDialog
28 : {
29 : public:
30 : QVBoxLayout *verticalLayout;
31 : QLabel *label;
32 : QHBoxLayout *horizontalLayout;
33 : QLineEdit *lineEdit;
34 : QCheckBox *checkBox;
35 : QListWidget *listWidget;
36 : QDialogButtonBox *buttonBox;
37 :
38 0 : void setupUi(QDialog *UsersDialog)
39 : {
40 0 : if (UsersDialog->objectName().isEmpty())
41 0 : UsersDialog->setObjectName("UsersDialog");
42 0 : UsersDialog->resize(566, 465);
43 0 : QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
44 : sizePolicy.setHorizontalStretch(0);
45 : sizePolicy.setVerticalStretch(0);
46 0 : sizePolicy.setHeightForWidth(UsersDialog->sizePolicy().hasHeightForWidth());
47 0 : UsersDialog->setSizePolicy(sizePolicy);
48 0 : QIcon icon;
49 0 : icon.addFile(QString::fromUtf8(":/artwork/icon.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
50 0 : UsersDialog->setWindowIcon(icon);
51 0 : UsersDialog->setModal(true);
52 0 : verticalLayout = new QVBoxLayout(UsersDialog);
53 0 : verticalLayout->setObjectName("verticalLayout");
54 0 : verticalLayout->setContentsMargins(6, 6, 6, 6);
55 0 : label = new QLabel(UsersDialog);
56 0 : label->setObjectName("label");
57 0 : label->setTextFormat(Qt::PlainText);
58 0 : label->setWordWrap(true);
59 :
60 0 : verticalLayout->addWidget(label);
61 :
62 0 : horizontalLayout = new QHBoxLayout();
63 0 : horizontalLayout->setObjectName("horizontalLayout");
64 0 : lineEdit = new QLineEdit(UsersDialog);
65 0 : lineEdit->setObjectName("lineEdit");
66 0 : lineEdit->setMinimumSize(QSize(0, 26));
67 :
68 0 : horizontalLayout->addWidget(lineEdit);
69 :
70 0 : checkBox = new QCheckBox(UsersDialog);
71 0 : checkBox->setObjectName("checkBox");
72 :
73 0 : horizontalLayout->addWidget(checkBox);
74 :
75 :
76 0 : verticalLayout->addLayout(horizontalLayout);
77 :
78 0 : listWidget = new QListWidget(UsersDialog);
79 0 : listWidget->setObjectName("listWidget");
80 0 : listWidget->setFrameShadow(QFrame::Plain);
81 0 : listWidget->setAlternatingRowColors(true);
82 0 : listWidget->setSortingEnabled(true);
83 :
84 0 : verticalLayout->addWidget(listWidget);
85 :
86 0 : buttonBox = new QDialogButtonBox(UsersDialog);
87 0 : buttonBox->setObjectName("buttonBox");
88 0 : buttonBox->setOrientation(Qt::Horizontal);
89 0 : buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
90 :
91 0 : verticalLayout->addWidget(buttonBox);
92 :
93 0 : QWidget::setTabOrder(lineEdit, listWidget);
94 :
95 0 : retranslateUi(UsersDialog);
96 :
97 0 : QMetaObject::connectSlotsByName(UsersDialog);
98 0 : } // setupUi
99 :
100 0 : void retranslateUi(QDialog *UsersDialog)
101 : {
102 0 : UsersDialog->setWindowTitle(QCoreApplication::translate("UsersDialog", "Read access users", nullptr));
103 0 : 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 0 : lineEdit->setPlaceholderText(QCoreApplication::translate("UsersDialog", "Search for users", nullptr));
108 0 : checkBox->setText(QCoreApplication::translate("UsersDialog", "Show unusable keys", nullptr));
109 0 : } // retranslateUi
110 :
111 : };
112 :
113 : namespace Ui {
114 : class UsersDialog: public Ui_UsersDialog {};
115 : } // namespace Ui
116 :
117 : QT_END_NAMESPACE
118 :
119 : #endif // UI_USERSDIALOG_H
|