diff options
Diffstat (limited to 'src/ui/widgets/InfoBoardWidget.h')
-rw-r--r-- | src/ui/widgets/InfoBoardWidget.h | 12 |
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}; |