Radium Engine
1.5.20
Loading...
Searching...
No Matches
TimelineSlider.hpp
1
#pragma once
2
#include <QLabel>
3
4
namespace
Ra::Gui {
5
12
class
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
Ra::Gui::TimelineSlider
Definition
TimelineSlider.hpp:13
Ra::Gui::TimelineSlider::slide
void slide(int deltaX)
src
Gui
Timeline
TimelineSlider.hpp
Generated by
1.12.0