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 0006 #ifndef VIEWERSIZECONFIG_H 0007 #define VIEWERSIZECONFIG_H 0008 0009 #include <QGroupBox> 0010 class QCheckBox; 0011 class QSpinBox; 0012 0013 namespace Settings 0014 { 0015 0016 class ViewerSizeConfig : public QGroupBox 0017 { 0018 Q_OBJECT 0019 0020 public: 0021 ViewerSizeConfig(const QString &title, QWidget *parent); 0022 void setSize(const QSize &size); 0023 QSize size(); 0024 void setLaunchFullScreen(bool b); 0025 bool launchFullScreen() const; 0026 0027 private: 0028 QCheckBox *m_fullScreen; 0029 QSpinBox *m_width; 0030 QSpinBox *m_height; 0031 }; 0032 } 0033 0034 #endif /* VIEWERSIZECONFIG_H */ 0035 0036 // vi:expandtab:tabstop=4 shiftwidth=4: