aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/InfoBoardWidget.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-13 10:16:54 +0000
committerSaturneric <[email protected]>2021-12-13 10:16:54 +0000
commitda0e403a6c6ff5ab201c239ea0b6d3ce45fc7c4d (patch)
tree8e7029d8dc13b54f16cefe50ac070fe32941a924 /src/ui/widgets/InfoBoardWidget.h
parentFixed & Modified & Added. (diff)
downloadGpgFrontend-da0e403a6c6ff5ab201c239ea0b6d3ce45fc7c4d.tar.gz
GpgFrontend-da0e403a6c6ff5ab201c239ea0b6d3ce45fc7c4d.zip
Update Translate & Added.
1. Added Export OpenSSH Format 2. Added Export Short Secret Key 3. Improve UI
Diffstat (limited to '')
-rw-r--r--src/ui/widgets/InfoBoardWidget.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/ui/widgets/InfoBoardWidget.h b/src/ui/widgets/InfoBoardWidget.h
index 05a3b345..8d37be6c 100644
--- a/src/ui/widgets/InfoBoardWidget.h
+++ b/src/ui/widgets/InfoBoardWidget.h
@@ -28,7 +28,8 @@
#include "EditorPage.h"
#include "gpg/result_analyse/VerifyResultAnalyse.h"
#include "ui/details/VerifyDetailsDialog.h"
-#include "ui_InfoBoard.h"
+
+class Ui_InfoBoard;
namespace GpgFrontend::UI {
@@ -45,7 +46,7 @@ typedef enum {
/**
* @brief Class for handling the verifylabel shown at buttom of a textedit-page
*/
-class InfoBoardWidget : public QWidget, private Ui_InfoBoard {
+class InfoBoardWidget : public QWidget {
Q_OBJECT
public:
/**
@@ -82,7 +83,14 @@ class InfoBoardWidget : public QWidget, private Ui_InfoBoard {
*/
void slotRefresh(const QString& text, InfoBoardStatus status);
+ private slots:
+
+ void slotCopy();
+
+ void slotSave();
+
private:
+ std::shared_ptr<Ui_InfoBoard> ui;
QTextEdit* mTextPage{nullptr}; /** TextEdit associated to the notification */
QTabWidget* mTabWidget{nullptr};