mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-22 01:57:31 -05:00
17 lines
319 B
C++
17 lines
319 B
C++
#pragma once
|
|
#include <QWidget>
|
|
|
|
namespace advss {
|
|
|
|
class MouseWheelWidgetAdjustmentGuard : public QObject {
|
|
public:
|
|
explicit MouseWheelWidgetAdjustmentGuard(QObject *parent);
|
|
|
|
protected:
|
|
bool eventFilter(QObject *o, QEvent *e) override;
|
|
};
|
|
|
|
void PreventMouseWheelAdjustWithoutFocus(QWidget *);
|
|
|
|
} // namespace advss
|