aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui/ShowCopyDialog.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-08-10 14:06:45 +0000
committerSaturneric <[email protected]>2021-08-10 14:06:45 +0000
commit61ced076e5effd3f8ddc76372242ba5fa67b6303 (patch)
tree4722a7cea8387c83f470d170d88e5a8164498d0b /include/ui/ShowCopyDialog.h
parentMerge branch 'develop-ci' into develop (diff)
downloadGpgFrontend-61ced076e5effd3f8ddc76372242ba5fa67b6303.tar.gz
GpgFrontend-61ced076e5effd3f8ddc76372242ba5fa67b6303.zip
Add Functions:
GpgFrontend Settings Service Token Short Crypto Text Functions TODO: Revoke Cert Generation
Diffstat (limited to '')
-rw-r--r--include/ui/ShowCopyDialog.h25
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