┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/viewmodes/viewsettingspage.h
blob: eae2a64278a8601e7d94ea681d84d24de3176c28 (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
/*
 * SPDX-FileCopyrightText: 2006 Peter Penz <[email protected]>
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */
#ifndef VIEWSETTINGSPAGE_H
#define VIEWSETTINGSPAGE_H

#include "settings/settingspagebase.h"

class ViewSettingsTab;
class QWidget;
class ContentDisplayTab;
class QTabWidget;

/**
 * @brief Page for the 'View' settings of the Dolphin settings dialog.
 *
 * The views settings allow to set the properties for the icons mode,
 * the details mode and the column mode.
 */
class ViewSettingsPage : public SettingsPageBase
{
    Q_OBJECT

public:
    explicit ViewSettingsPage(const QUrl &url, QWidget *parent);
    ~ViewSettingsPage() override;

    /** @see SettingsPageBase::applySettings() */
    void applySettings() override;

    /** @see SettingsPageBase::restoreDefaults() */
    void restoreDefaults() override;

private:
    ContentDisplayTab *contentDisplayTab;
    QTabWidget *tabWidget;
    QList<SettingsPageBase *> m_tabs;
};

#endif