File indexing completed on 2024-04-28 04:21:20
0001 /* SPDX-FileCopyrightText: 2003-2010 Jesper K. Pedersen <blackie@kde.org> 0002 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 #ifndef VIEWERPAGE_H 0006 #define VIEWERPAGE_H 0007 #include <QWidget> 0008 #include <kpabase/SettingsData.h> 0009 0010 class KComboBox; 0011 class QSpinBox; 0012 class QComboBox; 0013 class QPushButton; 0014 0015 namespace Settings 0016 { 0017 class SettingsData; 0018 class ViewerSizeConfig; 0019 0020 class ViewerPage : public QWidget 0021 { 0022 public: 0023 explicit ViewerPage(QWidget *parent); 0024 void loadSettings(Settings::SettingsData *); 0025 void saveSettings(Settings::SettingsData *); 0026 0027 private: 0028 Settings::ViewerSizeConfig *m_slideShowSetup; 0029 Settings::ViewerSizeConfig *m_viewImageSetup; 0030 QComboBox *m_smoothScale; 0031 QSpinBox *m_slideShowInterval; 0032 QSpinBox *m_cacheSize; 0033 KComboBox *m_viewerStandardSize; 0034 QPushButton *m_videoBackendButton; 0035 Settings::VideoBackend m_videoBackend = Settings::VideoBackend::NotConfigured; 0036 }; 0037 0038 } 0039 0040 #endif /* VIEWERPAGE_H */ 0041 0042 // vi:expandtab:tabstop=4 shiftwidth=4: