yolobs-studio/UI/media-slider.hpp

18 lines
301 B
C++
Raw Normal View History

2020-10-01 20:15:25 +00:00
#pragma once
#include <QMouseEvent>
#include "slider-ignorewheel.hpp"
class MediaSlider : public SliderIgnoreScroll {
Q_OBJECT
public:
MediaSlider(QWidget *parent = nullptr);
signals:
void mediaSliderHovered(int value);
protected:
virtual void mouseMoveEvent(QMouseEvent *event) override;
};