diff options
author | Saturneric <[email protected]> | 2021-10-02 14:08:50 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-10-02 14:16:27 +0000 |
commit | 3c65d087eeee687ac01af2e80f3dd538f9a2c230 (patch) | |
tree | 1e860dc6343c1897e2224a002f2ca44c574381b3 /src/ui/KeyImportDetailDialog.h | |
parent | The basic functions of the core pass the test. (diff) | |
download | GpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.tar.gz GpgFrontend-3c65d087eeee687ac01af2e80f3dd538f9a2c230.zip |
UI Framework Modified.
Diffstat (limited to '')
-rw-r--r-- | src/ui/KeyImportDetailDialog.h (renamed from include/ui/KeyImportDetailDialog.h) | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/include/ui/KeyImportDetailDialog.h b/src/ui/KeyImportDetailDialog.h index 243eead3..e3137503 100644 --- a/include/ui/KeyImportDetailDialog.h +++ b/src/ui/KeyImportDetailDialog.h @@ -25,27 +25,32 @@ #ifndef __KEYIMPORTDETAILSDIALOG_H__ #define __KEYIMPORTDETAILSDIALOG_H__ +#include <gpg/function/GpgKeyImportExportor.h> #include "gpg/GpgContext.h" +#include "ui/GpgFrontendUI.h" -class KeyImportDetailDialog : public QDialog -{ - Q_OBJECT +namespace GpgFrontend::UI { +class KeyImportDetailDialog : public QDialog { + Q_OBJECT -public: - KeyImportDetailDialog(GpgFrontend::GpgContext *ctx, GpgImportInformation result, bool automatic, QWidget *parent = 0); + public: + KeyImportDetailDialog(GpgImportInformation result, + bool automatic, + QWidget* parent = nullptr); -private: - void createGeneralInfoBox(); - void createKeysTable(); - void createButtonBox(); - static QString getStatusString(int keyStatus); + private: + void createGeneralInfoBox(); + void createKeysTable(); + void createButtonBox(); + static QString getStatusString(int keyStatus); - QTableWidget *keysTable{}; - GpgFrontend::GpgContext *mCtx; - QGroupBox *generalInfoBox{}; - QGroupBox *keyInfoBox{}; - QDialogButtonBox *buttonBox{}; - GpgImportInformation mResult; + QTableWidget* keysTable{}; + GpgFrontend::GpgContext* mCtx; + QGroupBox* generalInfoBox{}; + QGroupBox* keyInfoBox{}; + QDialogButtonBox* buttonBox{}; + GpgImportInformation mResult; }; +} // namespace GpgFrontend::UI -#endif // __KEYIMPORTDETAILSDIALOG_H__ +#endif // __KEYIMPORTDETAILSDIALOG_H__ |