2 * SPDX-FileCopyrightText: 2008 Peter Penz <peter.penz19@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0-or-later
6 #ifndef STARTUPSETTINGSPAGE_H
7 #define STARTUPSETTINGSPAGE_H
9 #include "settings/settingspagebase.h"
18 * @brief Page for the 'Startup' settings of the Dolphin settings dialog.
20 * The startup settings allow to set the home URL and to configure the
21 * state of the view mode, split mode and the filter bar when starting Dolphin.
23 class StartupSettingsPage
: public SettingsPageBase
28 StartupSettingsPage(const QUrl
& url
, QWidget
* parent
);
29 ~StartupSettingsPage() override
;
31 /** @see SettingsPageBase::applySettings() */
32 void applySettings() override
;
34 /** @see SettingsPageBase::restoreDefaults() */
35 void restoreDefaults() override
;
38 void slotSettingsChanged();
39 void updateInitialViewOptions();
41 void useCurrentLocation();
42 void useDefaultLocation();
46 void showSetDefaultDirectoryError();
51 QWidget
* m_homeUrlBoxLayoutContainer
;
52 QWidget
* m_buttonBoxLayoutContainer
;
53 QRadioButton
* m_rememberOpenedTabsRadioButton
;
54 QRadioButton
* m_homeUrlRadioButton
;
56 QCheckBox
* m_splitView
;
57 QCheckBox
* m_editableUrl
;
58 QCheckBox
* m_showFullPath
;
59 QCheckBox
* m_filterBar
;
60 QCheckBox
* m_showFullPathInTitlebar
;
61 QCheckBox
* m_openExternallyCalledFolderInNewTab
;