#include <Gui/Timeline/TimelineSlider.hpp>
A TimelineSlider is a widget which transmits mouse move events along the x-axis. It is used to display blocks movable along the x-axis, e.g. timezone's start and end time points.
Definition at line 12 of file TimelineSlider.hpp.
◆ TimelineSlider()
Ra::Gui::TimelineSlider::TimelineSlider |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ mouseMoveEvent()
void Ra::Gui::TimelineSlider::mouseMoveEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
void Ra::Gui::TimelineSlider::mousePressEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
void Ra::Gui::TimelineSlider::mouseReleaseEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ slide
void Ra::Gui::TimelineSlider::slide |
( |
int | deltaX | ) |
|
|
signal |
Emitted when the user clicks on the widget and drags it.
- Parameters
-
deltaX | The x position of the mouse cursor relative to the widget. |
The documentation for this class was generated from the following files:
- /home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/Gui/Timeline/TimelineSlider.hpp
- /home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/Gui/Timeline/TimelineSlider.cpp