aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/KeyMgmt.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-16 18:05:00 +0000
committersaturneric <[email protected]>2025-04-16 18:05:00 +0000
commit272cf34f21ab1741d24673a7e3b7c95567a74cec (patch)
tree4497435e41a8bbdd7560cee57b2c8c4171099951 /src/ui/main_window/KeyMgmt.h
parentfix: found bugs (diff)
downloadGpgFrontend-272cf34f21ab1741d24673a7e3b7c95567a74cec.tar.gz
GpgFrontend-272cf34f21ab1741d24673a7e3b7c95567a74cec.zip
fix: testing and solve bugs found
Diffstat (limited to 'src/ui/main_window/KeyMgmt.h')
-rw-r--r--src/ui/main_window/KeyMgmt.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ui/main_window/KeyMgmt.h b/src/ui/main_window/KeyMgmt.h
index b25cfaaa..c0a8502a 100644
--- a/src/ui/main_window/KeyMgmt.h
+++ b/src/ui/main_window/KeyMgmt.h
@@ -34,6 +34,7 @@
namespace GpgFrontend::UI {
class KeyList;
+struct KeyTable;
/**
* @brief
@@ -120,6 +121,10 @@ class KeyMgmt : public GeneralMainWindow {
*/
void SignalKeyStatusUpdated();
+ private slots:
+
+ void slot_popup_menu_by_key_list(QContextMenuEvent* event, KeyTable*);
+
private:
KeyList* key_list_; ///<
QMenu* file_menu_{}; ///<
@@ -128,6 +133,8 @@ class KeyMgmt : public GeneralMainWindow {
QMenu* import_key_menu_{}; ///<
QMenu* export_key_menu_{}; /// <
+ QMenu* popup_menu_;
+
QAction* open_key_file_act_{}; ///<
QAction* export_key_to_file_act_{}; ///<
QAction* export_key_as_open_ssh_format_{}; ///<
@@ -143,7 +150,7 @@ class KeyMgmt : public GeneralMainWindow {
QAction* import_keys_from_key_package_act_{}; ///<
QAction* close_act_{}; ///<
QAction* show_key_details_act_{}; ///<
- QAction* set_owner_trust_of_key_act_{};
+ QAction* set_owner_trust_of_key_act_{}; ///<
/**
* @brief Create a menus object