2 * SPDX-FileCopyrightText: 2006 Peter Penz <peter.penz@gmx.at>
4 * SPDX-License-Identifier: GPL-2.0-or-later
6 #ifndef GENERALVIEWSETTINGSPAGE_H
7 #define GENERALVIEWSETTINGSPAGE_H
9 #include "config-dolphin.h"
10 #include "settings/settingspagebase.h"
11 #include <qradiobutton.h>
22 * @brief Tab page for the 'View tab' settings of the Dolphin settings dialog.
24 class GeneralViewSettingsPage
: public SettingsPageBase
29 explicit GeneralViewSettingsPage(const QUrl
&url
, QWidget
*parent
);
30 ~GeneralViewSettingsPage() override
;
32 /** @see SettingsPageBase::applySettings() */
33 void applySettings() override
;
35 /** @see SettingsPageBase::restoreDefaults() */
36 void restoreDefaults() override
;
40 void updateCustomActionVisibility(int doubleClickViewComboBoxCurrentIndex
);
44 QRadioButton
*m_localViewProps
= nullptr;
45 QRadioButton
*m_globalViewProps
= nullptr;
47 QCheckBox
*m_showToolTips
= nullptr;
49 QCheckBox
*m_showSelectionToggle
= nullptr;
50 QCheckBox
*m_renameInline
= nullptr;
51 QCheckBox
*m_openArchivesAsFolder
= nullptr;
52 QCheckBox
*m_autoExpandFolders
= nullptr;
53 QCheckBox
*m_hideXtrashFiles
= nullptr;
54 QComboBox
*m_doubleClickViewComboBox
= nullptr;
55 QLineEdit
*m_doubleClickViewCustomAction
= nullptr;
56 QLabel
*m_doubleClickViewCustomActionInfo
= nullptr;