diff options
Diffstat (limited to 'include/ui/ShowCopyDialog.h')
-rw-r--r-- | include/ui/ShowCopyDialog.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/ui/ShowCopyDialog.h b/include/ui/ShowCopyDialog.h new file mode 100644 index 00000000..04ea4bab --- /dev/null +++ b/include/ui/ShowCopyDialog.h @@ -0,0 +1,25 @@ +// +// Created by Administrator on 2021/7/21. +// + +#ifndef GPGFRONTEND_ZH_CN_TS_SHOWCOPYDIALOG_H +#define GPGFRONTEND_ZH_CN_TS_SHOWCOPYDIALOG_H + +#include "GpgFrontend.h" + +class ShowCopyDialog : public QDialog { +Q_OBJECT +public: + explicit ShowCopyDialog(const QString &text, QWidget *parent = nullptr); + +private slots: + + void slotCopyText(); + +private: + QTextEdit *textEdit; + QPushButton *copyButton; +}; + + +#endif //GPGFRONTEND_ZH_CN_TS_SHOWCOPYDIALOG_H |