mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
16 lines
268 B
C++
16 lines
268 B
C++
|
#pragma once
|
||
|
|
||
|
#include <QSpinBox>
|
||
|
#include <QInputEvent>
|
||
|
#include <QtCore/QObject>
|
||
|
|
||
|
class SpinBoxIgnoreScroll : public QSpinBox {
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
SpinBoxIgnoreScroll(QWidget *parent = nullptr);
|
||
|
|
||
|
protected:
|
||
|
virtual void wheelEvent(QWheelEvent *event) override;
|
||
|
};
|