GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
KeyPairOperaTab.h
1 
27 #ifndef GPGFRONTEND_KEYPAIROPERATAB_H
28 #define GPGFRONTEND_KEYPAIROPERATAB_H
29 
30 #include "core/function/gpg/GpgKeyGetter.h"
31 #include "ui/GpgFrontendUI.h"
32 
33 namespace GpgFrontend::UI {
34 class KeyPairOperaTab : public QWidget {
35  Q_OBJECT
36  public:
43  KeyPairOperaTab(const std::string& key_id, QWidget* parent);
44 
49  void CreateOperaMenu();
50 
51  signals:
56  void SignalKeyDatabaseRefresh();
57 
58  private slots:
59 
64 
69  void slot_export_short_private_key();
70 
75  void slot_export_public_key();
76 
81  void slot_modify_edit_datetime();
82 
87  void slot_modify_password();
88 
93  void slot_upload_key_to_server();
94 
99  void slot_update_key_from_server();
100 
105  void slot_gen_revoke_cert();
106 
111  void slot_modify_tofu_policy();
112 
117  void slot_set_owner_trust_level();
118 
119  private:
120  GpgKey m_key_;
121  QMenu* key_server_opera_menu_{};
122  QMenu* secret_key_export_opera_menu_{};
123 };
124 } // namespace GpgFrontend::UI
125 
126 #endif // GPGFRONTEND_KEYPAIROPERATAB_H
Definition: GpgKey.h:43
Definition: KeyPairOperaTab.h:34
void slot_export_private_key()
Definition: KeyPairOperaTab.cpp:255
void CreateOperaMenu()
Create a Opera Menu object.
Definition: KeyPairOperaTab.cpp:130
KeyPairOperaTab(const std::string &key_id, QWidget *parent)
Construct a new Key Pair Opera Tab object.
Definition: KeyPairOperaTab.cpp:40
Definition: FileReadTask.cpp:29