2022-06-19 16:17:38 +08:00
|
|
|
// SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
2020-07-29 00:57:43 +08:00
|
|
|
#ifndef SETTINGSDIALOG_H
|
|
|
|
#define SETTINGSDIALOG_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
class QCheckBox;
|
|
|
|
class QComboBox;
|
|
|
|
class SettingsDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit SettingsDialog(QWidget *parent = nullptr);
|
|
|
|
~SettingsDialog();
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
private:
|
|
|
|
QCheckBox * m_stayOnTop = nullptr;
|
2024-10-10 22:58:11 +08:00
|
|
|
QCheckBox * m_useLightCheckerboard = nullptr;
|
2020-07-29 00:57:43 +08:00
|
|
|
QComboBox * m_doubleClickBehavior = nullptr;
|
2021-01-24 00:07:58 +08:00
|
|
|
QComboBox * m_mouseWheelBehavior = nullptr;
|
2022-03-11 16:21:56 +08:00
|
|
|
QComboBox * m_initWindowSizeBehavior = nullptr;
|
2023-07-10 01:07:01 +08:00
|
|
|
QComboBox * m_hiDpiRoundingPolicyBehavior = nullptr;
|
2020-07-29 00:57:43 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SETTINGSDIALOG_H
|