GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
VerifyKeyDetailBox.h
1 
29 #ifndef __VERIFYKEYDETAILBOX_H__
30 #define __VERIFYKEYDETAILBOX_H__
31 
32 #include "ui/import_export/KeyServerImportDialog.h"
33 #include "ui/widgets/KeyList.h"
34 
35 namespace GpgFrontend::UI {
40 class VerifyKeyDetailBox : public QGroupBox {
41  Q_OBJECT
42  public:
49  explicit VerifyKeyDetailBox(const GpgSignature& signature, QWidget* parent);
50 
51  private slots:
52 
57  void slot_import_form_key_server();
58 
59  private:
66  QGridLayout* create_key_info_grid(const GpgSignature& signature);
67 
68  std::string fpr_;
69 };
70 
71 } // namespace GpgFrontend::UI
72 
73 #endif // __VERIFYKEYDETAILBOX_H__
GpgFrontend::beautify_fingerprint
GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:90
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::GpgSignature::GetFingerprint
std::string GetFingerprint() const
Definition: GpgSignature.cpp:116
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::GpgSignature
Definition: GpgSignature.h:43
GpgFrontend::UI::VerifyKeyDetailBox::VerifyKeyDetailBox
VerifyKeyDetailBox(const GpgSignature &signature, QWidget *parent)
Construct a new Verify Key Detail Box object.
Definition: VerifyKeyDetailBox.cpp:35
GpgFrontend::GpgKey::GetEmail
std::string GetEmail() const
Definition: GpgKey.cpp:62
GpgFrontend::UI::KeyServerImportDialog
Definition: KeyServerImportDialog.h:43
GpgFrontend::GpgSignature::GetStatus
gpgme_error_t GetStatus() const
Definition: GpgSignature.cpp:62
GpgFrontend::GpgKey::IsGood
bool IsGood() const
Definition: GpgKey.cpp:52
GpgFrontend::GpgSignature::GetSummary
gpgme_error_t GetSummary() const
Definition: GpgSignature.cpp:71
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgFrontend::UI::VerifyKeyDetailBox
Definition: VerifyKeyDetailBox.h:40
GpgFrontend::UI::VerifyKeyDetailBox::fpr_
std::string fpr_
fingerprint of the key
Definition: VerifyKeyDetailBox.h:68
GpgFrontend::GpgKey
Definition: GpgKey.h:41
GpgFrontend::GpgKey::GetName
std::string GetName() const
Definition: GpgKey.cpp:58
GpgFrontend::UI::VerifyKeyDetailBox::create_key_info_grid
QGridLayout * create_key_info_grid(const GpgSignature &signature)
Create a key info grid object.
Definition: VerifyKeyDetailBox.cpp:166