diff options
author | saturneric <[email protected]> | 2025-02-03 15:03:32 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-02-03 15:04:09 +0000 |
commit | dd8bca46a64dc01ed5a914632b1176cfb4a4ef86 (patch) | |
tree | 9096b7c68533e77b824c9929d775ce60493eb4f7 /src/ui/widgets/FilePage.h | |
parent | refactor: make some function names shorter (diff) | |
download | GpgFrontend-dd8bca46a64dc01ed5a914632b1176cfb4a4ef86.tar.gz GpgFrontend-dd8bca46a64dc01ed5a914632b1176cfb4a4ef86.zip |
feat: allow switch ascii mode at file page options
Diffstat (limited to 'src/ui/widgets/FilePage.h')
-rw-r--r-- | src/ui/widgets/FilePage.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui/widgets/FilePage.h b/src/ui/widgets/FilePage.h index b302740b..7c90b62f 100644 --- a/src/ui/widgets/FilePage.h +++ b/src/ui/widgets/FilePage.h @@ -65,6 +65,14 @@ class FilePage : public QWidget { */ [[nodiscard]] auto IsBatchMode() const -> bool; + /** + * @brief + * + * @return true + * @return false + */ + [[nodiscard]] auto IsASCIIMode() const -> bool; + public slots: /** * @brief @@ -119,6 +127,7 @@ class FilePage : public QWidget { QMenu* popup_menu_{}; ///< QMenu* option_popup_menu_{}; ///< FileTreeView* file_tree_view_; + bool ascii_mode_; private slots: |