diff options
| author | Victor Blanchard <[email protected]> | 2025-05-28 12:33:52 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-05-28 10:33:52 +0000 |
| commit | edda24eb851c2647f7dde01885008ef60fcadd9a (patch) | |
| tree | b49978ac3135b7de5346a93f43ff013898f3c365 /src/settings/viewmodes/generalviewsettingspage.h | |
| parent | 0959642be297bf0749467c204e511f5887b17ee1 (diff) | |
dolphinview: Add a dynamic view option
Added a 'dynamic view' option, which allows to switch from a 'compact' or 'details' view to an 'icons' view if most of the files in the directory are images or videos. It reverts to the previous view mode when we switch to a directory which doesn't meet that criteria.
The view mode is only changed once so users don't have to undo that for specific folders when they don't want icon view.
A setting is added in the "Display style" section of the general view setting page.
BUG: 491139
Diffstat (limited to 'src/settings/viewmodes/generalviewsettingspage.h')
| -rw-r--r-- | src/settings/viewmodes/generalviewsettingspage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings/viewmodes/generalviewsettingspage.h b/src/settings/viewmodes/generalviewsettingspage.h index 1d4caab65..77ab004a6 100644 --- a/src/settings/viewmodes/generalviewsettingspage.h +++ b/src/settings/viewmodes/generalviewsettingspage.h @@ -51,6 +51,7 @@ private: QCheckBox *m_openArchivesAsFolder = nullptr; QCheckBox *m_autoExpandFolders = nullptr; QCheckBox *m_hideXtrashFiles = nullptr; + QCheckBox *m_dynamicView = nullptr; QComboBox *m_doubleClickViewComboBox = nullptr; QLineEdit *m_doubleClickViewCustomAction = nullptr; QLabel *m_doubleClickViewCustomActionInfo = nullptr; |
