aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/InfoBoardWidget.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-12 09:36:08 +0000
committerSaturneric <[email protected]>2021-12-12 09:36:08 +0000
commite3792543f6d8b8dd8b0af78194967cc70448873f (patch)
tree7b078a5b437576e8021c2bb90a570c3f1969fbfe /src/ui/widgets/InfoBoardWidget.h
parentAdd Support For UI Header include Path (diff)
downloadGpgFrontend-e3792543f6d8b8dd8b0af78194967cc70448873f.tar.gz
GpgFrontend-e3792543f6d8b8dd8b0af78194967cc70448873f.zip
Fixed & Modified & Added.
1. Fixed UTF-16 & UTF-8 filesystem path's bugs. 2. Added mkdir & create empty file. 3. Improve file browser. 4. Added Infoboard.ui. 5. Fixed Verify Bugs.
Diffstat (limited to '')
-rw-r--r--src/ui/widgets/InfoBoardWidget.h25
1 files changed, 4 insertions, 21 deletions
diff --git a/src/ui/widgets/InfoBoardWidget.h b/src/ui/widgets/InfoBoardWidget.h
index b7239adb..05a3b345 100644
--- a/src/ui/widgets/InfoBoardWidget.h
+++ b/src/ui/widgets/InfoBoardWidget.h
@@ -28,6 +28,7 @@
#include "EditorPage.h"
#include "gpg/result_analyse/VerifyResultAnalyse.h"
#include "ui/details/VerifyDetailsDialog.h"
+#include "ui_InfoBoard.h"
namespace GpgFrontend::UI {
@@ -44,7 +45,7 @@ typedef enum {
/**
* @brief Class for handling the verifylabel shown at buttom of a textedit-page
*/
-class InfoBoardWidget : public QWidget {
+class InfoBoardWidget : public QWidget, private Ui_InfoBoard {
Q_OBJECT
public:
/**
@@ -53,7 +54,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 +73,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();
/**
@@ -91,18 +83,9 @@ class InfoBoardWidget : public QWidget {
void slotRefresh(const QString& text, InfoBoardStatus status);
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 */
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);
};