1449844fdd
fix the minor memory leak issue, also bring some possibility to implement custom keybinding. And oops I also did another feature in this commit.. Now we are able to set mouse wheel behavior in config dialog.
27 lines
492 B
C++
27 lines
492 B
C++
#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;
|
|
QComboBox * m_doubleClickBehavior = nullptr;
|
|
QComboBox * m_mouseWheelBehavior = nullptr;
|
|
};
|
|
|
|
#endif // SETTINGSDIALOG_H
|