GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgFrontend::UI::KeyPairSubkeyTab Class Reference
Inheritance diagram for GpgFrontend::UI::KeyPairSubkeyTab:
Inheritance graph
Collaboration diagram for GpgFrontend::UI::KeyPairSubkeyTab:
Collaboration graph

Public Member Functions

 KeyPairSubkeyTab (const QString &key, QWidget *parent)
 Construct a new Key Pair Subkey Tab object. More...
 

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *event) override
 

Private Slots

void slot_add_subkey ()
 
void slot_refresh_subkey_list ()
 
void slot_refresh_subkey_detail ()
 
void slot_edit_subkey ()
 
void slot_revoke_subkey ()
 
void slot_refresh_key_info ()
 

Private Member Functions

void create_subkey_list ()
 Create a subkey list object.
 
void create_subkey_opera_menu ()
 Create a subkey opera menu object.
 
const GpgSubKeyget_selected_subkey ()
 Get the selected subkey object. More...
 

Private Attributes

GpgKey key_
 
QTableWidget * subkey_list_ {}
 
std::vector< GpgSubKeybuffered_subkeys_
 
QGroupBox * list_box_
 
QGroupBox * detail_box_
 
QMenu * subkey_opera_menu_ {}
 
QLabel * key_size_var_label_
 Label containing the keys key size.
 
QLabel * expire_var_label_
 Label containing the keys expiration date.
 
QLabel * created_var_label_
 Label containing the keys creation date.
 
QLabel * algorithm_var_label_
 Label containing the keys algorithm.
 
QLabel * algorithm_detail_var_label_
 
QLabel * key_id_var_label_
 Label containing the keys keyid.
 
QLabel * fingerprint_var_label_
 Label containing the keys fingerprint.
 
QLabel * usage_var_label_
 
QLabel * master_key_exist_var_label_
 
QLabel * card_key_label_
 

Constructor & Destructor Documentation

◆ KeyPairSubkeyTab()

GpgFrontend::UI::KeyPairSubkeyTab::KeyPairSubkeyTab ( const QString &  key,
QWidget *  parent 
)

Member Function Documentation

◆ contextMenuEvent()

void GpgFrontend::UI::KeyPairSubkeyTab::contextMenuEvent ( QContextMenuEvent *  event)
overrideprotected
Parameters
event

References GpgFrontend::GpgKey::IsPrivateKey().

◆ get_selected_subkey()

auto GpgFrontend::UI::KeyPairSubkeyTab::get_selected_subkey ( )
private

Get the selected subkey object.

Returns
const GpgSubKey&

The documentation for this class was generated from the following files: