GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
29 #ifndef GPGFRONTEND_KEYPAIRSUBKEYTAB_H
30 #define GPGFRONTEND_KEYPAIRSUBKEYTAB_H
32 #include "KeySetExpireDateDialog.h"
33 #include "core/GpgContext.h"
34 #include "ui/GpgFrontendUI.h"
35 #include "ui/key_generate/SubkeyGenerateDialog.h"
72 QTableWidget* subkey_list_{};
73 std::vector<GpgSubKey> buffered_subkeys_;
76 QGroupBox* detail_box_;
78 QMenu* subkey_opera_menu_{};
86 QLabel* usage_var_label_;
87 QLabel* master_key_exist_var_label_;
88 QLabel* card_key_label_;
96 void slot_add_subkey();
102 void slot_refresh_subkey_list();
108 void slot_refresh_subkey_detail();
114 void slot_edit_subkey();
120 void slot_revoke_subkey();
126 void slot_refresh_key_info();
139 #endif // GPGFRONTEND_KEYPAIRSUBKEYTAB_H
void contextMenuEvent(QContextMenuEvent *event) override
Definition: KeyPairSubkeyTab.cpp:318
QLabel * expire_var_label_
Label containing the keys expiration date.
Definition: KeyPairSubkeyTab.h:81
Definition: FileReadTask.cpp:31
Definition: KeySetExpireDateDialog.h:41
std::string GetId() const
Definition: GpgKey.cpp:54
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
QLabel * created_var_label_
Label containing the keys creation date.
Definition: KeyPairSubkeyTab.h:82
QLabel * key_id_var_label_
Label containing the keys keyid.
Definition: KeyPairSubkeyTab.h:84
Definition: GpgKeyGetter.h:45
void create_subkey_opera_menu()
Create a subkey opera menu object.
Definition: KeyPairSubkeyTab.cpp:299
std::string GetEmail() const
Definition: GpgKey.cpp:62
std::unique_ptr< std::vector< GpgSubKey > > GetSubKeys() const
Definition: GpgKey.cpp:153
void create_subkey_list()
Create a subkey list object.
Definition: KeyPairSubkeyTab.cpp:141
QLabel * key_size_var_label_
Label containing the keys key size.
Definition: KeyPairSubkeyTab.h:80
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
std::string GetFingerprint() const
Definition: GpgSubKey.cpp:51
bool IsPrivateKey() const
Definition: GpgKey.cpp:140
KeyPairSubkeyTab(const std::string &key, QWidget *parent)
Construct a new Key Pair Subkey Tab object.
Definition: KeyPairSubkeyTab.cpp:36
Definition: KeyPairSubkeyTab.h:39
Definition: GpgSubKey.h:43
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
QLabel * algorithm_var_label_
Label containing the keys algorithm.
Definition: KeyPairSubkeyTab.h:83
QLabel * fingerprint_var_label_
Label containing the keys fingerprint.
Definition: KeyPairSubkeyTab.h:85
const GpgSubKey & get_selected_subkey()
Get the selected subkey object.
Definition: KeyPairSubkeyTab.cpp:324
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148