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/dialog/GeneralDialog.h"
33 #include "ui/widgets/KeyList.h"
34 
35 namespace GpgFrontend::UI {
36 
38  Q_OBJECT
39 
40  public:
48  explicit KeyUIDSignDialog(const GpgKey& key, UIDArgsListPtr uid,
49  QWidget* parent = nullptr);
50 
51  signals:
56  void SignalKeyUIDSignUpdate();
57 
58  private:
59  KeyList* m_key_list_;
60  QPushButton* sign_key_button_;
61  QDateTimeEdit* expires_edit_;
62  QCheckBox* non_expire_check_;
63  UIDArgsListPtr m_uids_;
64 
65  const GpgKey& m_key_;
66 
67  private slots:
73  void slot_sign_key(bool clicked);
74 };
75 
76 } // namespace GpgFrontend::UI
77 
78 #endif // GPGFRONTEND_KEYUIDSIGNDIALOG_H
Definition: GpgKey.h:43
Definition: GeneralDialog.h:35
Definition: KeyList.h:152
Definition: KeyUIDSignDialog.h:37
void slot_sign_key(bool clicked)
Definition: KeyUIDSignDialog.cpp:106
KeyUIDSignDialog(const GpgKey &key, UIDArgsListPtr uid, QWidget *parent=nullptr)
Construct a new Key U I D Sign Dialog object.
Definition: KeyUIDSignDialog.cpp:35
Definition: FileReadTask.cpp:29