aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/FilePage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widgets/FilePage.h')
-rw-r--r--src/ui/widgets/FilePage.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/ui/widgets/FilePage.h b/src/ui/widgets/FilePage.h
index 31be81f3..8533aaac 100644
--- a/src/ui/widgets/FilePage.h
+++ b/src/ui/widgets/FilePage.h
@@ -28,6 +28,7 @@
#include <boost/filesystem.hpp>
#include "ui/GpgFrontendUI.h"
+#include "ui/widgets/InfoBoardWidget.h"
namespace GpgFrontend::UI {
@@ -38,25 +39,30 @@ class FilePage : public QWidget {
[[nodiscard]] QString getSelected() const;
- void createPopupMenu();
+ public slots:
+ void slotGoPath();
signals:
void pathChanged(const QString& path);
+ void signalRefreshInfoBoard(const QString& text,
+ InfoBoardStatus verify_label_status);
+
private slots:
void fileTreeViewItemClicked(const QModelIndex& index);
void fileTreeViewItemDoubleClicked(const QModelIndex& index);
void slotUpLevel();
- void slotGoPath();
-
+
void slotOpenItem();
+ void slotRenameItem();
void slotDeleteItem();
void slotEncryptItem();
void slotDecryptItem();
void slotSignItem();
void slotVerifyItem();
+ void slotCalculateHash();
void onCustomContextMenu(const QPoint& point);
@@ -64,6 +70,8 @@ class FilePage : public QWidget {
void keyPressEvent(QKeyEvent* event) override;
private:
+ void createPopupMenu();
+
QFileSystemModel* dirModel;
QTreeView* dirTreeView;
QLineEdit* pathEdit;