blob: b2d0265f1f48b5b8db877eca8a52f44e530193c5 (
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
|
/*
* SPDX-FileCopyrightText: 2024 Benedikt Thiemer <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PANELSETTINGSPAGE_H
#define PANELSETTINGSPAGE_H
#include "config-dolphin.h"
#include "settings/settingspagebase.h"
class QCheckBox;
class QRadioButton;
/**
* @brief Page for the information panel.
*/
class PanelSettingsPage : public SettingsPageBase
{
Q_OBJECT
public:
explicit PanelSettingsPage(QWidget *parent = nullptr);
~PanelSettingsPage() override;
/** @see SettingsPageBase::applySettings() */
void applySettings() override;
/** @see SettingsPageBase::restoreDefaults() */
void restoreDefaults() override;
private:
void loadSettings();
void showPreviewToggled();
private:
QCheckBox *m_showPreview;
QCheckBox *m_autoPlayMedia;
QCheckBox *m_showHovered;
QRadioButton *m_dateFormatLong;
QRadioButton *m_dateFormatShort;
};
#endif
|