Files
pineapple-pictures/app/settingsdialog.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
823 B
C
Raw Normal View History

// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
//
// SPDX-License-Identifier: MIT
2025-07-23 21:20:34 +08:00
2020-07-29 00:57:43 +08:00
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H
2025-07-23 21:20:34 +08:00
2020-07-29 00:57:43 +08:00
#include <QObject>
#include <QDialog>
2025-07-23 21:20:34 +08:00
2020-07-29 00:57:43 +08:00
class QCheckBox;
class QComboBox;
class SettingsDialog : public QDialog
{
Q_OBJECT
public:
explicit SettingsDialog(QWidget *parent = nullptr);
~SettingsDialog();
2025-07-23 21:20:34 +08:00
2020-07-29 00:57:43 +08:00
signals:
2025-07-23 21:20:34 +08:00
2020-07-29 00:57:43 +08:00
public slots:
2025-07-23 21:20:34 +08:00
2020-07-29 00:57:43 +08:00
private:
QCheckBox * m_stayOnTop = nullptr;
QCheckBox * m_useBuiltInCloseAnimation = nullptr;
QCheckBox * m_useLightCheckerboard = nullptr;
QCheckBox * m_loopGallery = nullptr;
2020-07-29 00:57:43 +08:00
QComboBox * m_doubleClickBehavior = nullptr;
QComboBox * m_mouseWheelBehavior = nullptr;
QComboBox * m_initWindowSizeBehavior = nullptr;
QComboBox * m_hiDpiRoundingPolicyBehavior = nullptr;
2020-07-29 00:57:43 +08:00
};
2025-07-23 21:20:34 +08:00
2020-07-29 00:57:43 +08:00
#endif // SETTINGSDIALOG_H