From 65d7ef184acf97e7881050df88ddace97bde4b93 Mon Sep 17 00:00:00 2001 From: George Florea Bănuș Date: Wed, 8 May 2024 08:11:56 +0000 Subject: view: Add setting to trigger user set action with double click Default action is select-all. --- src/settings/viewmodes/generalviewsettingspage.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/settings/viewmodes/generalviewsettingspage.h') 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 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 -- cgit v1.3