GpgFrontend Project A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.

KeyImportDetailDialog.h
1
29 #ifndef __KEYIMPORTDETAILSDIALOG_H__
30 #define __KEYIMPORTDETAILSDIALOG_H__
31
32 #include "core/GpgContext.h"
33 #include "core/function/gpg/GpgKeyImportExporter.h"
34 #include "ui/GpgFrontendUI.h"
35 #include "ui/dialog/GeneralDialog.h"
36
37 namespace GpgFrontend::UI {
38
43 class KeyImportDetailDialog : public GeneralDialog {
44 Q_OBJECT
45
46 public:
54 KeyImportDetailDialog(GpgImportInformation result, bool automatic,
55 QWidget* parent = nullptr);
56
57 private:
62 void create_general_info_box();
63
68 void create_keys_table();
69
74 void create_button_box();
75
82 static QString get_status_string(int keyStatus);
83
84 QTableWidget* keys_table_{};
85 QGroupBox* general_info_box_{};
86 QGroupBox* key_info_box_{};
87 QDialogButtonBox* button_box_{};
88 GpgImportInformation m_result_;
89 };
90 } // namespace GpgFrontend::UI
91
92 #endif // __KEYIMPORTDETAILSDIALOG_H__
GpgFrontend::GpgImportInformation
Definition: GpgKeyImportExporter.h:57
GpgFrontend::UI::GeneralDialog
Definition: GeneralDialog.h:35
GpgFrontend::UI::KeyImportDetailDialog
Definition: KeyImportDetailDialog.h:43
GpgFrontend::UI::KeyImportDetailDialog::KeyImportDetailDialog
KeyImportDetailDialog(GpgImportInformation result, bool automatic, QWidget *parent=nullptr)
Construct a new Key Import Detail Dialog object.
Definition: KeyImportDetailDialog.cpp:34
GpgFrontend::UI::KeyImportDetailDialog::create_keys_table
void create_keys_table()
Create a keys table object.
Definition: KeyImportDetailDialog.cpp:130
GpgFrontend::UI::KeyImportDetailDialog::create_button_box
void create_button_box()
Create a button box object.
Definition: KeyImportDetailDialog.cpp:196
GpgFrontend::UI::KeyImportDetailDialog::get_status_string
static QString get_status_string(int keyStatus)
Get the status string object.
Definition: KeyImportDetailDialog.cpp:164
GpgFrontend::UI::KeyImportDetailDialog::create_general_info_box
void create_general_info_box()
Create a general info box object.
Definition: KeyImportDetailDialog.cpp:77
GpgFrontend::UI
Definition: FileReadTask.cpp:29