2 * SPDX-FileCopyrightText: 2008 Peter Penz <peter.penz19@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0-or-later
6 #ifndef FOLDERSTABSSETTINGSPAGE_H
7 #define FOLDERSTABSSETTINGSPAGE_H
9 #include "dolphin_generalsettings.h"
10 #include "settings/settingspagebase.h"
21 * @brief Tab page for the 'Behavior' settings of the Dolphin settings dialog.
23 class FoldersTabsSettingsPage
: public SettingsPageBase
28 FoldersTabsSettingsPage(QWidget
*parent
);
29 ~FoldersTabsSettingsPage() override
;
31 /** @see SettingsPageBase::applySettings() */
32 void applySettings() override
;
34 /** @see SettingsPageBase::restoreDefaults() */
35 void restoreDefaults() override
;
38 QWidget
*m_homeUrlBoxLayoutContainer
;
39 QWidget
*m_buttonBoxLayoutContainer
;
40 QRadioButton
*m_homeUrlRadioButton
;
43 void slotSettingsChanged();
44 void updateInitialViewOptions();
46 void useCurrentLocation();
47 void useDefaultLocation();
51 void showSetDefaultDirectoryError();
56 QRadioButton
*m_rememberOpenedTabsRadioButton
;
58 QRadioButton
*m_openNewTabAfterLastTab
;
59 QRadioButton
*m_openNewTabAfterCurrentTab
;
61 QCheckBox
*m_splitView
;
62 QCheckBox
*m_filterBar
;
63 QCheckBox
*m_showFullPathInTitlebar
;
64 QCheckBox
*m_openExternallyCalledFolderInNewTab
;
65 QCheckBox
*m_useTabForSplitViewSwitch
;
66 QCheckBox
*m_closeActiveSplitView
;