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 <settings/settingspagebase.h>
25 #include "dolphin_generalsettings.h"
32 * @brief Tab page for the 'Behavior' settings of the Dolphin settings dialog.
34 class BehaviorSettingsPage
: public SettingsPageBase
39 BehaviorSettingsPage(const QUrl
&url
, QWidget
* parent
);
40 ~BehaviorSettingsPage() override
;
42 /** @see SettingsPageBase::applySettings() */
43 void applySettings() override
;
45 /** @see SettingsPageBase::restoreDefaults() */
46 void restoreDefaults() override
;
50 void setSortingChoiceValue(GeneralSettings
* settings
);
51 void loadSortingChoiceSettings();
56 QRadioButton
* m_localViewProps
;
57 QRadioButton
* m_globalViewProps
;
59 QCheckBox
* m_showToolTips
;
60 QLabel
* m_configureToolTips
;
61 QCheckBox
* m_showSelectionToggle
;
63 QRadioButton
* m_naturalSorting
;
64 QRadioButton
* m_caseSensitiveSorting
;
65 QRadioButton
* m_caseInsensitiveSorting
;
67 QCheckBox
* m_renameInline
;
68 QCheckBox
* m_useTabForSplitViewSwitch
;