1 /***************************************************************************
2 * Copyright (C) 2006 by Peter Penz *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
19 ***************************************************************************/
20 #ifndef BEHAVIORSETTINGSPAGE_H
21 #define BEHAVIORSETTINGSPAGE_H
23 #include "dolphin_generalsettings.h"
24 #include "settings/settingspagebase.h"
33 * @brief Tab page for the 'Behavior' settings of the Dolphin settings dialog.
35 class BehaviorSettingsPage
: public SettingsPageBase
40 BehaviorSettingsPage(const QUrl
&url
, QWidget
* parent
);
41 ~BehaviorSettingsPage() override
;
43 /** @see SettingsPageBase::applySettings() */
44 void applySettings() override
;
46 /** @see SettingsPageBase::restoreDefaults() */
47 void restoreDefaults() override
;
51 void setSortingChoiceValue(GeneralSettings
* settings
);
52 void loadSortingChoiceSettings();
57 QRadioButton
* m_localViewProps
;
58 QRadioButton
* m_globalViewProps
;
60 QCheckBox
* m_showToolTips
;
61 QLabel
* m_configureToolTips
;
62 QCheckBox
* m_showSelectionToggle
;
64 QRadioButton
* m_naturalSorting
;
65 QRadioButton
* m_caseSensitiveSorting
;
66 QRadioButton
* m_caseInsensitiveSorting
;
68 QCheckBox
* m_renameInline
;
69 QCheckBox
* m_useTabForSplitViewSwitch
;
70 QCheckBox
* m_closeActiveSplitView
;