]> cloud.milkyroute.net Git - dolphin.git/blob - src/settings/interface/statusandlocationbarssettingspage.h
Merge branch 'master' into kf6
[dolphin.git] / src / settings / interface / statusandlocationbarssettingspage.h
1 /*
2 * SPDX-FileCopyrightText: 2009 Peter Penz <peter.penz19@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 #ifndef STATUSANDLOCATIONBARSSETTINGSPAGE_H
7 #define STATUSANDLOCATIONBARSSETTINGSPAGE_H
8
9 #include "dolphin_generalsettings.h"
10 #include "folderstabssettingspage.h"
11 #include "settings/settingspagebase.h"
12
13 #include <QUrl>
14
15 class QCheckBox;
16 class QLineEdit;
17 class QLabel;
18 class QRadioButton;
19
20 /**
21 * @brief Tab page for the 'Behavior' settings of the Dolphin settings dialog.
22 */
23 class StatusAndLocationBarsSettingsPage : public SettingsPageBase
24 {
25 Q_OBJECT
26
27 public:
28 StatusAndLocationBarsSettingsPage(QWidget *parent, FoldersTabsSettingsPage *foldersPage);
29 ~StatusAndLocationBarsSettingsPage() override;
30
31 /** @see SettingsPageBase::applySettings() */
32 void applySettings() override;
33
34 /** @see SettingsPageBase::restoreDefaults() */
35 void restoreDefaults() override;
36
37 private Q_SLOTS:
38 void locationSlotSettingsChanged();
39 void locationUpdateInitialViewOptions();
40
41 private:
42 void loadSettings();
43 void onShowStatusBarToggled();
44
45 private:
46 FoldersTabsSettingsPage *foldersTabsPage;
47 QCheckBox *m_editableUrl;
48 QCheckBox *m_showFullPath;
49
50 QCheckBox *m_showStatusBar;
51 QCheckBox *m_showZoomSlider;
52 QCheckBox *m_showSpaceInfo;
53 };
54
55 #endif