GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
KeyPairOperaTab.h
1 
29 #pragma once
30 
31 #include "core/model/GpgKey.h"
32 
33 namespace GpgFrontend {
34 class GpgImportInformation;
35 }
36 
37 namespace GpgFrontend::UI {
38 class KeyPairOperaTab : public QWidget {
39  Q_OBJECT
40  public:
47  KeyPairOperaTab(const QString& key_id, QWidget* parent);
48 
53  void CreateOperaMenu();
54 
55  signals:
60  void SignalKeyDatabaseRefresh();
61 
62  private slots:
63 
68 
73  void slot_export_short_private_key();
74 
79  void slot_export_public_key();
80 
85  void slot_modify_edit_datetime();
86 
91  void slot_modify_password();
92 
97  void slot_upload_key_to_server();
98 
103  void slot_update_key_from_server();
104 
109  void slot_gen_revoke_cert();
110 
115  void slot_modify_tofu_policy();
116 
121  void slot_set_owner_trust_level();
122 
127  void slot_import_revoke_cert();
128 
129  private:
130  GpgKey m_key_;
131  QMenu* key_server_opera_menu_{};
132  QMenu* rev_cert_opera_menu_{};
133  QMenu* secret_key_export_opera_menu_{};
134 };
135 } // namespace GpgFrontend::UI
Definition: GpgKey.h:40
Definition: KeyPairOperaTab.h:38
void slot_export_private_key()
Definition: KeyPairOperaTab.cpp:268
void CreateOperaMenu()
Create a Opera Menu object.
Definition: KeyPairOperaTab.cpp:134
KeyPairOperaTab(const QString &key_id, QWidget *parent)
Construct a new Key Pair Opera Tab object.
Definition: KeyPairOperaTab.cpp:47
Definition: FileReadTask.cpp:31
Definition: app.cpp:39