diff options
author | Saturneric <[email protected]> | 2022-01-23 08:35:59 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-23 08:35:59 +0000 |
commit | a7fb788cd0379bc3f49d5c0fdb0cbdf2b8401f7b (patch) | |
tree | 3299c2bcbddc0eb1fa0b9bb3ae002e5ac856180c /src/ui/widgets/VerifyKeyDetailBox.h | |
parent | <refactor>(ui): tidy up codes and comments. (diff) | |
download | GpgFrontend-a7fb788cd0379bc3f49d5c0fdb0cbdf2b8401f7b.tar.gz GpgFrontend-a7fb788cd0379bc3f49d5c0fdb0cbdf2b8401f7b.zip |
<refactor>(ui): tidy up codes and comments.
1. tidy up widgets.
Diffstat (limited to '')
-rw-r--r-- | src/ui/widgets/VerifyKeyDetailBox.h | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/src/ui/widgets/VerifyKeyDetailBox.h b/src/ui/widgets/VerifyKeyDetailBox.h index 8cf413ca..0b6b1d34 100644 --- a/src/ui/widgets/VerifyKeyDetailBox.h +++ b/src/ui/widgets/VerifyKeyDetailBox.h @@ -33,20 +33,39 @@ #include "ui/widgets/KeyList.h" namespace GpgFrontend::UI { - +/** + * @brief + * + */ class VerifyKeyDetailBox : public QGroupBox { Q_OBJECT public: + /** + * @brief Construct a new Verify Key Detail Box object + * + * @param signature + * @param parent + */ explicit VerifyKeyDetailBox(const GpgSignature& signature, QWidget* parent); private slots: - void slotImportFormKeyserver(); + /** + * @brief + * + */ + void slot_import_form_key_server(); private: - QGridLayout* createKeyInfoGrid(const GpgSignature& signature); + /** + * @brief Create a key info grid object + * + * @param signature + * @return QGridLayout* + */ + QGridLayout* create_key_info_grid(const GpgSignature& signature); - std::string fpr; + std::string fpr_; ///< }; } // namespace GpgFrontend::UI |