diff options
author | saturneric <[email protected]> | 2024-11-25 21:46:04 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-11-25 21:46:04 +0000 |
commit | 21bbd04e05790de5a5feed41ea4d6dbd4a06ad24 (patch) | |
tree | 1ad5d897f31cfcf7bafbb418ca7f36b483ef7bd3 /src/ui/widgets/TextEditTabWidget.h | |
parent | fix: correct spelling mistake (diff) | |
download | GpgFrontend-21bbd04e05790de5a5feed41ea4d6dbd4a06ad24.tar.gz GpgFrontend-21bbd04e05790de5a5feed41ea4d6dbd4a06ad24.zip |
feat: support drop down and open directory
Diffstat (limited to 'src/ui/widgets/TextEditTabWidget.h')
-rw-r--r-- | src/ui/widgets/TextEditTabWidget.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ui/widgets/TextEditTabWidget.h b/src/ui/widgets/TextEditTabWidget.h index 7c83a721..b0cafae2 100644 --- a/src/ui/widgets/TextEditTabWidget.h +++ b/src/ui/widgets/TextEditTabWidget.h @@ -60,6 +60,12 @@ class TextEditTabWidget : public QTabWidget { void SlotOpenFile(const QString& path); /** + * @brief + * + */ + void SlotOpenDirectory(const QString& target_directory); + + /** * @details put a * in front of current tabs title, if current textedit is * modified */ @@ -108,6 +114,13 @@ class TextEditTabWidget : public QTabWidget { */ void slot_save_status_to_cache_for_recovery(); + /** + * @brief + * + * @param path + */ + void slot_file_page_path_changed(const QString& path); + private: int count_page_ = 0; int text_page_data_modified_count_ = 0; |