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
36namespace GpgFrontend::UI {
37
42class KeyImportDetailDialog : public QDialog {
43 Q_OBJECT
44
45 public:
53 KeyImportDetailDialog(GpgImportInformation result, bool automatic,
54 QWidget* parent = nullptr);
55
56 private:
62
67 void create_keys_table();
68
73 void create_button_box();
74
81 static QString get_status_string(int keyStatus);
82
83 QTableWidget* keys_table_{};
84 QGroupBox* general_info_box_{};
85 QGroupBox* key_info_box_{};
86 QDialogButtonBox* button_box_{};
87 GpgImportInformation m_result_;
88};
89} // namespace GpgFrontend::UI
90
91#endif // __KEYIMPORTDETAILSDIALOG_H__
Definition: GpgKeyImportExporter.h:57
Definition: KeyImportDetailDialog.h:42
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:130
void create_button_box()
Create a button box object.
Definition: KeyImportDetailDialog.cpp:198
static QString get_status_string(int keyStatus)
Get the status string object.
Definition: KeyImportDetailDialog.cpp:166
void create_general_info_box()
Create a general info box object.
Definition: KeyImportDetailDialog.cpp:76
Definition: VerifyDetailsDialog.cpp:33