aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/InfoBoardWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widgets/InfoBoardWidget.h')
-rw-r--r--src/ui/widgets/InfoBoardWidget.h31
1 files changed, 11 insertions, 20 deletions
diff --git a/src/ui/widgets/InfoBoardWidget.h b/src/ui/widgets/InfoBoardWidget.h
index b7239adb..8d37be6c 100644
--- a/src/ui/widgets/InfoBoardWidget.h
+++ b/src/ui/widgets/InfoBoardWidget.h
@@ -29,6 +29,8 @@
#include "gpg/result_analyse/VerifyResultAnalyse.h"
#include "ui/details/VerifyDetailsDialog.h"
+class Ui_InfoBoard;
+
namespace GpgFrontend::UI {
/**
@@ -53,7 +55,7 @@ class InfoBoardWidget : public QWidget {
* @param ctx The GPGme-Context
* @param parent The parent widget
*/
- explicit InfoBoardWidget(QWidget* parent, KeyList* keyList);
+ explicit InfoBoardWidget(QWidget* parent);
void associateTextEdit(QTextEdit* edit);
@@ -72,17 +74,8 @@ class InfoBoardWidget : public QWidget {
*/
void setInfoBoard(const QString& text, InfoBoardStatus verifyLabelStatus);
- QStringList* keysNotInList; /** List with keys, which are in signature but not
- in keylist */
-
public slots:
- /**
- * @details Import the keys contained in keysNotInList from keyserver
- *
- */
- void slotImportFromKeyserver();
-
void slotReset();
/**
@@ -90,19 +83,17 @@ class InfoBoardWidget : public QWidget {
*/
void slotRefresh(const QString& text, InfoBoardStatus status);
+ private slots:
+
+ void slotCopy();
+
+ void slotSave();
+
private:
- QMenu* detailMenu; /** Menu for te Button in verfiyNotification */
- QAction* importFromKeyserverAct; /** Action for importing keys from keyserver
- which are notin keylist */
- QTextEdit* infoBoard;
- KeyList* mKeyList; /** Table holding the keys */
+ std::shared_ptr<Ui_InfoBoard> ui;
QTextEdit* mTextPage{nullptr}; /** TextEdit associated to the notification */
- QTabWidget* mTabWidget{
- nullptr}; /** TreeView associated to the notification */
-
- QHBoxLayout* actionButtonLayout;
- QButtonGroup* mButtonGroup;
+ QTabWidget* mTabWidget{nullptr};
void deleteWidgetsInLayout(QLayout* layout, int start_index = 0);
};