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