2019-04-06 17:56:52 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QSlider>
|
|
|
|
#include <QInputEvent>
|
|
|
|
#include <QtCore/QObject>
|
|
|
|
|
|
|
|
class SliderIgnoreScroll : public QSlider {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
SliderIgnoreScroll(QWidget *parent = nullptr);
|
2019-06-22 22:13:45 -07:00
|
|
|
SliderIgnoreScroll(Qt::Orientation orientation,
|
|
|
|
QWidget *parent = nullptr);
|
2019-04-06 17:56:52 -07:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void wheelEvent(QWheelEvent *event) override;
|
|
|
|
};
|