diff options
| author | George Florea Bănuș <[email protected]> | 2024-05-08 08:11:56 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2024-05-08 08:11:56 +0000 |
| commit | 65d7ef184acf97e7881050df88ddace97bde4b93 (patch) | |
| tree | 867a15204eca1e88420e7e707389936ac0bed3c7 /src/settings/viewmodes/generalviewsettingspage.h | |
| parent | d42fec2315f4b32f7dbc74a00155f7e6abff7738 (diff) | |
view: Add setting to trigger user set action with double click
Default action is select-all.
Diffstat (limited to 'src/settings/viewmodes/generalviewsettingspage.h')
| -rw-r--r-- | src/settings/viewmodes/generalviewsettingspage.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/settings/viewmodes/generalviewsettingspage.h b/src/settings/viewmodes/generalviewsettingspage.h index 234fb03cb..1d4caab65 100644 --- a/src/settings/viewmodes/generalviewsettingspage.h +++ b/src/settings/viewmodes/generalviewsettingspage.h @@ -13,7 +13,9 @@ #include <QUrl> class QCheckBox; +class QComboBox; class QLabel; +class QLineEdit; class QRadioButton; /** @@ -35,6 +37,7 @@ public: private: void loadSettings(); + void updateCustomActionVisibility(int doubleClickViewComboBoxCurrentIndex); private: QUrl m_url; @@ -48,6 +51,9 @@ private: QCheckBox *m_openArchivesAsFolder = nullptr; QCheckBox *m_autoExpandFolders = nullptr; QCheckBox *m_hideXtrashFiles = nullptr; + QComboBox *m_doubleClickViewComboBox = nullptr; + QLineEdit *m_doubleClickViewCustomAction = nullptr; + QLabel *m_doubleClickViewCustomActionInfo = nullptr; }; #endif |
