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
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::GpgKey::GetId
std::string GetId() const
Definition: GpgKey.cpp:52
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::KeyUIDSignDialog::KeyUIDSignDialog
KeyUIDSignDialog(const GpgKey &key, UIDArgsListPtr uid, QWidget *parent=nullptr)
Construct a new Key U I D Sign Dialog object.
Definition: KeyUIDSignDialog.cpp:35
GpgFrontend::UI::GeneralDialog
Definition: GeneralDialog.h:35
GpgFrontend::UI::KeyList::AddListGroupTab
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:99
GpgFrontend::UI::KeyList::GetChecked
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:181
GpgFrontend::UI::KeyUIDSignDialog
Definition: KeyUIDSignDialog.h:37
GpgFrontend::UI::KeyUIDSignDialog::slot_sign_key
void slot_sign_key(bool clicked)
Definition: KeyUIDSignDialog.cpp:106
GpgFrontend::UI::KeyList
Definition: KeyList.h:152
GpgFrontend::GpgKey::IsExpired
bool IsExpired() const
Definition: GpgKey.cpp:140
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::GpgKey::IsRevoked
bool IsRevoked() const
Definition: GpgKey.cpp:142
GpgFrontend::GpgKey::IsDisabled
bool IsDisabled() const
Definition: GpgKey.cpp:144
GpgFrontend::GpgKeyGetter::GetKeys
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:146
GpgFrontend::GpgKey::IsHasCertificationCapability
bool IsHasCertificationCapability() const
Definition: GpgKey.cpp:123
GpgFrontend::GpgKey::IsHasMasterKey
bool IsHasMasterKey() const
Definition: GpgKey.cpp:146
GpgFrontend::GpgKey
Definition: GpgKey.h:41