Radium Engine  1.5.20
Loading...
Searching...
No Matches
TimelineSlider.hpp
1#pragma once
2#include <QLabel>
3
4namespace Ra::Gui {
5
12class TimelineSlider : public QLabel
13{
14 Q_OBJECT
15 public:
16 explicit TimelineSlider( QWidget* parent = nullptr );
17
18 signals:
23 void slide( int deltaX );
24
25 protected:
26 void mousePressEvent( QMouseEvent* event ) override;
27 void mouseReleaseEvent( QMouseEvent* event ) override;
28 void mouseMoveEvent( QMouseEvent* event ) override;
29
30 private:
32 bool m_clicked { false };
33};
34
35} // namespace Ra::Gui
void slide(int deltaX)