# GpgFrontend Project: src/ui/dialog/import_export/KeyImportDetailDialog.h Source File

KeyImportDetailDialog.h
#ifndef __KEYIMPORTDETAILSDIALOG_H__
#define __KEYIMPORTDETAILSDIALOG_H__
#include "core/GpgContext.h"
#include "core/function/gpg/GpgKeyImportExporter.h"
#include "ui/GpgFrontendUI.h"
#include "ui/dialog/GeneralDialog.h"
namespace GpgFrontend::UI {
class KeyImportDetailDialog : public GeneralDialog {
Q_OBJECT
public:
KeyImportDetailDialog(GpgImportInformation result, bool automatic,
QWidget* parent = nullptr);
private:
void create_general_info_box();
void create_keys_table();
void create_button_box();
static QString get_status_string(int keyStatus);
QTableWidget* keys_table_{};
QGroupBox* general_info_box_{};
QGroupBox* key_info_box_{};
QDialogButtonBox* button_box_{};
GpgImportInformation m_result_;
};
} // namespace GpgFrontend::UI
#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