GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
KeyUIDSignDialog.h
1
27#ifndef GPGFRONTEND_KEYUIDSIGNDIALOG_H
28#define GPGFRONTEND_KEYUIDSIGNDIALOG_H
29
30#include "core/GpgContext.h"
31#include "ui/GpgFrontendUI.h"
32#include "ui/widgets/KeyList.h"
33
34namespace GpgFrontend::UI {
35
36class KeyUIDSignDialog : public QDialog {
37 Q_OBJECT
38
39 public:
47 explicit KeyUIDSignDialog(const GpgKey& key, UIDArgsListPtr uid,
48 QWidget* parent = nullptr);
49
50 signals:
55 void SignalKeyUIDSignUpdate();
56
57 private:
58 KeyList* m_key_list_;
59 QPushButton* sign_key_button_;
60 QDateTimeEdit* expires_edit_;
61 QCheckBox* non_expire_check_;
62 UIDArgsListPtr m_uids_;
63
64 const GpgKey& m_key_;
65
66 private slots:
72 void slot_sign_key(bool clicked);
73};
74
75} // namespace GpgFrontend::UI
76
77#endif // GPGFRONTEND_KEYUIDSIGNDIALOG_H
Definition: GpgKey.h:44
Definition: KeyList.h:152
Definition: KeyUIDSignDialog.h:36
void slot_sign_key(bool clicked)
Definition: KeyUIDSignDialog.cpp:104
KeyUIDSignDialog(const GpgKey &key, UIDArgsListPtr uid, QWidget *parent=nullptr)
Construct a new Key U I D Sign Dialog object.
Definition: KeyUIDSignDialog.cpp:35
Definition: VerifyDetailsDialog.cpp:33