#pragma once #include #include class SeekableSlider : public QSlider { Q_OBJECT public: explicit SeekableSlider(QWidget *parent = nullptr); signals: public slots: protected: void mousePressEvent(QMouseEvent *event) override; void mouseMoveEvent(QMouseEvent *event) override; };