GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
27 #ifndef GPGFRONTEND_KEYNEWUIDDIALOG_H
28 #define GPGFRONTEND_KEYNEWUIDDIALOG_H
30 #include "core/GpgContext.h"
31 #include "ui/GpgFrontendUI.h"
51 void SignalUIDCreated();
66 QLineEdit* comment_{};
68 QPushButton* create_button_{};
70 QStringList error_messages_;
71 QLabel* error_label_{};
73 QRegularExpression re_email_{
74 R
"((?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\]))"};
87 #endif // GPGFRONTEND_KEYNEWUIDDIALOG_H
Definition: FileReadTask.cpp:31
static GpgUIDOperator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
Definition: GpgKeyGetter.h:45
void slot_create_new_uid()
Definition: KeyNewUIDDialog.cpp:72
KeyNewUIDDialog(const KeyId &key, QWidget *parent=nullptr)
Construct a new Key New U I D Dialog object.
Definition: KeyNewUIDDialog.cpp:34
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
Definition: KeyNewUIDDialog.h:34
bool check_email_address(const QString &str)
Definition: KeyNewUIDDialog.cpp:109