diff options
author | saturneric <[email protected]> | 2025-02-03 18:01:26 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-02-03 18:01:26 +0000 |
commit | d3d94f5b7a3e60b3bbb73e832bab7cf2d44a1600 (patch) | |
tree | 5cc7838f1325b076b91bb898fd0da3cfcb60b455 /src/ui/widgets/FileTreeView.h | |
parent | doc: update README.md (diff) | |
parent | fix: set pb range when size of operas > 1 (diff) | |
download | GpgFrontend-d3d94f5b7a3e60b3bbb73e832bab7cf2d44a1600.tar.gz GpgFrontend-d3d94f5b7a3e60b3bbb73e832bab7cf2d44a1600.zip |
Merge branch 'develop'
Diffstat (limited to 'src/ui/widgets/FileTreeView.h')
-rw-r--r-- | src/ui/widgets/FileTreeView.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/ui/widgets/FileTreeView.h b/src/ui/widgets/FileTreeView.h index d99ff605..333e06bc 100644 --- a/src/ui/widgets/FileTreeView.h +++ b/src/ui/widgets/FileTreeView.h @@ -28,6 +28,8 @@ #pragma once +#include "core/typedef/CoreTypedef.h" + namespace GpgFrontend::UI { class FileTreeView : public QTreeView { @@ -53,7 +55,7 @@ class FileTreeView : public QTreeView { * * @return QString */ - auto GetSelectedPath() -> QString; + auto GetSelectedPaths() -> QStringList; /** * @brief Get the Path By Click Point object @@ -114,7 +116,7 @@ class FileTreeView : public QTreeView { * @brief * */ - void SignalSelectedChanged(const QString&); + void SignalSelectedChanged(const QStringList&); /** * @brief @@ -191,6 +193,12 @@ class FileTreeView : public QTreeView { */ void SlotOpenSelectedItemBySystemApplication(); + /** + * @brief + * + */ + void SlotSwitchBatchMode(bool); + private slots: /** @@ -234,7 +242,7 @@ class FileTreeView : public QTreeView { private: QFileSystemModel* dir_model_; ///< QString current_path_; ///< - QString selected_path_; ///< + QStringList selected_paths_; ///< QMenu* popup_menu_; QMenu* new_item_action_menu_; |