GpgFrontend Project A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.

KeyPairDetailTab.h
1
27 #ifndef GPGFRONTEND_KEYPAIRDETAILTAB_H
28 #define GPGFRONTEND_KEYPAIRDETAILTAB_H
29
30 #include "KeySetExpireDateDialog.h"
31 #include "core/GpgContext.h"
32 #include "ui/GpgFrontendUI.h"
33 #include "ui/dialog/import_export/KeyServerImportDialog.h"
34 #include "ui/dialog/import_export/KeyUploadDialog.h"
35
36 namespace GpgFrontend::UI {
37
38 class KeyPairDetailTab : public QWidget {
39 Q_OBJECT
40
41 private slots:
42
46 void slot_copy_fingerprint();
47
52 void slot_refresh_key_info();
53
58 void slot_refresh_key();
59
60 private:
61 GpgKey key_;
62
63 QGroupBox* owner_box_;
64 QGroupBox* key_box_;
65 QGroupBox* fingerprint_box_;
66 QGroupBox* additional_uid_box_;
68
69 QLabel* name_var_label_;
70 QLabel* email_var_label_;
71 QLabel* comment_var_label_;
72 QLabel* key_size_var_label_;
73 QLabel* expire_var_label_;
74 QLabel* created_var_label_;
75 QLabel* last_update_var_label_;
76 QLabel* algorithm_var_label_;
77 QLabel* key_id_var_label;
78 QLabel* fingerprint_var_label_;
79 QLabel* usage_var_label_;
80 QLabel* actual_usage_var_label_;
81 QLabel* primary_key_exist_var_label_;
82
83 QLabel* icon_label_;
84 QLabel* exp_label_;
85
86 public:
93 explicit KeyPairDetailTab(const std::string& key_id,
94 QWidget* parent = nullptr);
95 };
96
97 } // namespace GpgFrontend::UI
98
99 #endif // GPGFRONTEND_KEYPAIRDETAILTAB_H
GpgFrontend::GpgKey
Definition: GpgKey.h:43
GpgFrontend::UI::KeyPairDetailTab
Definition: KeyPairDetailTab.h:38
GpgFrontend::UI::KeyPairDetailTab::key_size_var_label_
QLabel * key_size_var_label_
Label containing the keys key size.
Definition: KeyPairDetailTab.h:72
GpgFrontend::UI::KeyPairDetailTab::fingerprint_var_label_
QLabel * fingerprint_var_label_
Label containing the keys fingerprint.
Definition: KeyPairDetailTab.h:78
GpgFrontend::UI::KeyPairDetailTab::additional_uid_box_
QGroupBox * additional_uid_box_
Definition: KeyPairDetailTab.h:66
GpgFrontend::UI::KeyPairDetailTab::key_id_var_label
QLabel * key_id_var_label
Label containing the keys keyid.
Definition: KeyPairDetailTab.h:77
GpgFrontend::UI::KeyPairDetailTab::KeyPairDetailTab
KeyPairDetailTab(const std::string &key_id, QWidget *parent=nullptr)
Construct a new Key Pair Detail Tab object.
Definition: KeyPairDetailTab.cpp:36
GpgFrontend::UI::KeyPairDetailTab::comment_var_label_
QLabel * comment_var_label_
Label containing the keys comment.
Definition: KeyPairDetailTab.h:71
GpgFrontend::UI::KeyPairDetailTab::email_var_label_
QLabel * email_var_label_
Label containing the keys email.
Definition: KeyPairDetailTab.h:70
GpgFrontend::UI::KeyPairDetailTab::name_var_label_
QLabel * name_var_label_
Label containing the keys name.
Definition: KeyPairDetailTab.h:69
GpgFrontend::UI::KeyPairDetailTab::created_var_label_
QLabel * created_var_label_
Label containing the keys creation date.
Definition: KeyPairDetailTab.h:74
GpgFrontend::UI::KeyPairDetailTab::algorithm_var_label_
QLabel * algorithm_var_label_
Label containing the keys algorithm.
Definition: KeyPairDetailTab.h:76
GpgFrontend::UI::KeyPairDetailTab::key_box_
QGroupBox * key_box_
Groupbox containing key information.
Definition: KeyPairDetailTab.h:64
GpgFrontend::UI::KeyPairDetailTab::owner_box_
QGroupBox * owner_box_
Groupbox containing owner information.
Definition: KeyPairDetailTab.h:63
GpgFrontend::UI::KeyPairDetailTab::fingerprint_box_
QGroupBox * fingerprint_box_
Groupbox containing fingerprint information.
Definition: KeyPairDetailTab.h:65
GpgFrontend::UI::KeyPairDetailTab::expire_var_label_
QLabel * expire_var_label_
Label containing the keys expiration date.
Definition: KeyPairDetailTab.h:73
GpgFrontend::UI::KeyPairDetailTab::slot_copy_fingerprint
void slot_copy_fingerprint()
Definition: KeyPairDetailTab.cpp:165
GpgFrontend::UI
Definition: FileReadTask.cpp:29