GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
KeyPairDetailTab.h
1 
29 #pragma once
30 
31 #include "core/model/GpgKey.h"
32 
33 namespace GpgFrontend::UI {
34 
35 class KeyPairDetailTab : public QWidget {
36  Q_OBJECT
37 
38  private slots:
39 
43  void slot_copy_fingerprint();
44 
49  void slot_refresh_key_info();
50 
55  void slot_refresh_key();
56 
57  private:
58  GpgKey key_;
59 
60  QGroupBox* owner_box_;
61  QGroupBox* key_box_;
62  QGroupBox* fingerprint_box_;
63  QGroupBox* additional_uid_box_;
65 
66  QLabel* name_var_label_;
67  QLabel* email_var_label_;
72  QLabel* last_update_var_label_;
74  QLabel*
78  QLabel* usage_var_label_;
79  QLabel* actual_usage_var_label_;
80  QLabel* primary_key_exist_var_label_;
81  QLabel* owner_trust_var_label_;
82 
83  QLabel* icon_label_;
84  QLabel* exp_label_;
85 
86  public:
93  explicit KeyPairDetailTab(const QString& key_id, QWidget* parent = nullptr);
94 };
95 
96 } // namespace GpgFrontend::UI
Definition: GpgKey.h:40
Definition: KeyPairDetailTab.h:35
QLabel * key_id_var_label_
Label containing the keys keyid.
Definition: KeyPairDetailTab.h:76
QLabel * key_size_var_label_
Label containing the keys key size.
Definition: KeyPairDetailTab.h:69
QLabel * fingerprint_var_label_
Label containing the keys fingerprint.
Definition: KeyPairDetailTab.h:77
QGroupBox * additional_uid_box_
Definition: KeyPairDetailTab.h:63
QLabel * comment_var_label_
Label containing the keys comment.
Definition: KeyPairDetailTab.h:68
QLabel * email_var_label_
Label containing the keys email.
Definition: KeyPairDetailTab.h:67
KeyPairDetailTab(const QString &key_id, QWidget *parent=nullptr)
Construct a new Key Pair Detail Tab object.
Definition: KeyPairDetailTab.cpp:38
QLabel * name_var_label_
Label containing the keys name.
Definition: KeyPairDetailTab.h:66
QLabel * created_var_label_
Label containing the keys creation date.
Definition: KeyPairDetailTab.h:71
QLabel * algorithm_var_label_
Label containing the keys algorithm.
Definition: KeyPairDetailTab.h:73
QGroupBox * key_box_
Groupbox containing key information.
Definition: KeyPairDetailTab.h:61
QLabel * algorithm_detail_var_label_
containing the keys algorithm detail
Definition: KeyPairDetailTab.h:75
QGroupBox * owner_box_
Groupbox containing owner information.
Definition: KeyPairDetailTab.h:60
QGroupBox * fingerprint_box_
Groupbox containing fingerprint information.
Definition: KeyPairDetailTab.h:62
QLabel * expire_var_label_
Label containing the keys expiration date.
Definition: KeyPairDetailTab.h:70
void slot_copy_fingerprint()
Definition: KeyPairDetailTab.cpp:166
Definition: FileReadTask.cpp:31