Skip to content

Studio/src/Interface/WheelEventForwarder.h

Namespaces

Name
shapeworks

Classes

Name
class shapeworks::WheelEventForwarder

Source code

#pragma once

#include <QtCore/QObject>

class QScrollBar;

namespace shapeworks {

class WheelEventForwarder : public QObject {
Q_OBJECT
public:
  explicit WheelEventForwarder(QScrollBar* target);
  ~WheelEventForwarder();

  bool eventFilter(QObject* obj, QEvent* event);

private:
  QScrollBar* target_;
};

}

Updated on 2022-07-23 at 17:50:05 -0600