Changeset View
Changeset View
Standalone View
Standalone View
src/settings/navigation/navigationsettingspage.h
Show All 16 Lines | |||||
17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * | ||
18 | ***************************************************************************/ | 18 | ***************************************************************************/ | ||
19 | #ifndef NAVIGATIONSETTINGSPAGE_H | 19 | #ifndef NAVIGATIONSETTINGSPAGE_H | ||
20 | #define NAVIGATIONSETTINGSPAGE_H | 20 | #define NAVIGATIONSETTINGSPAGE_H | ||
21 | 21 | | |||
22 | #include "settings/settingspagebase.h" | 22 | #include "settings/settingspagebase.h" | ||
23 | 23 | | |||
24 | class QCheckBox; | 24 | class QCheckBox; | ||
25 | class QComboBox; | ||||
26 | class QLabel; | ||||
27 | class QLineEdit; | ||||
25 | 28 | | |||
26 | /** | 29 | /** | ||
27 | * @brief Page for the 'Navigation' settings of the Dolphin settings dialog. | 30 | * @brief Page for the 'Navigation' settings of the Dolphin settings dialog. | ||
28 | */ | 31 | */ | ||
29 | class NavigationSettingsPage : public SettingsPageBase | 32 | class NavigationSettingsPage : public SettingsPageBase | ||
30 | { | 33 | { | ||
31 | Q_OBJECT | 34 | Q_OBJECT | ||
32 | 35 | | |||
33 | public: | 36 | public: | ||
34 | explicit NavigationSettingsPage(QWidget* parent); | 37 | explicit NavigationSettingsPage(QWidget* parent); | ||
35 | ~NavigationSettingsPage() override; | 38 | ~NavigationSettingsPage() override; | ||
36 | 39 | | |||
37 | /** @see SettingsPageBase::applySettings() */ | 40 | /** @see SettingsPageBase::applySettings() */ | ||
38 | void applySettings() override; | 41 | void applySettings() override; | ||
39 | 42 | | |||
40 | /** @see SettingsPageBase::restoreDefaults() */ | 43 | /** @see SettingsPageBase::restoreDefaults() */ | ||
41 | void restoreDefaults() override; | 44 | void restoreDefaults() override; | ||
42 | 45 | | |||
43 | private: | 46 | private: | ||
44 | void loadSettings(); | 47 | void loadSettings(); | ||
48 | void setCustomActionVisibility(); | ||||
45 | 49 | | |||
46 | private: | 50 | private: | ||
47 | QCheckBox* m_openArchivesAsFolder; | 51 | QCheckBox* m_openArchivesAsFolder; | ||
48 | QCheckBox* m_autoExpandFolders; | 52 | QCheckBox* m_autoExpandFolders; | ||
53 | QComboBox *m_doubleClickViewComboBox; | ||||
54 | QLineEdit *m_doubleClickViewCustomAction; | ||||
55 | QLabel *m_doubleClickViewCustomActionInfo; | ||||
49 | }; | 56 | }; | ||
50 | 57 | | |||
51 | #endif | 58 | #endif |