diff options
author | Saturneric <[email protected]> | 2022-01-23 09:10:53 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-23 09:10:53 +0000 |
commit | 0dd16d72d75e2068b8365a49ef2696a4744575dd (patch) | |
tree | a463727ba5a5ee4d5afcfb0eaa4d8e6e48b7c930 /src/ui/ShowCopyDialog.h | |
parent | <refactor>(ui): tidy up codes and comments. (diff) | |
download | GpgFrontend-0dd16d72d75e2068b8365a49ef2696a4744575dd.tar.gz GpgFrontend-0dd16d72d75e2068b8365a49ef2696a4744575dd.zip |
<refactor>(ui): tidy up codes and comments.
1. tidy up ui.
Diffstat (limited to 'src/ui/ShowCopyDialog.h')
-rw-r--r-- | src/ui/ShowCopyDialog.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/src/ui/ShowCopyDialog.h b/src/ui/ShowCopyDialog.h index dbfbed2a..62cd9da5 100644 --- a/src/ui/ShowCopyDialog.h +++ b/src/ui/ShowCopyDialog.h @@ -33,20 +33,35 @@ namespace GpgFrontend::UI { +/** + * @brief + * + */ class ShowCopyDialog : public QDialog { Q_OBJECT public: + /** + * @brief Construct a new Show Copy Dialog object + * + * @param text + * @param info + * @param parent + */ explicit ShowCopyDialog(const QString& text, const QString& info = "", QWidget* parent = nullptr); private slots: - void slotCopyText(); + /** + * @brief + * + */ + void slot_copy_text(); private: - QLabel* infoLabel; - QTextEdit* textEdit; - QPushButton* copyButton; + QLabel* info_label_; ///< + QTextEdit* text_edit_; ///< + QPushButton* copy_button_; ///< }; } // namespace GpgFrontend::UI |