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/ShowCopyDialog.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/ShowCopyDialog.h (renamed from include/ui/ShowCopyDialog.h) | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/include/ui/ShowCopyDialog.h b/src/ui/ShowCopyDialog.h index 45b06e2d..82deedee 100644 --- a/include/ui/ShowCopyDialog.h +++ b/src/ui/ShowCopyDialog.h @@ -25,22 +25,27 @@ #ifndef GPGFRONTEND_ZH_CN_TS_SHOWCOPYDIALOG_H #define GPGFRONTEND_ZH_CN_TS_SHOWCOPYDIALOG_H -#include "GpgFrontend.h" +#include "ui/GpgFrontendUI.h" + +namespace GpgFrontend::UI { class ShowCopyDialog : public QDialog { -Q_OBJECT -public: - explicit ShowCopyDialog(const QString &text, const QString &info = "", QWidget *parent = nullptr); + Q_OBJECT + public: + explicit ShowCopyDialog(const QString& text, + const QString& info = "", + QWidget* parent = nullptr); -private slots: + private slots: - void slotCopyText(); + void slotCopyText(); -private: - QLabel *infoLabel; - QTextEdit *textEdit; - QPushButton *copyButton; + private: + QLabel* infoLabel; + QTextEdit* textEdit; + QPushButton* copyButton; }; +} // namespace GpgFrontend::UI -#endif //GPGFRONTEND_ZH_CN_TS_SHOWCOPYDIALOG_H +#endif // GPGFRONTEND_ZH_CN_TS_SHOWCOPYDIALOG_H |