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 
44  Q_OBJECT
45 
46  public:
54  KeyImportDetailDialog(GpgImportInformation result, bool automatic,
55  QWidget* parent = nullptr);
56 
57  private:
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__
Definition: GpgKeyImportExporter.h:57
Definition: GeneralDialog.h:35
Definition: KeyImportDetailDialog.h:43
KeyImportDetailDialog(GpgImportInformation result, bool automatic, QWidget *parent=nullptr)
Construct a new Key Import Detail Dialog object.
Definition: KeyImportDetailDialog.cpp:34
void create_keys_table()
Create a keys table object.
Definition: KeyImportDetailDialog.cpp:131
void create_button_box()
Create a button box object.
Definition: KeyImportDetailDialog.cpp:197
static QString get_status_string(int keyStatus)
Get the status string object.
Definition: KeyImportDetailDialog.cpp:165
void create_general_info_box()
Create a general info box object.
Definition: KeyImportDetailDialog.cpp:77
Definition: FileReadTask.cpp:29