/* * SPDX-FileCopyrightText: 2009 Peter Penz * * 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 class QCheckBox; class QLineEdit; class QLabel; class QRadioButton; /** * @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; QCheckBox *m_showStatusBar; QCheckBox *m_showZoomSlider; QCheckBox *m_showSpaceInfo; }; #endif