2 * SPDX-FileCopyrightText: 2006 Peter Penz <peter.penz19@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0-or-later
7 #ifndef PREVIEWSSETTINGSPAGE_H
8 #define PREVIEWSSETTINGSPAGE_H
10 #include "settings/settingspagebase.h"
17 * @brief Allows the configuration of file previews.
19 class PreviewsSettingsPage
: public SettingsPageBase
24 explicit PreviewsSettingsPage(QWidget
* parent
);
25 ~PreviewsSettingsPage() override
;
28 * Applies the general settings for the view modes
29 * The settings are persisted automatically when
32 void applySettings() override
;
34 /** Restores the settings to default values. */
35 void restoreDefaults() override
;
38 void showEvent(QShowEvent
* event
) override
;
41 void configureService(const QModelIndex
& index
);
44 void loadPreviewPlugins();
49 QListView
*m_listView
;
50 QStringList m_enabledPreviewPlugins
;
51 QSpinBox
* m_localFileSizeBox
;
52 QSpinBox
* m_remoteFileSizeBox
;