aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/FilePage.h
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2021-12-05 19:32:25 +0000
committerGitHub <[email protected]>2021-12-05 19:32:25 +0000
commite3ecf7cb0e5fc3058760ac28d58ad9766e9037b6 (patch)
tree4108a6205fb517a694d65b3044f7369f32b43862 /src/ui/widgets/FilePage.h
parentMerge branch 'main' into develop (diff)
parentImprove UI (diff)
downloadGpgFrontend-e3ecf7cb0e5fc3058760ac28d58ad9766e9037b6.tar.gz
GpgFrontend-e3ecf7cb0e5fc3058760ac28d58ad9766e9037b6.zip
Merge pull request #27 from saturneric/develop-ui
Improve UI
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;